/* Custom focus style for navbar links and buttons */
nav .breadcrumb-link:focus,
nav.flex-1 a:focus,
nav.flex-1 button:focus,
header nav a:focus,
header nav button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #00b3b333;
  border-radius: 0.4em;
  background: rgba(0,179,179,0.07);
  transition: box-shadow 0.2s, background 0.2s;
}
/* Comprehensive Responsive CSS for Fivizo Website */

/* Global reset for predictable sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent horizontal scroll on small viewports */
/* Prevent horizontal scroll on small viewports */
html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  position: relative;
}

/* =====================================================
   BREADCRUMB STYLES - Clean & Professional
   ===================================================== */
.breadcrumb-wrapper {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
}

.breadcrumb {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 400;
  white-space: nowrap;
  color: #666;
}

.breadcrumb-link {
  color: #007b8c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: #00b3b3;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #ccc;
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: #002f2f;
  font-weight: 500;
}

/* Responsive font sizes */
@media (max-width: 479px) {
  .breadcrumb {
    font-size: 0.75rem;
    gap: 0.3rem;
  }
  .breadcrumb-wrapper {
    margin-bottom: 0.75rem;
  }
}

@media (min-width: 480px) and (max-width: 639px) {
  .breadcrumb {
    font-size: 0.8rem;
    gap: 0.35rem;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .breadcrumb {
    font-size: 0.85rem;
  }
}

@media (min-width: 768px) {
  .breadcrumb {
    font-size: 0.9rem;
  }
  .breadcrumb-wrapper {
    margin-bottom: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .breadcrumb {
    font-size: 0.95rem;
    gap: 0.5rem;
  }
}

/* Legacy support for old breadcrumb-nav class */
.breadcrumb-nav,
nav[aria-label="Breadcrumb"] {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  white-space: nowrap;
  color: #666;
}

.breadcrumb-nav a,
nav[aria-label="Breadcrumb"] a {
  color: #007b8c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover,
nav[aria-label="Breadcrumb"] a:hover {
  color: #00b3b3;
}

@media (max-width: 479px) {
  .breadcrumb-nav,
  nav[aria-label="Breadcrumb"] {
    font-size: 0.75rem;
    gap: 0.3rem;
  }
}

@media (min-width: 480px) and (max-width: 639px) {
  .breadcrumb-nav,
  nav[aria-label="Breadcrumb"] {
    font-size: 0.8rem;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .breadcrumb-nav,
  nav[aria-label="Breadcrumb"] {
    font-size: 0.85rem;
  }
}

@media (min-width: 768px) {
  .breadcrumb-nav,
  nav[aria-label="Breadcrumb"] {
    font-size: 0.9rem;
  }
}

@media (min-width: 1024px) {
  .breadcrumb-nav,
  nav[aria-label="Breadcrumb"] {
    font-size: 0.95rem;
    gap: 0.5rem;
  }
}

/* Header Navigation Alignment - Ensure consistent appearance across all pages */
header {
  display: block;
  width: 100%;
}

header nav.flex-1 {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  flex: 1;
}

header nav.flex-1 ul {
  display: flex !important;
  flex-direction: row !important;
  gap: 2rem !important; /* 8 = 2rem in Tailwind */
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100%;
}

header nav.flex-1 li {
  display: list-item !important;
  width: auto !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

header nav.flex-1 a {
  display: inline-block !important;
  padding-bottom: 0.25rem !important; /* pb-1 */
  position: relative !important;
  text-decoration: none;
  white-space: nowrap;
}

header nav.flex-1 button {
  display: inline-flex !important;
  padding-bottom: 0.25rem !important; /* pb-1 */
  position: relative !important;
  text-decoration: none;
  white-space: nowrap;
}

/* Professional base typography */
body {
  font-size: 16px;
  line-height: 1.6;
}
@media (min-width: 641px) and (max-width: 1024px) {
  body {
    font-size: 17px;
    line-height: 1.65;
  }
}
@media (min-width: 1025px) {
  body {
    font-size: 18px;
    line-height: 1.7;
  }
}

/* Headings scale + spacing */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.75rem 0;
  line-height: 1.25;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}
@media (min-width: 641px) and (max-width: 1024px) {
  h1 {
    font-size: 2.25rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1.5rem;
  }
}
@media (min-width: 1025px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2.25rem;
  }
  h3 {
    font-size: 2rem;
  }
}

/* Global paragraph spacing */
p {
  margin: 0.75rem 0;
}
@media (min-width: 641px) {
  p {
    margin: 0.9rem 0;
  }
}
@media (min-width: 1025px) {
  p {
    margin: 1rem 0;
  }
}

/* Paragraph and heading alignment: center on small screens */
p, .paragraph, .card-text, .service-detail-maincard .card-text {
  /* Default: inherit (desktop handled elsewhere) */
  text-align: inherit;
}
@media (max-width: 767px) {
  /* Center primary text and headings on mobile for better readability */
  p,
  .paragraph,
  .card-text,
  .service-detail-maincard .card-text,
  h1,h2,h3,h4,h5,h6,
  .lead,
  .breadcrumb,
  .breadcrumb-nav,
  nav[aria-label="Breadcrumb"] {
    text-align: center !important;
  }
  /* Keep form controls and labels left aligned for usability */
  input, textarea, select, label, .form-control, .form-select {
    text-align: left !important;
  }
}
@media (min-width: 768px) {
  .center-on-mobile-last {
    text-align: center !important;
  }
}

/* Base responsive utilities */
.container-responsive {
  width: 100%;
  max-width: 1280px; /* align with lg/xl layouts */
  margin: 0 auto;
  padding: 0 1rem;
  overflow: visible !important;
}

@media (min-width: 640px) {
  .container-responsive {
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .container-responsive {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container-responsive {
    padding: 0 3rem;
  }
}

/* Section spacing helper for consistent vertical rhythm */
.section-responsive {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}
@media (min-width: 768px) {
  .section-responsive {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .section-responsive {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  /* Desktop: Ensure header nav alignment */
  header nav.flex-1 {
    display: flex !important;
    flex: 1;
    justify-content: center !important;
    align-items: center !important;
  }
  
  header nav.flex-1 ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  header nav.flex-1 li {
    width: auto !important;
    margin: 0 !important;
  }
  
  header nav.flex-1 a,
  header nav.flex-1 button {
    padding-bottom: 0.25rem !important;
    position: relative !important;
  }
}

/* Flow utility: evenly space children vertically */
.flow > * + * {
  margin-top: 0.65rem;
}
@media (min-width: 641px) {
  .flow > * + * {
    margin-top: 0.85rem;
  }
}
@media (min-width: 1025px) {
  .flow > * + * {
    margin-top: 1.05rem;
  }
}

/* Enhanced responsive typography */
.text-responsive-xs {
  font-size: 0.75rem;
}
.text-responsive-sm {
  font-size: 0.875rem;
}
.text-responsive-base {
  font-size: 1rem;
}
.text-responsive-lg {
  font-size: 1.125rem;
}
.text-responsive-xl {
  font-size: 1.25rem;
}
.text-responsive-2xl {
  font-size: 1.5rem;
}
.text-responsive-3xl {
  font-size: 1.875rem;
}
.text-responsive-4xl {
  font-size: 2.25rem;
}
.text-responsive-5xl {
  font-size: 3rem;
}

@media (min-width: 640px) {
  .text-responsive-xs {
    font-size: 0.75rem;
  }
  .text-responsive-sm {
    font-size: 0.875rem;
  }
  .text-responsive-base {
    font-size: 1rem;
  }
  .text-responsive-lg {
    font-size: 1.125rem;
  }
  .text-responsive-xl {
    font-size: 1.25rem;
  }
  .text-responsive-2xl {
    font-size: 1.5rem;
  }
  .text-responsive-3xl {
    font-size: 1.875rem;
  }
  .text-responsive-4xl {
    font-size: 2.25rem;
  }
  .text-responsive-5xl {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .text-responsive-xs {
    font-size: 0.75rem;
  }
  .text-responsive-sm {
    font-size: 0.875rem;
  }
  .text-responsive-base {
    font-size: 1rem;
  }
  .text-responsive-lg {
    font-size: 1.125rem;
  }
  .text-responsive-xl {
    font-size: 1.25rem;
  }
  .text-responsive-2xl {
    font-size: 1.5rem;
  }
  .text-responsive-3xl {
    font-size: 1.875rem;
  }
  .text-responsive-4xl {
    font-size: 2.25rem;
  }
  .text-responsive-5xl {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .text-responsive-xs {
    font-size: 0.75rem;
  }
  .text-responsive-sm {
    font-size: 0.875rem;
  }
  .text-responsive-base {
    font-size: 1rem;
  }
  .text-responsive-lg {
    font-size: 1.125rem;
  }
  .text-responsive-xl {
    font-size: 1.25rem;
  }
  .text-responsive-2xl {
    font-size: 1.5rem;
  }
  .text-responsive-3xl {
    font-size: 1.875rem;
  }
  .text-responsive-4xl {
    font-size: 2.25rem;
  }
  .text-responsive-5xl {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .text-responsive-xs {
    font-size: 0.75rem;
  }
  .text-responsive-sm {
    font-size: 0.875rem;
  }
  .text-responsive-base {
    font-size: 1rem;
  }
  .text-responsive-lg {
    font-size: 1.125rem;
  }
  .text-responsive-xl {
    font-size: 1.25rem;
  }
  .text-responsive-2xl {
    font-size: 1.5rem;
  }
  .text-responsive-3xl {
    font-size: 1.875rem;
  }
  .text-responsive-4xl {
    font-size: 2.25rem;
  }
  .text-responsive-5xl {
    font-size: 3rem;
  }
}

/* Responsive spacing utilities */
.space-responsive-xs {
  margin: 0.25rem;
}
.space-responsive-sm {
  margin: 0.5rem;
}
.space-responsive-md {
  margin: 1rem;
}
.space-responsive-lg {
  margin: 1.5rem;
}
.space-responsive-xl {
  margin: 2rem;
}

@media (min-width: 768px) {
  .space-responsive-xs {
    margin: 0.5rem;
  }
  .space-responsive-sm {
    margin: 1rem;
  }
  .space-responsive-md {
    margin: 1.5rem;
  }
  .space-responsive-lg {
    margin: 2rem;
  }
  .space-responsive-xl {
    margin: 3rem;
  }
}

/* Touch-friendly buttons for mobile */
@media (max-width: 768px) {
  button,
  a,
  input,
  select,
  textarea {
    min-height: 44px;
    min-width: 44px;
  }

  .mobile-touch-friendly {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  /* Protect header nav alignment on mobile */
  header nav.flex-1 {
    display: flex !important;
  }
  
  header nav.flex-1 ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem !important;
  }
  
  header nav.flex-1 li {
    width: auto !important;
  }
}

/* Improved focus states for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #007b8c;
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Better image handling */
img {
  max-width: 100%;
  height: auto;
}

/* Avoid long strings causing overflow */
.break-anywhere {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Responsive grid improvements */
.grid-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-responsive {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .grid-responsive {
    gap: 2rem;
  }
}

/* Mobile menu animations */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  width: 80vw;
  max-width: 360px;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* Hamburger menu */
.hamburger {
  width: 24px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #002f2f;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0px;
}
.hamburger span:nth-child(2) {
  top: 10px;
}
.hamburger span:nth-child(3) {
  top: 20px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* Responsive form improvements */
@media (max-width: 768px) {
  .form-responsive {
    padding: 1rem;
  }

  .form-responsive input,
  .form-responsive select,
  .form-responsive textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.75rem;
  }

  .form-responsive button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
}

/* Responsive table improvements */
@media (max-width: 768px) {
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-responsive table {
    min-width: 600px;
    width: 100%;
  }
}

/* Responsive card improvements */
@media (max-width: 768px) {
  .card-responsive {
    margin: 0.75rem;
    padding: 1.125rem;
  }
}

/* Responsive navigation improvements */
@media (max-width: 1024px) {
  .nav-responsive {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 50;
    overflow-y: auto;
  }
}

/* Responsive hero section improvements */
@media (max-width: 768px) {
  .hero-responsive {
    padding: 2.25rem 1rem;
    text-align: center;
  }

  .hero-responsive h1 {
    font-size: 2.125rem;
    line-height: 1.2;
  }

  .hero-responsive p {
    font-size: 1rem;
    margin: 1.125rem 0;
  }
}

/* Responsive button improvements */
@media (max-width: 768px) {
  .btn-responsive {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
    padding: 1rem;
    font-size: 1rem;
    text-align: center;
  }
}

/* Tablet buttons: align inline, wider hit area */
@media (min-width: 641px) and (max-width: 1024px) {
  .btn-responsive {
    display: inline-block;
    width: auto;
    min-width: 220px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
}

/* Responsive image improvements */
@media (max-width: 768px) {
  .img-responsive {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* Ensure cards don't overflow on narrow screens */
.card-responsive {
  max-width: 100%;
}

/* Utility to contain floats/children */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive text improvements */
@media (max-width: 768px) {
  .text-responsive {
    font-size: 0.9375rem; /* Slightly larger for readability */
    line-height: 1.6;
  }

  .text-responsive h1 {
    font-size: 1.75rem;
  }
  .text-responsive h2 {
    font-size: 1.5rem;
  }
  .text-responsive h3 {
    font-size: 1.25rem;
  }
  .text-responsive h4 {
    font-size: 1.125rem;
  }
  .text-responsive h5 {
    font-size: 1rem;
  }
  .text-responsive h6 {
    font-size: 0.875rem;
  }

  /* Add default spacing inside text blocks */
  .text-responsive p {
    margin: 0.75rem 0;
  }
  .text-responsive ul,
  .text-responsive ol {
    margin: 0.75rem 0 0.75rem 1rem;
  }
  .text-responsive li {
    margin: 0.375rem 0;
  }
}

/* Responsive spacing improvements */
@media (max-width: 768px) {
  .spacing-responsive {
    padding: 1rem;
    margin: 0.6rem;
  }

  .spacing-responsive-lg {
    padding: 1.9rem 0.85rem;
    margin: 1rem 0.6rem;
  }
}

/* Responsive layout improvements */
@media (max-width: 768px) {
  .layout-responsive {
    flex-direction: column;
  }

  .layout-responsive > * {
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* Responsive grid improvements */
@media (max-width: 640px) {
  .grid-responsive-sm {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .grid-responsive-md {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .grid-responsive-lg {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
  }
}

/* Responsive flex improvements */
@media (max-width: 768px) {
  .flex-responsive {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Responsive visibility improvements */
@media (max-width: 768px) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .hidden-desktop {
    display: none !important;
  }
}

/* Responsive animation improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive print styles */
@media print {
  .no-print {
    display: none !important;
  }

  .print-only {
    display: block !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .high-contrast {
    border: 2px solid currentColor;
  }

  button,
  a {
    border: 1px solid currentColor;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .dark-mode {
    background-color: #1a1a1a;
    color: #ffffff;
  }

  .dark-mode input,
  .dark-mode textarea,
  .dark-mode select {
    background-color: #2a2a2a;
    color: #ffffff;
    border-color: #404040;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .reduced-motion {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive font loading */
@font-face {
  font-family: "Poppins";
  font-display: swap;
  src: url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
}

@font-face {
  font-family: "Inter";
  font-display: swap;
  src: url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");
}

/* Performance optimizations */
* {
  box-sizing: border-box;
}

/* Responsive performance improvements */
@media (max-width: 768px) {
  .performance-mobile {
    will-change: auto;
    transform: none;
  }
}

/* Responsive accessibility improvements */
@media (max-width: 768px) {
  .accessibility-mobile {
    font-size: 16px;
    line-height: 1.5;
  }

  .accessibility-mobile button,
  .accessibility-mobile a {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Responsive SEO improvements */
@media (max-width: 768px) {
  .seo-mobile {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* Responsive loading states */
.loading-responsive {
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.loading-responsive.loaded {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive error states */
.error-responsive {
  border: 2px solid #ef4444;
  background-color: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

/* Responsive success states */
.success-responsive {
  border: 2px solid #10b981;
  background-color: #f0fdf4;
  color: #059669;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

/* Responsive warning states */
.warning-responsive {
  border: 2px solid #f59e0b;
  background-color: #fffbeb;
  color: #d97706;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

/* Responsive info states */
.info-responsive {
  border: 2px solid #3b82f6;
  background-color: #eff6ff;
  color: #2563eb;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

/* --- Card Animations for Service/Feature Cards --- */
.card-animate,
.impact-card,
.feature-card {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, box-shadow, border, background, background-color;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.card-animate.active,
.impact-card.active,
.feature-card.active {
  transform: translateY(-10px) scale(1.045) rotateZ(-0.5deg);
  box-shadow: 0 12px 32px 0 rgba(0, 179, 176, 0.13),
    0 2px 8px 0 rgba(153, 74, 54, 0.08);
  background: linear-gradient(120deg, #f7fafd 80%, #e6f7fa 100%);
}
.card-animate:active,
.impact-card:active,
.feature-card:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 4px 12px 0 rgba(0, 179, 176, 0.1);
}
.card-animate.card-glow,
.impact-card.card-glow,
.feature-card.card-glow {
  box-shadow: 0 0 0 4px #00b3b033, 0 12px 32px 0 rgba(0, 179, 176, 0.13),
    0 2px 8px 0 rgba(153, 74, 54, 0.08);
  border: 1.5px solid #00b3b0;
}
.card-animate .ripple-effect,
.impact-card .ripple-effect,
.feature-card .ripple-effect {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #00b3b033 0%, #00b3b000 80%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 0;
}
.card-animate.active .ripple-effect,
.impact-card.active .ripple-effect,
.feature-card.active .ripple-effect {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
  transition: opacity 0.3s, transform 0.3s;
}
.card-animate .card-icon,
.impact-card .impact-icon,
.feature-card .feature-icon {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
  position: relative;
  z-index: 1;
}
.card-animate.active .card-icon,
.impact-card.active .impact-icon,
.feature-card.active .feature-icon {
  transform: scale(1.12) rotateZ(4deg);
  box-shadow: 0 4px 16px 0 rgba(0, 179, 176, 0.1);
}

.why-choose-bg {
  background: linear-gradient(120deg, #f7fafd 80%, #e6f7fa 100%) !important;
  position: relative;
  overflow: hidden;
}
.why-choose-bg .bubble-1 {
  position: absolute;
  left: 10%;
  top: 60%;
  width: 60px;
  height: 60px;
  background: #00b3b0;
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(2px);
  animation: float-bubble 7s ease-in-out infinite;
  z-index: 0;
}
.why-choose-bg .bubble-2 {
  position: absolute;
  right: 15%;
  top: 30%;
  width: 40px;
  height: 40px;
  background: #944a36;
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(2px);
  animation: float-bubble2 9s ease-in-out infinite;
  z-index: 0;
}
@keyframes float-bubble {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}
@keyframes float-bubble2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(14px);
  }
}

@media (max-width: 1024px) {
  .why-choose-bg ul.space-y-4,
  .why-choose-bg ul.lg\:space-y-6 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .why-choose-bg ul.space-y-4 > li,
  .why-choose-bg ul.lg\:space-y-6 > li {
    margin: 0;
  }
}
@media (max-width: 640px) {
  .why-choose-bg ul.space-y-4,
  .why-choose-bg ul.lg\:space-y-6 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .why-choose-bg .why-choose-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }
  .why-choose-bg blockquote {
    font-size: 1rem;
    padding: 1rem 0.5rem;
  }
}

.card-animate:hover,
.impact-card:hover,
.feature-card:hover {
  transform: translateY(-16px) scale(1.08) rotateZ(-1deg);
  box-shadow: 0 0 0 8px #00b3b022, 0 20px 48px 0 rgba(0, 179, 176, 0.18),
    0 4px 16px 0 rgba(153, 74, 54, 0.1);
  background: linear-gradient(120deg, #f7fafd 80%, #e6f7fa 100%);
  border: 2px solid #00b3b0;
  animation: card-bounce 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes card-bounce {
  0% {
    transform: translateY(0) scale(1) rotateZ(0);
  }
  60% {
    transform: translateY(-22px) scale(1.11) rotateZ(-1.5deg);
  }
  80% {
    transform: translateY(-12px) scale(1.07) rotateZ(-0.7deg);
  }
  100% {
    transform: translateY(-16px) scale(1.08) rotateZ(-1deg);
  }
}
.card-animate:hover .card-icon,
.impact-card:hover .impact-icon,
.feature-card:hover .feature-icon {
  transform: scale(1.16) rotateZ(6deg);
  box-shadow: 0 8px 24px 0 rgba(0, 179, 176, 0.13);
}
.card-animate:hover .ripple-effect,
.impact-card:hover .ripple-effect,
.feature-card:hover .ripple-effect {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.3);
}

.why-choose-img {
  filter: grayscale(1) brightness(0.98) saturate(0.8);
  transition: filter 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter, transform;
}
.why-choose-img:hover {
  filter: grayscale(0) brightness(1.04) saturate(1.08);
  transform: scale(1.06) rotateZ(-1deg);
  z-index: 2;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
  /* opacity: 0; */
  /* transform: translateY(20px); */
  /* animation: testimonial-fadeInUp 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards; */
  z-index: 1;
}

.testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 179, 179, 0.4);
  transform: translateY(-5px);
}
.testimonial-card.active,
.glider-slide.active {
  transform: none;
  box-shadow: 0 16px 48px 0 rgba(14, 165, 175, 0.18),
    0 4px 16px 0 rgba(153, 74, 54, 0.13);
  border-left: 8px solid #0ea5af;
  filter: brightness(1.04) saturate(1.08);
  z-index: 2;
}
.testimonial-card:not(.active),
.glider-slide:not(.active) {
  /* No display: none; allow Glider.js to handle visibility */
}
@keyframes testimonial-fadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes testimonial-bounce {
  0% {
    transform: scale(1.07) translateY(-18px);
  }
  40% {
    transform: scale(1.12) translateY(-28px);
  }
  60% {
    transform: scale(1.05) translateY(-12px);
  }
  100% {
    transform: scale(1.07) translateY(-18px);
  }
}
.testimonial-quote {
  color: #0ea5af;
  font-size: 6rem;
  line-height: 1;
  margin-bottom: 1.5rem;
  opacity: 0.09;
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  pointer-events: none;
  z-index: 0;
  font-family: serif;
}
.testimonial-card p {
  margin-bottom: 2.2rem;
  font-size: 1.13rem;
  color: #222;
  position: relative;
  z-index: 2;
  font-style: italic;
}
.testimonial-card .testimonial-author-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.7rem !important;
  border-top: none;
  padding-top: 0;
  margin-top: auto;
  z-index: 2;
  position: relative;
}
.testimonial-card .testimonial-author-row::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0ea5af 60%, #00b3b0 100%);
  position: absolute;
  left: 0;
  bottom: -10px;
  opacity: 0.7;
}
.testimonial-author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0ea5af;
  box-shadow: 0 2px 8px 0 rgba(14, 165, 175, 0.13);
  background: #e6f7fa;
  margin-bottom: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  animation: none;
}
.testimonial-card:hover .testimonial-author-img {
  animation: testimonial-pulse 0.28s;
}
@keyframes testimonial-pulse {
  0% {
    box-shadow: 0 2px 8px 0 rgba(14, 165, 175, 0.13);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(14, 165, 175, 0.13);
  }
  100% {
    box-shadow: 0 2px 8px 0 rgba(14, 165, 175, 0.13);
  }
}
.testimonial-card .testimonial-author-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.1rem;
}
.testimonial-card .testimonial-author-info .testimonial-author-name {
  font-weight: bold;
  color: #007b8c;
  font-size: 1.08rem;
}
.testimonial-card .testimonial-author-info .testimonial-author-role {
  color: #444;
  font-size: 0.98rem;
  opacity: 0.85;
}

.testimonial-author-company {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: linear-gradient(90deg, #e6f7fa 60%, #f4faf6 100%);
  color: #00bfae;
  font-size: 1.01rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.18em 0.85em 0.18em 0.65em;
  margin: 0.18em 0 0.18em 0;
  box-shadow: 0 1px 6px 0 rgba(14, 165, 175, 0.07);
  opacity: 0.96;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  position: relative;
}
.testimonial-author-company::before {
  content: "\f1ad"; /* fa-building icon (FontAwesome, fallback: office) */
  font-family: "Font Awesome 5 Free", "Segoe UI Symbol", Arial, sans-serif;
  font-weight: 900;
  font-size: 1em;
  margin-right: 0.45em;
  color: #00bfae;
  opacity: 0.7;
  display: inline-block;
}
.testimonial-author-company:hover {
  background: linear-gradient(90deg, #00bfae 0%, #6f7bf7 100%);
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(0, 191, 174, 0.13);
}

/* Glider.js testimonial slider custom styles */
.glider-contain {
  position: relative;
  padding-bottom: 2.5rem;
  overflow: visible !important;
}
.glider-prev,
.glider-next {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10000 !important;
  background: #fff !important;
  color: #222 !important;
  border: 2px solid #00b3b0 !important;
  width: 48px !important;
  height: 48px !important;
  font-size: 2rem !important;
  font-weight: bold !important;
  box-shadow: 0 2px 8px rgba(0, 179, 176, 0.1) !important;
  cursor: pointer !important;
  opacity: 1 !important;
}
.glider-prev {
  left: -24px !important;
}
.glider-next {
  right: -24px !important;
}
.glider-prev:focus,
.glider-next:focus,
.glider-prev:hover,
.glider-next:hover {
  background: #00b3b0;
  color: #fff;
  border-color: #007b8c;
  outline: 2px solid #007b8c;
  box-shadow: 0 4px 16px rgba(0, 179, 176, 0.18);
}
.glider-dots {
  display: none !important;
}
.glider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e6f7fa;
  border: 2px solid #00b3b0;
  transition: background 0.2s, border 0.2s;
  cursor: pointer;
  outline: none;
}
.glider-dot.active,
.glider-dot:focus {
  background: #00b3b0;
  border-color: #007b8c;
}
@media (max-width: 640px) {
  .glider-prev,
  .glider-next {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    left: -12px;
    right: -12px;
  }
}

.single-testimonial-slider {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}
.single-testimonial-slider .glider {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  justify-content: center;
}
.single-testimonial-slider .glider-slide,
.single-testimonial-slider .testimonial-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  height: 100%;
}
.single-testimonial-slider .glider-slide .testimonial-card {
  opacity: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1;
  pointer-events: auto;
  transform: none;
}
.single-testimonial-slider .glider-slide:not(.active) .testimonial-card {
  opacity: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
  transform: none;
  z-index: 1;
}
.single-testimonial-slider .glider-slide.active .testimonial-card {
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0, 179, 179, 0.12);
  z-index: 10;
  pointer-events: auto;
  transform: none;
}
/* .single-testimonial-slider .glider-slide.active .testimonial-card:hover { */
  /* No hover effect */
/* } */
@media (max-width: 1300px) {
  .single-testimonial-slider {
    width: calc(3 * 320px + 2 * 1.5rem);
  }
  .single-testimonial-slider .glider {
    gap: 1.5rem;
  }
  .single-testimonial-slider .glider-slide,
  .single-testimonial-slider .testimonial-card {
    flex: 0 0 320px;
    min-width: 320px;
    max-width: 320px;
  }
}
@media (max-width: 1024px) {
  .single-testimonial-slider {
    width: calc(2 * 320px + 1 * 1rem);
  }
  .single-testimonial-slider .glider {
    gap: 1rem;
  }
  .single-testimonial-slider .glider-slide,
  .single-testimonial-slider .testimonial-card {
    flex: 0 0 320px;
    min-width: 320px;
    max-width: 320px;
  }
}
@media (max-width: 900px) {
  .single-testimonial-slider {
    width: 98vw;
  }
  .single-testimonial-slider .glider {
    gap: 0.7rem;
  }
  .single-testimonial-slider .glider-slide,
  .single-testimonial-slider .testimonial-card {
    flex: 0 0 90vw;
    min-width: 0;
    max-width: 98vw;
  }
}
@media (max-width: 640px) {
  /* Only keep container padding fix for mobile */
  .container-responsive {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .single-testimonial-slider .glider-slide,
  .single-testimonial-slider .testimonial-card {
    flex: 0 0 100% !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    width: 100vw !important;
    box-sizing: border-box !important;
  }
  .single-testimonial-slider .testimonial-card {
    margin: 0 auto !important;
    padding: 1.2rem 0.5rem 2rem 0.5rem;
    width: 92vw !important;
    max-width: 98vw !important;
    min-width: 92vw !important;
    border-radius: 1.2rem;
  }
  .single-testimonial-slider .testimonial-card p {
    font-size: 1rem;
    word-break: break-word;
  }
}

/* --- Testimonial Slider Focused Center Card --- */
.single-testimonial-slider .glider-slide .testimonial-card {
  opacity: 0.45;
  box-shadow: 0 2px 8px 0 rgba(14, 165, 175, 0.08);
  z-index: 1;
  transition: all 0.35s ease;
}
.single-testimonial-slider .glider-slide.active .testimonial-card {
  opacity: 1;
  box-shadow: 0 8px 32px 0 rgba(14, 165, 175, 0.18),
    0 4px 16px 0 rgba(153, 74, 54, 0.13);
  z-index: 2;
}
.single-testimonial-slider .glider-slide.active .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px 0 rgba(14, 165, 175, 0.25),
    0 12px 24px 0 rgba(153, 74, 54, 0.18);
}
.single-testimonial-slider .testimonial-author-row {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;
  margin-top: 0 !important;
  margin-bottom: 0.7rem !important;
  padding-top: 0 !important;
  text-align: center !important;
  width: 100%;
}
.single-testimonial-slider .testimonial-author-info {
  align-items: center !important;
  text-align: center !important;
  margin-bottom: 0 !important;
}
.single-testimonial-slider .testimonial-author-img {
  margin: 0 0 0.5rem 0 !important;
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #e6f7fa;
  box-shadow: 0 2px 8px 0 rgba(14, 165, 175, 0.13);
  background: #e6f7fa;
}
.single-testimonial-slider .testimonial-author-name {
  font-size: 1.12rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 0.1rem;
}
.single-testimonial-slider .testimonial-author-company {
  font-size: 1.01rem;
  color: #00bfae;
  font-weight: 600;
  margin-bottom: 0.1rem;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  display: block;
}
.single-testimonial-slider .testimonial-author-role {
  font-size: 1.01rem;
  color: #888;
  opacity: 0.85;
  font-weight: 400;
  margin-bottom: 0.2rem;
}
.single-testimonial-slider .testimonial-accent-line {
  display: none;
}
.single-testimonial-slider .testimonial-card p {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
  padding: 0.4rem 0.6rem 0.4rem 0.6rem;
  text-align: center;
  background: none;
  border-radius: 0;
  box-shadow: none;
  font-style: normal;
  color: #222;
  opacity: 1;
  animation: none;
}
.single-testimonial-slider .glider-prev,
.single-testimonial-slider .glider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #00b3b0;
  border: 2px solid #e6f7fa;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 179, 176, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  outline: none;
}
.single-testimonial-slider .glider-prev {
  left: -60px;
}
.single-testimonial-slider .glider-next {
  right: -60px;
}
.single-testimonial-slider .glider-prev:focus,
.single-testimonial-slider .glider-next:focus,
.single-testimonial-slider .glider-prev:hover,
.single-testimonial-slider .glider-next:hover {
  background: #00b3b0;
  color: #fff;
  border-color: #007b8c;
  outline: 2px solid #007b8c;
  box-shadow: 0 4px 16px rgba(0, 179, 176, 0.18);
}
@media (max-width: 1024px) {
  .single-testimonial-slider .glider {
    gap: 1.2rem; /* Proportional for tablets */
  }
  .single-testimonial-slider .testimonial-card {
    max-width: 90vw;
  }
  .single-testimonial-slider .glider-prev {
    left: -36px;
  }
  .single-testimonial-slider .glider-next {
    right: -36px;
  }
}
@media (max-width: 640px) {
  .single-testimonial-slider .glider {
    gap: 0.7rem; /* Proportional for mobile */
  }
  .single-testimonial-slider .testimonial-card {
    max-width: 98vw;
  }
  .single-testimonial-slider .glider-prev {
    left: 0 !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .single-testimonial-slider .glider-next {
    right: 0 !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
}

/* --- Enhanced Testimonial Card Effects --- */
.enhanced-card {
  position: relative;
  overflow: visible;
  border: none;
  box-shadow: 0 8px 40px 0 rgba(14, 165, 175, 0.13),
    0 2px 8px 0 rgba(153, 74, 54, 0.1);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22) 60%,
    rgba(230, 247, 250, 0.18) 100%
  );
  z-index: 2;
  border-radius: 1.5rem;
  border: 2.5px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  perspective: 900px;
  transform-style: preserve-3d;
  padding: 0.7rem 0.7rem 0.7rem 0.7rem;
  min-height: unset;
}
.enhanced-card.glow {
  box-shadow: 0 0 32px 0 #00bfae55, 0 8px 40px 0 rgba(14, 165, 175, 0.13),
    0 2px 8px 0 rgba(153, 74, 54, 0.1);
}
.enhanced-card .testimonial-glass-overlay {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  background: rgba(200, 200, 200, 0.22);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); /* For iOS/Safari/Brave */
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 16px 0 rgba(14, 165, 175, 0.07) inset;
}
.enhanced-card:hover .testimonial-glass-overlay,
.enhanced-card.touch-active .testimonial-glass-overlay {
  opacity: 1;
  background: rgba(180, 180, 180, 0.32); /* Slightly stronger on hover/touch */
}
.enhanced-card .testimonial-floating-accent {
  content: "";
  position: absolute;
  top: -32px;
  right: -32px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 30% 30%, #00b3b0 0%, #6f7bf7 100%);
  opacity: 0.13;
  filter: blur(18px);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  animation: float-bubble2 6s ease-in-out infinite;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.enhanced-card .testimonial-bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.enhanced-card .testimonial-bubble-1 {
  width: 36px;
  height: 36px;
  left: -24px;
  top: 18px;
  background: #00b3b0;
  filter: blur(6px);
  animation: float-bubble 7s ease-in-out infinite;
}
.enhanced-card .testimonial-bubble-2 {
  width: 24px;
  height: 24px;
  right: 18px;
  bottom: 12px;
  background: #944a36;
  filter: blur(4px);
  animation: float-bubble2 8s ease-in-out infinite;
}
.enhanced-card .testimonial-bubble-3 {
  width: 18px;
  height: 18px;
  left: 50%;
  bottom: -12px;
  background: #00b3b0;
  filter: blur(3px);
  animation: float-bubble 6s ease-in-out infinite;
}
@keyframes float-bubble {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes float-bubble2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}
.enhanced-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  padding: 2.5px;
  background: linear-gradient(120deg, #00bfae, #6f7bf7, #944a36, #00bfae);
  background-size: 300% 300%;
  z-index: 0;
  pointer-events: none;
  animation: border-gradient-move 6s ease-in-out infinite;
  opacity: 0.92;
  box-shadow: 0 0 0 2px #00bfae33, 0 0 16px 0 #00bfae22;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes border-gradient-move {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.enhanced-card:hover {
  box-shadow: 0 32px 64px 0 rgba(14, 165, 175, 0.22),
    0 8px 24px 0 rgba(153, 74, 54, 0.16);
  filter: brightness(1.06) saturate(1.12);
}
.enhanced-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 0 4px #00bfae55, 0 0 32px 0 #6f7bf755;
}
.enhanced-card .testimonial-author-img {
  filter: none !important;
  transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.enhanced-card:hover .testimonial-author-img {
  filter: none !important;
  transform: none !important;
}
.enhanced-card .testimonial-quote {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 2px 12px #00bfae22;
}
.enhanced-card:hover .testimonial-quote {
  transform: scale(1.12) rotate(-6deg);
  opacity: 0.18;
}
.enhanced-card .testimonial-author-img {
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 0 #00bfae;
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.enhanced-card:hover .testimonial-author-img {
  box-shadow: 0 0 0 6px #00bfae33, 0 0 0 12px #6f7bf733;
}
.signature-font {
  font-family: "Pacifico", cursive, sans-serif;
  font-size: 1.18rem;
  color: #007b8c;
  letter-spacing: 0.01em;
  font-weight: 700;
}
@import url("https://fonts.googleapis.com/css2?family=Pacifico&display=swap");
.enhanced-card .testimonial-accent-line {
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00bfae 0%, #6f7bf7 100%);
  margin: 0.5rem auto 0 auto;
  animation: accentLine 1.2s infinite alternate;
  opacity: 0.85;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes accentLine {
  0% {
    width: 36px;
  }
  100% {
    width: 48px;
  }
}

.card-reflection {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-radius: 1.5rem 1.5rem 0 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.7;
  animation: reflectionSweep 3.5s linear infinite;
}
@keyframes reflectionSweep {
  0% {
    transform: translateX(-100%) skewX(-18deg);
    opacity: 0.1;
  }
  40% {
    opacity: 0.7;
  }
  60% {
    opacity: 0.7;
  }
  100% {
    transform: translateX(120%) skewX(-18deg);
    opacity: 0.1;
  }
}

.enhanced-card p,
.single-testimonial-slider .testimonial-card p {
  padding: 0.4rem 0.6rem 0.4rem 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
  color: #1a2a2a;
  position: relative;
  z-index: 2;
  font-style: italic;
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px #00bfae11, 0 1px 0 #fff;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.85) 60%,
    rgba(230, 247, 250, 0.7) 100%
  );
  border-radius: 1rem;
  box-shadow: 0 1px 8px 0 rgba(14, 165, 175, 0.07);
  opacity: 0;
  animation: testimonial-content-fadeIn 0.7s cubic-bezier(0.4, 0, 0.2, 1)
    forwards;
}
@keyframes testimonial-content-fadeIn {
  to {
    opacity: 1;
  }
}

.testimonial-author-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.7rem !important;
  margin-top: 0.3rem;
  padding-top: 0.3rem;
  border-top: none;
  text-align: left !important;
}
.testimonial-author-img {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  margin-bottom: 0 !important;
  margin-right: 0.5rem !important;
}
.testimonial-author-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.08rem;
  text-align: left !important;
}
.testimonial-author-name {
  font-size: 1.01rem;
}
.testimonial-author-company {
  font-size: 0.97rem;
  padding: 0.08em 0.5em 0.08em 0.4em;
  margin: 0.08em 0 0.08em 0;
}
.testimonial-author-role {
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .enhanced-card,
  .single-testimonial-slider .testimonial-card {
    padding: 0.5rem 0.3rem 0.5rem 0.3rem;
  }
  .testimonial-author-img {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }
  .testimonial-author-row {
    gap: 0.4rem;
  }
  .enhanced-card p,
  .single-testimonial-slider .testimonial-card p {
    font-size: 0.98rem;
    padding: 0.3rem 0.3rem 0.3rem 0.3rem;
  }
}

.testimonial-card.touch-active,
.enhanced-card.touch-active {
  animation: testimonial-bounce 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 24px 64px 0 rgba(14, 165, 175, 0.16),
    0 8px 24px 0 rgba(153, 74, 54, 0.13);
  border-left: 10px solid #007b8c;
  filter: brightness(1.06) saturate(1.12);
}
.enhanced-card.touch-active {
  box-shadow: 0 32px 64px 0 rgba(14, 165, 175, 0.22),
    0 8px 24px 0 rgba(153, 74, 54, 0.16);
}
.enhanced-card.touch-active::before {
  opacity: 1;
  box-shadow: 0 0 0 4px #00bfae55, 0 0 32px 0 #6f7bf755;
}
.enhanced-card.touch-active .testimonial-author-img,
.testimonial-card.touch-active .testimonial-author-img {
  filter: none !important;
  transform: none !important;
}
.enhanced-card.touch-active .testimonial-quote {
  transform: scale(1.12) rotate(-6deg);
  opacity: 0.18;
}

@keyframes bubbleFloat1 {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.16;
  }
  50% {
    transform: translateY(-30px) scale(1.1);
    opacity: 0.22;
  }
}
@keyframes bubbleFloat2 {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.12;
  }
  50% {
    transform: translateY(-20px) scale(1.15);
    opacity: 0.18;
  }
}
@keyframes bubbleFloat3 {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-40px) scale(1.2);
    opacity: 0.15;
  }
}
@keyframes bubbleFloat4 {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.13;
  }
  50% {
    transform: translateY(-25px) scale(1.12);
    opacity: 0.19;
  }
}
.bubble1 {
  animation: bubbleFloat1 7s ease-in-out infinite;
}
.bubble2 {
  animation: bubbleFloat2 9s ease-in-out infinite;
}
.bubble3 {
  animation: bubbleFloat3 8s ease-in-out infinite;
}
.bubble4 {
  animation: bubbleFloat4 10s ease-in-out infinite;
}

@media (max-width: 640px) {
  .user-login-hero {
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 1.5rem 0.5rem !important;
  }
  .user-login-hero .fivizo-card,
  .user-login-hero form {
    max-width: 100vw !important;
    width: 100% !important;
    padding: 1.2rem 0.5rem 2rem 0.5rem !important;
    border-radius: 1.2rem !important;
    box-shadow: 0 2px 12px 0 rgba(0, 179, 176, 0.1);
  }
  .user-login-hero .fivizo-title {
    font-size: 1.3rem !important;
  }
  .user-login-hero .fivizo-desc {
    font-size: 1rem !important;
  }
  .user-login-hero .fivizo-logo {
    width: 54px !important;
    height: 54px !important;
    margin-bottom: 1rem !important;
  }
  .user-login-hero .trusted-by {
    flex-wrap: wrap;
    gap: 0.5rem !important;
    font-size: 0.95rem !important;
  }
  .user-login-hero .explore-btn {
    font-size: 1rem !important;
    padding: 0.7rem 1.2rem !important;
  }
}

@media (max-width: 320px) {
  .container-responsive,
  .grid-responsive,
  .card-responsive,
  .flex-responsive {
    padding: 0.5rem !important;
    gap: 0.5rem !important;
  }
  .text-responsive,
  .text-responsive-base {
    font-size: 0.85rem !important;
  }
}
@media (max-width: 360px) {
  .container-responsive,
  .grid-responsive,
  .card-responsive,
  .flex-responsive {
    padding: 0.7rem !important;
    gap: 0.7rem !important;
  }
  .text-responsive,
  .text-responsive-base {
    font-size: 0.9rem !important;
  }
}
@media (max-width: 375px) {
  .container-responsive,
  .grid-responsive,
  .card-responsive,
  .flex-responsive {
    padding: 0.8rem !important;
    gap: 0.8rem !important;
  }
  .text-responsive,
  .text-responsive-base {
    font-size: 0.95rem !important;
  }
}
@media (max-width: 390px) {
  .container-responsive,
  .grid-responsive,
  .card-responsive,
  .flex-responsive {
    padding: 0.9rem !important;
    gap: 0.9rem !important;
  }
  .text-responsive,
  .text-responsive-base {
    font-size: 1rem !important;
  }
}
@media (max-width: 412px) {
  .container-responsive,
  .grid-responsive,
  .card-responsive,
  .flex-responsive {
    padding: 1rem !important;
    gap: 1rem !important;
  }
  .text-responsive,
  .text-responsive-base {
    font-size: 1.05rem !important;
  }
}
@media (max-width: 430px) {
  .container-responsive,
  .grid-responsive,
  .card-responsive,
  .flex-responsive {
    padding: 1.1rem !important;
    gap: 1.1rem !important;
  }
  .text-responsive,
  .text-responsive-base {
    font-size: 1.08rem !important;
  }
}
@media (max-width: 768px) {
  /* Already present, but ensure all mobile/tablet layouts are covered */
}
@media (max-width: 800px) {
  .container-responsive,
  .grid-responsive,
  .card-responsive,
  .flex-responsive {
    padding: 1.2rem !important;
    gap: 1.2rem !important;
  }
}
@media (max-width: 1024px) {
  .container-responsive,
  .grid-responsive,
  .card-responsive,
  .flex-responsive {
    padding: 1.5rem !important;
    gap: 1.5rem !important;
  }
}
@media (min-width: 1280px) {
  .container-responsive,
  .grid-responsive,
  .card-responsive,
  .flex-responsive {
    padding: 2rem !important;
    gap: 2rem !important;
  }
}
@media (min-width: 1440px) {
  .container-responsive {
    max-width: 1600px !important;
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
  }
  .grid-responsive {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2.5rem !important;
  }
  .header-responsive {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
}
@media (min-width: 1920px) {
  .container-responsive {
    max-width: 1800px !important;
    padding-left: 4rem !important;
    padding-right: 4rem !important;
  }
  .grid-responsive {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 3rem !important;
  }
  .header-responsive {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
  }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE ENHANCEMENTS 2026
   ============================================ */

/* Prevent horizontal overflow on all devices */
html {
  overflow-x: hidden;
  width: 100%;
}

body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Ensure all containers are properly constrained */
.container,
[class*="container"] {
  max-width: 100%;
  overflow-x: hidden;
}

/* Fix common overflow issues with images */
img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

/* Responsive tables - ensure they scroll horizontally on small screens */
.table-responsive,
.overflow-x-auto {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
}

@media (max-width: 768px) {
  table {
    font-size: 0.875rem;
  }
  
  table th,
  table td {
    padding: 0.5rem !important;
    white-space: nowrap;
  }
}

/* Mobile-first form improvements */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="date"],
textarea,
select {
  max-width: 100%;
  font-size: 16px; /* Prevents zoom on iOS */
  -webkit-appearance: none;
  appearance: none;
}

@media (max-width: 640px) {
  input,
  textarea,
  select,
  button {
    font-size: 16px !important; /* Prevent iOS zoom */
  }
}

/* Modal responsiveness */
.modal,
[class*="modal"] {
  max-height: 100vh;
  overflow-y: auto;
}

@media (max-width: 640px) {
  .modal,
  [class*="modal"] {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }
}

/* Navigation responsive improvements */
/* Protect main header navigation from generic nav rules */
header nav.flex-1 ul,
header nav.flex-1 ul li {
  flex-direction: row !important;
  width: auto !important;
  text-align: center !important;
}

header nav.flex-1 li {
  width: auto !important;
}

@media (max-width: 1024px) {
  /* Only apply to mobile navigation, not header */
  .mobile-menu nav ul {
    flex-direction: column;
  }
  
  .mobile-menu nav li {
    width: 100%;
    text-align: left;
  }
}

/* Grid system improvements */
.grid,
[class*="grid"] {
  display: grid;
  gap: 1rem;
}

@media (max-width: 640px) {
  .grid,
  [class*="grid"] {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .grid,
  [class*="grid"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Card responsiveness */
.card,
[class*="card"] {
  width: 100%;
  max-width: 100%;
}

/* Sidebar responsiveness for panels */
@media (max-width: 1024px) {
  .sidebar,
  [class*="sidebar"] {
    position: fixed;
    left: -100%;
    top: 0;
    height: 100vh;
    transition: left 0.3s ease;
    z-index: 999;
  }
  
  .sidebar.active,
  [class*="sidebar"].active {
    left: 0;
  }
  
  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
  }
}

/* Dashboard cards on mobile */
@media (max-width: 768px) {
  [class*="dashboard"],
  [class*="panel"] {
    padding: 1rem;
  }
  
  .stat-card,
  .dashboard-card,
  [class*="stat-card"] {
    margin-bottom: 1rem;
  }
}

/* Button responsiveness */
button,
.button,
[class*="btn"] {
  width: 100%;
  max-width: 100%;
  min-height: 44px; /* Touch target size */
  padding: 0.75rem 1.5rem;
}

@media (min-width: 641px) {
  button,
  .button,
  [class*="btn"] {
    width: auto;
  }
}

/* Spacing adjustments for mobile */
@media (max-width: 640px) {
  .p-8 {
    padding: 1rem !important;
  }
  
  .py-8 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  
  .px-8 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .m-8 {
    margin: 1rem !important;
  }
  
  .gap-8 {
    gap: 1rem !important;
  }
}

/* Text responsiveness */
@media (max-width: 640px) {
  .text-5xl { font-size: 2rem !important; }
  .text-4xl { font-size: 1.75rem !important; }
  .text-3xl { font-size: 1.5rem !important; }
  .text-2xl { font-size: 1.25rem !important; }
  .text-xl { font-size: 1.125rem !important; }
}

/* Flexbox improvements */
.flex-responsive {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 640px) {
  .flex-responsive {
    flex-direction: column !important;
  }
}

/* Hide elements on specific breakpoints */
@media (max-width: 640px) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .hidden-tablet {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .hidden-desktop {
    display: none !important;
  }
}

/* Show elements on specific breakpoints */
@media (max-width: 640px) {
  .show-mobile {
    display: block !important;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .show-tablet {
    display: block !important;
  }
}

@media (min-width: 1025px) {
  .show-desktop {
    display: block !important;
  }
}

/* Admin panel table improvements */
.admin-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1024px) {
  .admin-table-container table {
    min-width: 800px;
  }
}

/* Client panel improvements */
@media (max-width: 900px) {
  .client-panel .sidebar {
    width: 100% !important;
  }
  
  .client-panel .main-content {
    padding: 1rem !important;
  }
}

/* QR Modal responsive (specifically for the modal we just edited) */
@media (max-width: 640px) {
  #qrModal .bg-white {
    max-height: 95vh;
    overflow-y: auto;
    margin: 0.5rem;
  }
  
  #qrModal img {
    width: 180px !important;
    height: 180px !important;
  }
}

/* Portfolio grid */
@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Blog layout */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr !important;
  }
  
  .blog-sidebar {
    margin-top: 2rem;
  }
}

/* Services page */
@media (max-width: 768px) {
  .service-card {
    width: 100% !important;
  }
}

/* Contact form */
@media (max-width: 640px) {
  .contact-form {
    padding: 1rem !important;
  }
}

/* Footer responsive */
@media (max-width: 768px) {
  footer .grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  
  footer .flex {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  /* Exception: Keep social icons horizontal */
  footer .social-icons-horizontal {
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }
}

/* Pricing tables */
@media (max-width: 768px) {
  .pricing-card {
    margin-bottom: 2rem;
  }
}

/* About page team section */
@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr !important;
  }
}

/* =====================================================
   APPOINTMENT PAGE RESPONSIVE STYLES
   ===================================================== */

/* Progress bar - mobile friendly */
@media (max-width: 480px) {
  #bookingForm .flex.items-center.justify-center.gap-4,
  #bookingForm .flex.items-center.justify-center.gap-8 {
    gap: 0.5rem !important;
    padding: 0 0.5rem;
  }
  
  #bookingForm .flex.items-center.justify-center.gap-4 .flex.flex-col,
  #bookingForm .flex.items-center.justify-center.gap-8 .flex.flex-col {
    align-items: center;
  }
  
  #bookingForm .flex.items-center.justify-center .w-8,
  #bookingForm .flex.items-center.justify-center .w-16 {
    width: 1rem !important;
  }
  
  /* Step circles */
  #step1, #step2, #step3 {
    width: 1.5rem !important;
    height: 1.5rem !important;
    font-size: 0.7rem !important;
  }
  
  /* Step labels */
  #bookingForm .text-xs.font-semibold,
  #bookingForm .text-sm.font-semibold {
    font-size: 0.6rem !important;
    text-align: center;
    max-width: 4rem;
  }
}

/* Calendar grid - mobile */
@media (max-width: 480px) {
  #calendar {
    gap: 2px !important;
  }
  
  #calendar button,
  #calendar .calendar-day {
    width: 100% !important;
    min-width: unset !important;
    padding: 0.4rem 0.2rem !important;
    font-size: 0.75rem !important;
  }
  
  #calendarMonth {
    font-size: 0.9rem !important;
  }
}

/* Form container - mobile */
@media (max-width: 480px) {
  #bookingForm {
    padding: 1rem !important;
  }
  
  .container-responsive .max-w-2xl {
    padding: 0 0.5rem;
  }
  
  /* Form inputs */
  #bookingForm input,
  #bookingForm select,
  #bookingForm textarea {
    font-size: 16px !important; /* Prevents zoom on iOS */
    padding: 0.625rem 0.75rem !important;
  }
  
  /* Form labels */
  #bookingForm label {
    font-size: 0.8rem !important;
  }
  
  /* Buttons */
  #bookingForm button {
    padding: 0.625rem 1rem !important;
    font-size: 0.875rem !important;
  }
  
  /* Grid layout for form fields */
  #bookingForm .grid.grid-cols-1.sm\\:grid-cols-2,
  #bookingForm .grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  
  /* Section headings */
  #bookingForm h2 {
    font-size: 1rem !important;
  }
  
  /* Time slots */
  #timeDropdown,
  #customTimeInput {
    font-size: 16px !important;
  }
  
  /* Summary box */
  #bookingForm .bg-\\[\\#f4f6f8\\] {
    padding: 0.75rem !important;
  }
  
  #bookingForm .bg-\\[\\#f4f6f8\\] svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
  }
}

/* Medium mobile (481-640px) */
@media (min-width: 481px) and (max-width: 640px) {
  #bookingForm {
    padding: 1.25rem !important;
  }
  
  #bookingForm .flex.items-center.justify-center.gap-4,
  #bookingForm .flex.items-center.justify-center.gap-8 {
    gap: 1rem !important;
  }
  
  #step1, #step2, #step3 {
    width: 1.75rem !important;
    height: 1.75rem !important;
    font-size: 0.8rem !important;
  }
}

