/* ============================================
   MODERN UI - React-Inspired Design System
   Toronto Movers Website Modernization
   ============================================ */

/* ===== CSS CUSTOM PROPERTIES (VARIABLES) ===== */
:root {
  /* Primary Colors */
  --primary: #183777;
  --primary-light: #2c5ba8;
  --primary-dark: #0f2654;
  --primary-gradient: linear-gradient(135deg, #183777, #2c5ba8);
  --primary-gradient-hover: linear-gradient(135deg, #2c5ba8, #183777);

  /* Accent Colors */
  --accent: #ff6b35;
  --accent-light: #ff8c5a;
  --accent-dark: #e55a25;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --black: #000000;

  /* Semantic Colors */
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --info: #17a2b8;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-primary: 0 4px 14px rgba(24, 55, 119, 0.25);
  --shadow-primary-lg: 0 8px 24px rgba(24, 55, 119, 0.35);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.5vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  --text-5xl: clamp(3rem, 2.2rem + 3vw, 4.5rem);

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-slower: 500ms ease;

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* Header Height */
  --header-height: 90px;
}

/* ===== GLOBAL RESETS & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--gray-50);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-4);
  color: var(--gray-600);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
}

/* ===== ALWAYS STICKY HEADER ===== */
.qrt-top-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: var(--header-height) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: var(--shadow-md) !important;
  z-index: var(--z-fixed) !important;
  transition: all var(--transition-base) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.qrt-top-bar.scrolled {
  box-shadow: var(--shadow-lg) !important;
}

/* Modern Navigation Menu */
.qrt-menu nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.qrt-menu nav ul li a {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.qrt-menu nav ul li a:hover {
  color: var(--primary);
  background: rgba(24, 55, 119, 0.05);
}

.qrt-menu nav ul li.current-menu-item a {
  color: var(--primary);
  background: rgba(24, 55, 119, 0.08);
}

/* Dropdown Menu Styling */
.qrt-menu nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  z-index: var(--z-dropdown);
}

.qrt-menu nav ul li:hover ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.qrt-menu nav ul li ul li a {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.qrt-menu nav ul li ul li a:hover {
  background: var(--gray-100);
}

/* Modern Hamburger Menu Button - Hidden on desktop */
.qrt-menu-btn {
  width: 48px !important;
  height: 48px !important;
  border-radius: var(--radius-md) !important;
  background: var(--primary-gradient) !important;
  border: none !important;
  cursor: pointer !important;
  display: none !important; /* Hidden on desktop */
  align-items: center !important;
  justify-content: center !important;
  transition: all var(--transition-base) !important;
  box-shadow: var(--shadow-primary) !important;
}

/* Show hamburger menu on mobile */
@media (max-width: 991px) {
  .qrt-menu-btn {
    display: flex !important;
  }
}

.qrt-menu-btn:hover {
  transform: scale(1.05) !important;
  box-shadow: var(--shadow-primary-lg) !important;
}

.qrt-menu-btn span {
  display: block !important;
  width: 20px !important;
  height: 2px !important;
  background: var(--white) !important;
  position: relative !important;
  transition: all var(--transition-base) !important;
}

.qrt-menu-btn span::before,
.qrt-menu-btn span::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  width: 20px !important;
  height: 2px !important;
  background: var(--white) !important;
  transition: all var(--transition-base) !important;
}

.qrt-menu-btn span::before {
  top: -6px !important;
}

.qrt-menu-btn span::after {
  top: 6px !important;
}

.qrt-menu-btn.qrt-active span {
  background: transparent !important;
}

.qrt-menu-btn.qrt-active span::before {
  transform: rotate(45deg) translateY(0) !important;
  top: 0 !important;
}

.qrt-menu-btn.qrt-active span::after {
  transform: rotate(-45deg) translateY(0) !important;
  top: 0 !important;
}

/* Contact Info Bar */
.qrt-contact-info {
  background: var(--primary-gradient) !important;
  border-radius: 0 0 0 var(--radius-lg) !important;
  padding: var(--space-4) var(--space-6) !important;
  box-shadow: var(--shadow-primary) !important;
}

.qrt-contact-info a {
  color: var(--white) !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  gap: var(--space-2) !important;
  transition: all var(--transition-fast) !important;
  font-size: var(--text-sm) !important;
}

.qrt-contact-info a:hover {
  opacity: 0.9 !important;
  transform: translateX(2px) !important;
}

.qrt-contact-info i {
  width: 18px !important;
  text-align: center !important;
}

/* ===== MODERN BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(24, 55, 119, 0.2);
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
  color: var(--white);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-secondary {
  background: var(--gray-600);
  color: var(--white);
  border-color: transparent;
}

.btn-secondary:hover {
  background: var(--gray-700);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

.btn-block {
  width: 100%;
}

/* Button Loading State */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== FLOATING LABEL FORM INPUTS ===== */
.form-floating {
  position: relative;
  margin-bottom: var(--space-6);
}

.form-floating input,
.form-floating select,
.form-floating textarea {
  width: 100%;
  padding: var(--space-5) var(--space-4) var(--space-2);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-floating label {
  position: absolute;
  top: 50%;
  left: var(--space-4);
  transform: translateY(-50%);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--gray-500);
  pointer-events: none;
  transition: all var(--transition-fast);
  background: transparent;
  padding: 0 var(--space-1);
}

.form-floating textarea ~ label {
  top: var(--space-5);
  transform: translateY(0);
}

/* Floating label active state */
.form-floating input:focus,
.form-floating select:focus,
.form-floating textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24, 55, 119, 0.1);
}