/* Appointment form grid */
@media (max-width: 640px) {
  .appointment-form .grid {
    grid-template-columns: 1fr !important;
  }
}

/* Country select dropdown - mobile */
@media (max-width: 640px) {
  .select2-container {
    font-size: 16px !important;
  }
  
  .select2-selection {
    min-height: 44px !important;
    padding: 0.5rem !important;
  }
  
  .select2-selection__rendered {
    line-height: 24px !important;
  }
}

/* Back/Continue buttons - mobile */
@media (max-width: 480px) {
  #bookingForm .flex.justify-between {
    gap: 0.5rem;
  }
  
  #bookingForm .flex.justify-between button {
    flex: 1;
    justify-content: center;
  }
}

/* Touch-friendly enhancements */
@media (hover: none) and (pointer: coarse) {
  button,
  a,
  [role="button"] {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Print styles */
@media print {
  .no-print,
  button,
  nav,
  .sidebar,
  header,
  footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
  .modal,
  [class*="modal"] {
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* Safe area for notched devices (iPhone X+) */
@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
}

/* =====================================================
   GLOBAL RESPONSIVE TEXT ALIGNMENT FOR ALL PAGES
   ===================================================== */

/* Mobile: Center alignment and justified paragraphs */
@media (max-width: 1023px) {
  /* Center content on mobile/tablet */
  .text-center.lg\\:text-left,
  [class*="text-center"][class*="lg:text-left"],
  .flex-1.text-center {
    text-align: center !important;
  }
  
  /* Justify paragraph text for better readability - exclude breadcrumb */
  section p,
  .container-responsive p:not(.breadcrumb-nav *),
  .flex-1 p {
    text-align: justify !important;
    text-align-last: center !important;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  
  /* Center badges and tags */
  .inline-block,
  span.inline-block {
    display: inline-block;
  }
  
  /* Center button groups - exclude breadcrumb */
  .flex.flex-col.sm\\:flex-row:not(.breadcrumb-nav),
  [class*="flex"][class*="flex-col"][class*="sm:flex-row"]:not(.breadcrumb-nav) {
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* Center trusted by section */
  .trusted-by {
    justify-content: center !important;
    text-align: center !important;
  }
  
  .trusted-by .brands {
    justify-content: center !important;
    flex-wrap: wrap;
  }
}

/* Desktop: Left alignment */
@media (min-width: 1024px) {
  .text-center.lg\\:text-left,
  [class*="text-center"][class*="lg:text-left"],
  .flex-1.text-center.lg\\:text-left {
    text-align: left !important;
  }
  
  section p,
  .container-responsive p,
  .flex-1 p {
    text-align: left !important;
    text-align-last: left !important;
    hyphens: none;
  }
  
  .trusted-by {
    justify-content: flex-start !important;
  }
}

/* Helper class for justified text on mobile */
.text-justify-mobile {
  text-align: justify;
  text-align-last: center;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* Hover effect classes for buttons */
.btn-qr-hover {
  transition: all 0.3s ease !important;
}
.btn-qr-hover:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0,179,176,0.35) !important;
}

.btn-services-hover {
  transition: all 0.3s ease !important;
}
.btn-services-hover:hover {
  background-color: #007b8c !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(148, 76, 54, 0.4) !important;
}

.btn-team-hover {
  transition: all 0.3s ease !important;
}
.btn-team-hover:hover {
  background-color: #11332d !important;
  color: white !important;
}

.btn-submit-hover {
  transition: background-color 0.3s !important;
}
.btn-submit-hover:hover {
  background-color: #007b8c !important;
}

.btn-appointment-hover {
  transition: all 0.3s !important;
}
.btn-appointment-hover:hover {
  background-color: #00b3b3 !important;
  color: white !important;
}

@media (min-width: 1024px) {
  .text-justify-mobile {
    text-align: left;
    text-align-last: left;
    hyphens: none;
  }
}

/* End of Comprehensive Responsive Enhancements */