.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label,
.form-floating select:focus ~ label,
.form-floating select:not([value=""]) ~ label,
.form-floating textarea:focus ~ label,
.form-floating textarea:not(:placeholder-shown) ~ label {
  top: 0;
  transform: translateY(-50%);
  font-size: var(--text-xs);
  color: var(--primary);
  background: var(--white);
  padding: 0 var(--space-2);
}

.form-floating input:hover,
.form-floating select:hover,
.form-floating textarea:hover {
  border-color: var(--gray-400);
}

/* Form validation states */
.form-floating.is-valid input {
  border-color: var(--success);
}

.form-floating.is-valid input ~ label {
  color: var(--success);
}

.form-floating.is-invalid input {
  border-color: var(--danger);
}

.form-floating.is-invalid input ~ label {
  color: var(--danger);
}

/* Traditional form inputs (fallback) */
.form-group label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24, 55, 119, 0.1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--gray-400);
}

/* ===== MODERN CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-body {
  padding: var(--space-6);
}

.card-header {
  padding: var(--space-4) var(--space-6);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.card-footer {
  padding: var(--space-4) var(--space-6);
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

/* Glass Card Effect */
.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Feature Card */
.feature-card {
  padding: var(--space-6);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.feature-card .icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 55, 119, 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  transition: all var(--transition-base);
}

.feature-card:hover .icon {
  background: var(--primary-gradient);
}

.feature-card .icon i {
  font-size: 28px;
  color: var(--primary);
  transition: all var(--transition-base);
}

.feature-card:hover .icon i {
  color: var(--white);
}

.feature-card h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.feature-card p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Service Card */
.service-card {
  position: relative;
  padding: var(--space-8);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-slow);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* ===== SECTION STYLES ===== */
.section {
  padding: var(--space-20) 0;
}

.section-sm {
  padding: var(--space-12) 0;
}

.section-lg {
  padding: var(--space-24) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(24, 55, 119, 0.1);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Gradient Background Sections */
.section-gradient {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

.section-primary {
  background: var(--primary-gradient);
  color: var(--white);
}

.section-primary .section-title,
.section-primary h2,
.section-primary h3 {
  color: var(--white);
}

.section-primary p {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== HERO SECTION ENHANCEMENTS ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(24, 55, 119, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Modern Quote Form Container */
.quote-form-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.quote-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.quote-form-header {
  text-align: center;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--gray-200);
}

.quote-form-header h2 {
  font-size: var(--text-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.quote-form-header h2 i {
  color: var(--primary);
}

.quote-form-header p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin: 0;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease-out;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Staggered Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
  position: fixed;
  top: calc(var(--header-height) + var(--space-4));
  right: var(--space-4);
  padding: var(--space-4) var(--space-6);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--primary);
  transform: translateX(120%);
  transition: transform var(--transition-base);
  z-index: var(--z-tooltip);
  max-width: 400px;
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  border-left-color: var(--success);
}

.toast-error {
  border-left-color: var(--danger);
}

.toast-warning {
  border-left-color: var(--warning);
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: rgba(24, 55, 119, 0.1);
  color: var(--primary);
}

.badge-success {
  background: rgba(40, 167, 69, 0.1);
  color: var(--success);
}

.badge-accent {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  padding: var(--space-8);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-content {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gray-200);
}

.testimonial-info h5 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.testimonial-info span {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  margin-top: var(--space-1);
}

.testimonial-rating i {
  color: var(--warning);
  font-size: 14px;
}

/* ===== STATS COUNTER ===== */
.stats-section {
  padding: var(--space-12) 0;
  background: var(--primary-gradient);
}

.stat-item {
  text-align: center;
  padding: var(--space-6);
}

.stat-number {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
  list-style: none;
  margin: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gray-600);
}

.breadcrumb-item a {
  color: var(--gray-600);
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  color: var(--gray-400);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-16) 0 var(--space-8);
}

.footer h5 {
  color: var(--white);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.footer a {
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--text-sm);
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--white);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: var(--space-16) 0;
  background: var(--primary-gradient);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.cta-section .btn {
  background: var(--white);
  color: var(--primary);
}

.cta-section .btn:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ===== BLOG CARDS ===== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: var(--space-6);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-bottom: var(--space-3);
}

.blog-card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.blog-card-title a {
  color: var(--gray-900);
  transition: color var(--transition-fast);
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-card-excerpt {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
}

.blog-card-link i {
  transition: transform var(--transition-fast);
}

.blog-card-link:hover i {
  transform: translateX(4px);
}

/* ===== PAGE HEADER / BANNER ===== */
.page-header {
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-header h1 {
  color: var(--white);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  position: relative;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.page-header .breadcrumb {
  justify-content: center;
  margin-top: var(--space-4);
  position: relative;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item a:hover {
  color: var(--white);
}

.page-header .breadcrumb-item.active {
  color: var(--white);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== CONTACT INFO CARDS ===== */
.contact-card {
  padding: var(--space-6);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-card .icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 55, 119, 0.1);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-4);
}

.contact-card .icon i {
  font-size: 24px;
  color: var(--primary);
}

.contact-card h5 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.contact-card p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-bottom: 0;
}

.contact-card a {
  color: var(--gray-700);
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--primary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1199px) {
  :root {
    --header-height: 80px;
  }
}

@media (max-width: 991px) {
  .section {
    padding: var(--space-16) 0;
  }

  .section-lg {
    padding: var(--space-20) 0;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section-lg {
    padding: var(--space-16) 0;
  }

  .section-header {
    margin-bottom: var(--space-8);
  }

  .quote-form-container {
    padding: var(--space-6);
    margin-top: var(--space-8);
  }

  .page-header {
    padding: calc(var(--header-height) + var(--space-8)) 0 var(--space-8);
  }

  /* Stack form rows on mobile */
  .form-row {
    flex-direction: column !important;
  }

  /* Full-width buttons on mobile */
  .btn-mobile-block {
    width: 100%;
    justify-content: center;
  }

  /* Mobile menu styles */
  .qrt-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    min-height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    background: var(--white);
    padding: var(--space-6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all var(--transition-base);
    z-index: 9999;
    overflow-y: auto;
  }

  .qrt-menu.qrt-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .qrt-menu nav {
    width: 100%;
  }

  .qrt-menu nav ul {
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
  }

  .qrt-menu nav ul li {
    width: 100%;
  }

  .qrt-menu nav ul li a {
    display: block;
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-lg);
    text-align: center;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    color: var(--gray-800);
    font-weight: 600;
  }

  .qrt-menu nav ul li a:hover {
    background: var(--primary);
    color: var(--white);
  }

  .qrt-menu nav ul li ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: var(--space-3) 0 0;
    margin-top: var(--space-2);
    background: transparent;
    width: 100%;
  }

  .qrt-menu nav ul li ul li a {
    background: var(--gray-100);
    font-size: var(--text-base);
    padding: var(--space-3) var(--space-4);
  }
}

@media (max-width: 575px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
  }

  .feature-card {
    padding: var(--space-5);
  }

  .testimonial-card {
    padding: var(--space-6);
  }

  .stat-number {
    font-size: var(--text-4xl);
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-muted { color: var(--gray-500) !important; }
.text-white { color: var(--white) !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-gradient { background: var(--primary-gradient) !important; }
.bg-light { background-color: var(--gray-50) !important; }
.bg-white { background-color: var(--white) !important; }

.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-extrabold { font-weight: 800 !important; }

.rounded { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }
.rounded-full { border-radius: var(--radius-full) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-8 { margin-top: var(--space-8) !important; }

.py-4 { padding-top: var(--space-4) !important; padding-bottom: var(--space-4) !important; }
.py-8 { padding-top: var(--space-8) !important; padding-bottom: var(--space-8) !important; }

.gap-2 { gap: var(--space-2) !important; }
.gap-4 { gap: var(--space-4) !important; }
.gap-6 { gap: var(--space-6) !important; }

.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

/* Hide on specific breakpoints */
@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}

/* ===== PRINT STYLES ===== */
@media print {
  .qrt-top-bar,
  .qrt-menu-btn,
  .btn,
  .no-print {
    display: none !important;
  }

  body {
    padding-top: 0;
  }
}

/* ===== ESSENTIAL LAYOUT CLASSES ===== */
/* Main App Wrapper */
.qrt-app {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Dynamic Content Container */
.qrt-dynamic-content {
  padding-top: var(--header-height);
  min-height: 100vh;
}

/* Content Area */
.qrt-content {
  position: relative;
  width: 100%;
}

/* Content Frame - Full Width */
.qrt-content-frame {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
}

/* Content Frame - Half Width */
.qrt-half-content-frame {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
}

/* Left Column - Content Side */
.qrt-left {
  flex: 1;
  width: 100%;
  padding: var(--space-8) var(--space-6);
  background: var(--gray-50);
}

@media (min-width: 992px) {
  .qrt-left {
    width: 60%;
    padding: var(--space-10) var(--space-12);
  }

  .qrt-half-content-frame .qrt-left {
    width: 55%;
  }
}

@media (min-width: 1200px) {
  .qrt-left {
    padding: var(--space-12) var(--space-16);
  }
}

/* Right Column - Sidebar/Visual Side */
.qrt-right {
  display: none;
}

@media (min-width: 992px) {
  .qrt-right {
    display: block;
    width: 40%;
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    background: var(--primary-gradient);
  }

  .qrt-half-content-frame .qrt-right {
    width: 45%;
  }

  /* Hide empty right column */
  .qrt-right:empty {
    display: none;
  }

  /* Full-width layout when right column is empty */
  .qrt-content-frame:has(.qrt-right:empty) .qrt-left,
  .qrt-content-frame-full .qrt-left {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* Full width content frame */
.qrt-content-frame-full {
  display: block;
  width: 100%;
}

.qrt-content-frame-full .qrt-left {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
}

@media (min-width: 992px) {
  .qrt-content-frame-full .qrt-left {
    padding: var(--space-12) var(--space-8);
  }
}

@media (min-width: 1200px) {
  .qrt-content-frame-full .qrt-left {
    padding: var(--space-12) var(--space-6);
  }
}

/* ===== QRT UTILITY CLASSES ===== */
.qrt-p-0-40 {
  padding: 0 0 40px 0;
}

.qrt-mb-40 {
  margin-bottom: 40px !important;
}

.qrt-mb-25 {
  margin-bottom: 25px !important;
}

.qrt-mb-10 {
  margin-bottom: 10px !important;
}

.qrt-white {
  color: var(--white) !important;
}

/* Divider */
.qrt-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
  margin: var(--space-8) 0;
}

.qrt-space-fix {
  margin-top: 0;
}

/* ===== PAGE COVER & BANNERS ===== */
.qrt-page-cover {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 300px;
  background: var(--gray-200);
}

.qrt-page-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.qrt-about-info {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  padding: var(--space-6);
  background: linear-gradient(135deg, rgba(24, 55, 119, 0.95), rgba(44, 91, 168, 0.9));
  border-radius: var(--radius-lg);
  max-width: 280px;
}

.qrt-cover-info {
  color: var(--white);
}

.qrt-table {
  list-style: none;
  padding: 0;
  margin: 0;
}

.qrt-table li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.qrt-table li:last-child {
  border-bottom: none;
}

.qrt-table h5 {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
}

.qrt-table span {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
}

/* ===== SCROLL HINT ===== */
.qrt-hint-frame {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
}

.qrt-scroll-hint {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.qrt-scroll-hint span {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  position: relative;
}

.qrt-scroll-hint span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: scrollHint 1.5s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(8px);
  }
}

/* ===== COUNTERS ===== */
.qrt-counter-frame {
  text-align: center;
  padding: var(--space-6);
}

.qrt-counter-box {
  margin-bottom: var(--space-2);
}

.qrt-counter {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.qrt-counter-frame h5 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-700);
  margin: 0;
}

/* ===== CALL TO ACTION ===== */
.qrt-call-to-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding: var(--space-10);
  background: var(--primary-gradient);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.qrt-call-to-action::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.qrt-call-to-action h4,
.qrt-call-to-action h3 {
  color: var(--white);
  margin: 0;
}

.qrt-call-to-action p {
  color: rgba(255, 255, 255, 0.9);
  margin: var(--space-2) 0 0;
}

/* ===== HALF BANNER (Right Side Visual) ===== */
.qrt-half-banner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qrt-image-frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.qrt-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qrt-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(24, 55, 119, 0.9), rgba(44, 91, 168, 0.85));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-10);
  text-align: center;
}

.qrt-banner-title {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 400px;
}

.qrt-banner-title h2 {
  color: var(--white);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.qrt-banner-title p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
}

.qrt-left-align {
  text-align: left;
}

.qrt-left-align .qrt-overlay {
  align-items: flex-start;
  text-align: left;
}

/* ===== ANIMATION CLASSES ===== */
.qrt-animated-show {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.qrt-animated-show.active {
  opacity: 1;
  transform: translateX(0);
}

/* ===== HEADER ADDITIONAL ELEMENTS ===== */
/* Custom Cursor (disabled by default, enable if wanted) */
.qrt-cursor,
.qrt-follower {
  display: none;
}

/* Logo Symbol */
.qrt-symbol {
  display: flex;
  align-items: center;
}

.qrt-symbol img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .qrt-symbol img {
    height: 60px;
  }
}

/* Header Buttons Container */
.qrt-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

/* Icon Buttons in Header */
.qrt-icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 55, 119, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.qrt-icon-btn:hover {
  background: var(--primary-gradient);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.qrt-icon-btn a {
  color: var(--primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.qrt-icon-btn:hover a {
  color: var(--white);
}

/* Get Quote Button in Header */
.btn-get-quote {
  padding: var(--space-2) var(--space-5) !important;
  font-size: var(--text-sm) !important;
  gap: var(--space-2);
}

.btn-get-quote i {
  font-size: 14px;
}

@media (max-width: 991px) {
  .qrt-icon-btn {
    width: 40px;
    height: 40px;
  }

  .qrt-icon-btn a {
    font-size: 16px;
  }
}

/* Hide on mobile utility */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

/* Left Sidebar */
.qrt-left-bar {
  display: none;
}

/* Curtain Overlay for Mobile Menu */
.qrt-curtain {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: calc(var(--z-fixed) - 1);
}

.qrt-curtain.qrt-active {
  opacity: 1;
  visibility: visible;
}

/* Current Page Title (Hidden) */
.qrt-current-page-title {
  display: none;
}

/* ===== FORM STYLING ===== */
.qrt-contact-form {
  width: 100%;
}

.qrt-contact-form .form-floating {
  margin-bottom: var(--space-5);
}

/* ===== TOP BAR LAYOUT ===== */
.qrt-top-bar {
  display: flex;
  align-items: center;
  padding: 0 var(--space-6);
  gap: var(--space-6);
}

@media (min-width: 992px) {
  .qrt-top-bar {
    padding: 0 var(--space-10);
  }
}

/* Menu Position */
.qrt-menu {
  flex: 1;
  display: flex;
  justify-content: center;
}

@media (max-width: 991px) {
  .qrt-menu {
    display: none;
  }

  .qrt-menu.qrt-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    min-height: calc(100vh - 80px);
    height: auto;
    max-height: calc(100vh - 80px);
    background: var(--white);
    justify-content: flex-start;
    align-items: stretch;
    padding: var(--space-6);
    z-index: 9999;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  }

  .qrt-menu.qrt-active nav {
    width: 100%;
  }

  .qrt-menu.qrt-active nav ul {
    flex-direction: column;
    width: 100%;
    gap: var(--space-3);
  }

  .qrt-menu.qrt-active nav ul li {
    width: 100%;
  }

  .qrt-menu.qrt-active nav ul li a {
    display: block;
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-lg);
    text-align: center;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    color: var(--gray-800);
    font-weight: 600;
    transition: all var(--transition-fast);
  }

  .qrt-menu.qrt-active nav ul li a:hover {
    background: var(--primary);
    color: var(--white);
  }

  .qrt-menu.qrt-active nav ul li ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: var(--space-3) 0 0;
    margin-top: var(--space-2);
    background: transparent;
    min-width: 100%;
  }

  .qrt-menu.qrt-active nav ul li ul li a {
    background: var(--gray-100);
    font-size: var(--text-base);
    padding: var(--space-3) var(--space-4);
  }
}

/* Nav list parent positioning */
.qrt-menu nav ul li {
  position: relative;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 767px) {
  .qrt-content-frame,
  .qrt-half-content-frame {
    flex-direction: column;
  }

  .qrt-left {
    width: 100%;
    padding: var(--space-6) var(--space-4);
  }

  .qrt-right {
    display: none;
  }

  .qrt-p-0-40 {
    padding: 0 0 20px 0;
  }

  .qrt-about-info {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: var(--space-4);
    max-width: 100%;
  }

  .qrt-call-to-action {
    padding: var(--space-6);
    flex-direction: column;
    text-align: center;
  }
}

/* ===== HERO SECTION SPECIFIC STYLES ===== */
.hero-left {
  padding: var(--space-8);
}

@media (min-width: 992px) {
  .hero-left {
    padding: var(--space-12);
  }
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(24, 55, 119, 0.1);
  color: var(--primary);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero-badge i {
  color: var(--accent);
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: var(--space-6);
}

.hero-title span {
  color: var(--primary);
}

.hero-description {
  font-size: var(--text-lg);
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.feature-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-item i {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 55, 119, 0.1);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-1);
}

.feature-item p {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-right {
  padding: var(--space-8);
}

@media (min-width: 992px) {
  .hero-right {
    padding: var(--space-10);
  }

  .hero-features {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-item {
    flex: 1;
    min-width: 200px;
  }
}

/* ===== MODAL STYLES ===== */
.modal-content {
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.modern-modal-header {
  background: var(--primary-gradient);
  color: var(--white);
  padding: var(--space-6);
  border-bottom: none;
}

.modern-modal-header .modal-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
}

.modern-modal-header .modal-title i {
  font-size: 1.5rem;
}

.modern-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: var(--radius-md);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modern-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-body {
  padding: var(--space-6);
  max-height: 60vh;
  overflow-y: auto;
}

.modern-modal-footer {
  background: var(--gray-50);
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
}

.modern-btn-secondary {
  background: var(--gray-200);
  color: var(--gray-700);
  border: none;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modern-btn-secondary:hover {
  background: var(--gray-300);
}

.modern-btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-primary);
}

.modern-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
}

/* ===== VERTICAL TABS FOR INVENTORY MODAL ===== */
.vertical-tab {
  display: flex;
  gap: var(--space-4);
}

.nav-tabs-vertical {
  flex-shrink: 0;
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: 0;
  margin: 0;
  list-style: none;
  border-right: 2px solid var(--gray-200);
  padding-right: var(--space-4);
}

.nav-tabs-vertical li {
  list-style: none;
}

.nav-tabs-vertical li a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--gray-700);
  font-weight: 500;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.nav-tabs-vertical li a:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.nav-tabs-vertical li.active a {
  background: rgba(24, 55, 119, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.tab-content.tabs {
  flex: 1;
  padding-left: var(--space-4);
}

.tab-pane h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--gray-200);
}

.wrap-label {
  display: block;
  padding: var(--space-2) 0;
  color: var(--gray-700);
  font-weight: 500;
}

.form-check-input[type="number"] {
  width: 80px;
  padding: var(--space-2);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.form-check-input[type="number"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24, 55, 119, 0.1);
  outline: none;
}

@media (max-width: 767px) {
  .vertical-tab {
    flex-direction: column;
  }

  .nav-tabs-vertical {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 2px solid var(--gray-200);
    padding-right: 0;
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-4);
  }

  .nav-tabs-vertical li a {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
  }

  .tab-content.tabs {
    padding-left: 0;
  }
}

/* ===== ADDITIONAL FORM STYLES ===== */
.qrt-quote-form {
  width: 100%;
}

.inventory-btn {
  font-size: var(--text-sm);
}

.inventory-btn i {
  margin-right: var(--space-1);
}

/* ===== FOOTER STYLES ===== */
.site-footer {
  background: linear-gradient(135deg, #1a2a4a 0%, #0d1829 100%);
  color: var(--white);
  padding: var(--space-16) 0 0;
  margin-top: var(--space-16);
}

.footer-main {
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-4);
}

.footer-logo img {
  max-height: 60px;
  width: auto;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--white);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--white);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-6);
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.footer-contact li i {
  color: var(--primary);
  margin-top: 4px;
  width: 16px;
  flex-shrink: 0;
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-contact li a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: var(--space-6) 0;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
  margin: 0;
}

.footer-legal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: var(--space-6);
}

.footer-legal li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-legal li a:hover {
  color: var(--white);
}

@media (max-width: 767px) {
  .site-footer {
    padding: var(--space-12) 0 0;
    margin-top: var(--space-12);
  }

  .footer-main {
    padding-bottom: var(--space-8);
  }

  .footer-brand {
    max-width: 100%;
    text-align: center;
    margin-bottom: var(--space-8);
  }

  .footer-social {
    justify-content: center;
  }

  .footer-title {
    margin-top: var(--space-6);
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    margin-top: var(--space-4);
  }
}

/* ===== LEGAL PAGES (Privacy Policy, Terms) ===== */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: var(--space-10);
}

.legal-section h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--primary);
}

.legal-section h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gray-800);
  margin: var(--space-6) 0 var(--space-3);
}

.legal-section p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: var(--space-4);
}

.legal-section ul {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.legal-section ul li {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: var(--space-2);
}

.legal-section .contact-box {
  background: var(--gray-50);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  margin-top: var(--space-4);
}

.legal-section .contact-box p {
  margin-bottom: var(--space-2);
}

.legal-section .contact-box i {
  color: var(--primary);
  width: 20px;
  margin-right: var(--space-2);
}

/* ===== REVIEW CARDS ===== */
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  height: 100%;
  transition: all var(--transition-base);
}

.review-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light, #2c5ba8));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.reviewer-info {
  flex: 1;
}

.reviewer-info h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-900);
  margin: 0 0 4px;
}

.review-rating {
  display: flex;
  gap: 2px;
}

.review-rating i {
  color: #ffc107;
  font-size: 14px;
}

.review-source {
  font-size: 24px;
}

.review-text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: var(--space-4);
  font-style: italic;
}

.review-date {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

/* Review images container */
.review-images {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.review-images img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.review-images img:hover {
  transform: scale(1.1);
}

/* ===== MODERN REVIEWS SLIDER ===== */
.reviews-slider-container {
  position: relative;
  padding: 0 50px;
}

.reviews-swiper {
  padding-bottom: 60px;
}

.review-card-modern {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-100);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.review-card-modern:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.review-card-modern .reviewer-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--gray-100);
}

.review-card-modern .reviewer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card-modern .reviewer-photo.reviewer-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  border: none;
  border-radius: 50%;
}

.review-card-modern .reviewer-photo.reviewer-initials span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-details {
  flex: 1;
  min-width: 0;
}

.reviewer-details h4 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reviewer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gray-500);
}

.reviewer-badge i {
  font-size: 10px;
  color: #4285f4;
}

.review-google-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-google-icon i {
  font-size: 24px;
  color: #4285f4;
}

.review-card-modern .review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.review-card-modern .review-stars i {
  color: #ffc107;
  font-size: 16px;
}

.review-card-modern .review-content {
  flex: 1;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: var(--space-4);
}

.review-card-modern .review-time {
  font-size: var(--text-sm);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Swiper Navigation Customization */
.reviews-swiper .swiper-button-next,
.reviews-swiper .swiper-button-prev {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--primary);
  transition: all var(--transition-fast);
}

.reviews-swiper .swiper-button-next:hover,
.reviews-swiper .swiper-button-prev:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(24, 55, 119, 0.3);
}

.reviews-swiper .swiper-button-next::after,
.reviews-swiper .swiper-button-prev::after {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
  font-size: 18px;
  font-weight: 900;
  position: relative;
  top: 10px;
  left: 17px;
}

.reviews-swiper .swiper-button-prev::after {
  content: "\f053";
}

.reviews-swiper .swiper-button-next::after {
  content: "\f054";
}

.reviews-swiper .swiper-button-prev {
  left: 0;
}

.reviews-swiper .swiper-button-next {
  right: 0;
}

.reviews-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--gray-300);
  opacity: 1;
  transition: all var(--transition-fast);
}

.reviews-swiper .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 30px;
  border-radius: 5px;
}

/* Mini Review Cards */
.review-card-mini {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-100);
  height: 100%;
  transition: all var(--transition-base);
}

.review-card-mini:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.review-card-mini-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.review-card-mini h5 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-900);
  margin: 0 0 2px;
}

.review-stars-small {
  display: flex;
  gap: 1px;
}

.review-stars-small i {
  color: #ffc107;
  font-size: 11px;
}

.review-card-mini p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0;
}

/* Ensure all reviewer initials are circular */
.reviewer-initials {
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .reviews-slider-container {
    padding: 0 40px;
  }
}

@media (max-width: 767px) {
  .reviews-slider-container {
    padding: 0 15px;
  }

  .reviews-swiper .swiper-button-next,
  .reviews-swiper .swiper-button-prev {
    display: none;
  }

  .review-card-modern {
    padding: var(--space-6);
  }

  .review-card-modern .reviewer-photo {
    width: 48px;
    height: 48px;
  }
}

/* =====================================================
   HOMEPAGE TESTIMONIALS SECTION
   ===================================================== */

.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-slider-wrapper {
  position: relative;
  padding: 0 50px;
}

/* Testimonial Card */
.testimonial-card {
  background: var(--white, #fff);
  border-radius: var(--radius-xl, 20px);
  padding: var(--space-8, 2rem);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal, 0.3s) ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--primary, #183777);
  box-shadow: 0 4px 12px rgba(24, 55, 119, 0.2);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info {
  flex: 1;
}

.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900, #1a1a1a);
  margin: 0 0 5px 0;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.testimonial-stars i {
  color: #ffc107;
  font-size: 14px;
}

.testimonial-google-icon {
  font-size: 24px;
  color: #4285f4;
  opacity: 0.8;
}

.testimonial-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-600, #666);
  margin: 0 0 15px 0;
  font-style: italic;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--primary, #183777);
  background: rgba(24, 55, 119, 0.08);
  padding: 6px 12px;
  border-radius: 20px;
  width: fit-content;
}

.testimonial-badge i {
  font-size: 11px;
}

/* Home Reviews Swiper */
.home-reviews-swiper {
  padding: 20px 0 60px;
  overflow: visible;
}

.home-reviews-swiper .swiper-slide {
  height: auto;
}

/* Home Swiper Navigation */
.home-reviews-swiper .swiper-button-next,
.home-reviews-swiper .swiper-button-prev {
  width: 48px;
  height: 48px;
  background: var(--white, #fff);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--primary, #183777);
  transition: all var(--transition-fast, 0.2s) ease;
  top: 50%;
  transform: translateY(-50%);
}

.home-reviews-swiper .swiper-button-next:hover,
.home-reviews-swiper .swiper-button-prev:hover {
  background: var(--primary, #183777);
  color: var(--white, #fff);
  box-shadow: 0 6px 20px rgba(24, 55, 119, 0.3);
}

.home-reviews-swiper .swiper-button-next::after,
.home-reviews-swiper .swiper-button-prev::after {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
  font-size: 18px;
  font-weight: 900;
  position: relative;
  top: 10px;
  left: 17px;
}

.home-reviews-swiper .swiper-button-prev::after {
  content: "\f053";
}

.home-reviews-swiper .swiper-button-next::after {
  content: "\f054";
}

.home-reviews-swiper .swiper-button-prev {
  left: -10px;
}

.home-reviews-swiper .swiper-button-next {
  right: -10px;
}

.home-reviews-swiper .swiper-pagination {
  bottom: 0;
}

.home-reviews-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--gray-300, #d1d5db);
  opacity: 1;
  transition: all var(--transition-fast, 0.2s) ease;
}

.home-reviews-swiper .swiper-pagination-bullet-active {
  background: var(--primary, #183777);
  width: 30px;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 991px) {
  .testimonials-slider-wrapper {
    padding: 0 20px;
  }

  .home-reviews-swiper .swiper-button-next,
  .home-reviews-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .home-reviews-swiper .swiper-button-prev {
    left: -5px;
  }

  .home-reviews-swiper .swiper-button-next {
    right: -5px;
  }
}

@media (max-width: 767px) {
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-slider-wrapper {
    padding: 0;
  }

  .home-reviews-swiper .swiper-button-next,
  .home-reviews-swiper .swiper-button-prev {
    display: none;
  }

  .testimonial-card {
    padding: var(--space-6, 1.5rem);
  }

  .google-rating-badge {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px !important;
    padding: 15px 20px !important;
  }

  .google-rating-badge span:last-child {
    border-left: none !important;
    padding-left: 0 !important;
    width: 100%;
    text-align: center;
  }
}
