/* Combined Stylesheet */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Import: design-system/index.css */
/**
 * Design System - Main Entry Point
 *
 * This file imports all design system modules in the correct order.
 * Import this single file to get access to all design tokens.
 *
 * Structure:
 * 1. Tailwind Theme - Extends Tailwind with custom tokens
 * 2. Colors - Full color palette with semantic aliases
 * 3. Typography - Font families, sizes, and text utilities
 * 4. Tokens - Spacing, shadows, borders, and other tokens
 * 5. Components - Reusable component styles (optional)
 *
 * Usage in application.css:
 * @import "./design-system/index.css";
 */

/* Tailwind v4 theme extension (must come first) */
@import "./tailwind-theme.css";

/* Design tokens */
@import "./colors.css";
@import "./typography.css";
@import "./tokens.css";


/* Import: variables.css */
/**
 * Legacy Variables - Backward Compatibility Layer
 *
 * This file maintains backward compatibility with existing styles
 * by aliasing old variable names to the new design system tokens.
 *
 * @deprecated These variables are being phased out.
 * Use design system tokens directly instead:
 * - var(--color-primary-500) instead of var(--primary)
 * - var(--color-grey-500) instead of var(--text-primary)
 *
 * Migration guide:
 * Old: var(--primary) → New: var(--color-primary-900) or var(--color-primary-500)
 * Old: var(--gray-500) → New: var(--color-grey-500)
 */

:root {
  /* ============================================
   * PRIMARY COLORS
   * Aliases to design system primary palette
   * ============================================ */
  --primary: var(--color-primary-900);
  --primary-light: var(--color-primary-500);
  --primary-dark: var(--color-primary-900);
  --primary-hover: var(--color-primary-700);

  /* ============================================
   * ACCENT COLORS
   * ============================================ */
  --accent: var(--color-primary-500);
  --accent-light: var(--color-primary-400);

  /* ============================================
   * SUCCESS COLORS
   * ============================================ */
  --success: var(--color-success-500);
  --success-light: var(--color-success-100);
  --success-dark: var(--color-success-700);
  --success-darker: var(--color-success-900);

  /* ============================================
   * WARNING COLORS
   * ============================================ */
  --warning: var(--color-warning-500);
  --warning-light: var(--color-warning-100);

  /* ============================================
   * ERROR COLORS
   * ============================================ */
  --error: var(--color-error-500);
  --error-light: var(--color-error-100);
  --error-dark: var(--color-error-700);

  /* ============================================
   * GRAY SCALE (Legacy names)
   * Map to new grey scale
   * ============================================ */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: var(--color-grey-50);
  --gray-300: var(--color-grey-100);
  --gray-400: var(--color-grey-200);
  --gray-500: var(--color-grey-300);
  --gray-600: var(--color-grey-400);
  --gray-700: var(--color-grey-500);
  --gray-800: var(--color-grey-700);
  --gray-900: var(--color-grey-900);

  /* ============================================
   * TEXT COLORS (Legacy)
   * ============================================ */
  --text-primary: var(--color-grey-900);
  --text-secondary: var(--color-grey-600);
  --text-muted: var(--color-grey-400);
  --text-disabled: var(--color-grey-200);

  /* ============================================
   * BACKGROUND COLORS (Legacy)
   * ============================================ */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-muted: #f4f4f5;

  /* ============================================
   * BORDER COLORS (Legacy)
   * ============================================ */
  --border-primary: var(--color-border-400);
  --border-secondary: var(--color-border-300);
  --border-light: #E1E1E1;

  /* ============================================
   * SECTION BACKGROUND COLORS
   * ============================================ */
  --bg-faq: #00524B;

  /* ============================================
   * INFO COLORS (Legacy)
   * ============================================ */
  --info-bg: var(--color-info-100);
  --info-text: var(--color-info-800);
  --info-border: var(--color-info-200);

  /* ============================================
   * SHADOWS (Legacy)
   * ============================================ */
  --shadow-sm: var(--shadow-xs);
  --shadow-md: var(--shadow-DEFAULT);
  --shadow-lg: var(--shadow-lg);
  --shadow-xl: var(--shadow-xl);

  /* ============================================
   * RADIUS (Legacy)
   * ============================================ */
  --radius-sm: var(--radius-md);
  --radius-md: var(--radius-lg);
  --radius-lg: var(--radius-xl);
  --radius-full: var(--radius-full);

  /* ============================================
   * FOREGROUND (used in some components)
   * ============================================ */
  --foreground: var(--color-grey-900);
  --secondary: #f0fdf4;
}

/* Import: components/office_card.css */
/* Office Card Component - Two Column Layout (45% / 55%) */

.office-card {
  display: flex;
  padding: 1.25rem 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  margin-bottom: -1px; /* Collapse borders between cards */
  border-radius: none !important;
}

.office-card:hover {
  background: #fafafa;
}

/* Column 1: Main (45%) - Logo + Name + Rating + Image */
.office-col-main {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0 1rem;
}

/* Header: Logo + Name/Badge */
.office-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.office-logo {
  flex-shrink: 0;
}

.office-logo-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e7eb;
}

.office-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e5e7eb;
}

.office-initials {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.office-header-info {
  flex: 1;
  min-width: 0;
}

.office-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.office-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.office-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.office-name a:hover {
  color: #14b8a6;
}

/* Details link wrapper */
.office-details-link {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  text-decoration: none;
  color: inherit;
}

.office-details-link:hover {
  color: inherit;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 500;
  white-space: nowrap;
}

.badge-patient-choice {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.spotlight-highlights {
  display: flex;
  gap: 0.5rem;
  margin: 0.25rem 0 0.5rem;
  flex-wrap: wrap;
}

.spotlight-highlights .badge-highlight {
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.625rem;
  background: #f0fdfa;
  color: #0d9488;
  border: 1px solid #ccfbf1;
}

.badge-highlight {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #ccfbf1;
  font-size: 0.625rem;
  padding: 0.125rem 0.375rem;
}

/* Rating */
.office-rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
}

.office-rating .stars {
  display: flex;
  gap: 1px;
}

.office-rating .star {
  width: 14px;
  height: 14px;
  background: transparent !important;
  border-radius: 0;
}

.office-rating .star-filled {
  color: #f59e0b;
}

.office-rating .star-half {
  color: #f59e0b;
}

.office-rating .star-empty {
  color: #d1d5db;
  stroke-width: 1.5;
}

.rating-text {
  font-weight: 700;
  color: #1f2937;
}

.review-count {
  color: #6b7280;
}

/* Thumbnail */
.office-thumbnail {
  margin-top: 0.25rem;
}

.thumbnail-wrapper {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 4px;
  overflow: hidden;
  background: #f3f4f6;
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.thumbnail-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 32px;
  height: 32px;
  background: rgba(20, 184, 166, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.thumbnail-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Column 2: Details (55%) */
.office-col-details {
  flex: 0 0 55%;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.75rem 1rem;
}

.office-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #4b5563;
  line-height: 1.4;
  font-weight: 400;
}

.detail-icon {
  flex-shrink: 0;
  color: #6b7280;
  margin-top: 2px;
}

.detail-icon-teal {
  color: #14b8a6;
}

.office-available {
  color: #14b8a6;
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #14b8a6;
  margin-top: 6px;
  flex-shrink: 0;
}

/* Description */
.office-description {
  color: #6b7280;
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0.5rem 0;
}

/* CTA Button */
.btn-appointment {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.625rem 1rem;
  background: #14b8a6;
  color: white;
  font-weight: 600;
  font-size: 0.8125rem;
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  margin-top: auto;
}

.btn-appointment:hover {
  background: #0d9488;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .office-card {
    flex-direction: column;
  }

  .office-col-main,
  .office-col-details {
    flex: 1;
  }

  .office-col-details {
    padding: 0.75rem 0 1rem 1rem;
    border-top: 1px solid #e5e7eb;
  }
}

/* Import: components/office_list.css */
/* Office List Component Styles */

.office-list {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Header */
.office-list-header {
  padding: 1rem 1.25rem;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.office-list-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

/* List Items */
.office-list-items {
  display: flex;
  flex-direction: column;
  background: white;
}

.office-list-items .office-card:last-child {
  border-bottom: none;
}

/* Empty State */
.office-list-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.office-list-empty svg {
  color: #d1d5db;
  margin-bottom: 1rem;
}

.office-list-empty h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.5rem 0;
}

.office-list-empty p {
  color: #6b7280;
  margin: 0;
}

/* Pagination - Using PaginationComponent */

/* Responsive Design */
@media (max-width: 768px) {
  .office-list {
    padding: 1rem;
  }

  .office-list-title {
    font-size: 1.5rem;
  }

  .office-list-items {
    gap: 1rem;
  }
}


/* Import: components/pagination.css */
/* Pagination Component - pagi- prefix to avoid conflicts */

.pagi-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: white;
  border-top: 1px solid #e5e7eb;
}

.pagi-info {
  font-size: 0.875rem;
  color: #6b7280;
  flex-shrink: 0;
}

.pagi-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagi-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.pagi-btn:hover {
  color: #14b8a6;
}

.pagi-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pagi-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.pagi-pages {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagi-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.pagi-page:hover {
  background: #f3f4f6;
  color: #14b8a6;
}

.pagi-active {
  background: #14b8a6;
  color: white;
}

.pagi-active:hover {
  background: #0d9488;
  color: white;
}

.pagi-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 32px;
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 640px) {
  .pagi-wrapper {
    flex-direction: column;
    gap: 0.75rem;
  }

  .pagi-info {
    order: 2;
  }

  .pagi-nav {
    order: 1;
    width: 100%;
    justify-content: center;
  }

  .pagi-btn span {
    display: none;
  }

  .pagi-btn {
    padding: 0.5rem;
  }
}

/* Import: components/office_map.css */
/* Office Map Component */

.office-map {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
}

.office-map-single {
  min-height: 250px;
  border-radius: 8px;
}

/* ─── Leaflet-specific marker styles (fallback) ─── */

.office-marker {
  background: none !important;
  border: none !important;
}

.marker-pin {
  position: relative;
  animation: marker-bounce 0.3s ease-out;
  cursor: pointer;
}

.marker-pin svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s ease, filter 0.2s ease;
  display: block;
}

.marker-pin:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes marker-bounce {
  0% {
    transform: translateY(-15px) scale(0.8);
    opacity: 0;
  }

  60% {
    transform: translateY(3px) scale(1.05);
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Numbered markers for list view */
.marker-numbered .marker-pin::after {
  content: attr(data-number);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  color: white;
}

/* ─── Shared popup / info window content ─── */

.map-popup {
  display: flex;
  gap: 0.75rem;
  min-width: 200px;
  max-width: 280px;
}

.popup-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary, #00524B);
  color: white;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.popup-content {
  flex: 1;
  min-width: 0;
}

.popup-name {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1a1a1a;
  text-decoration: none;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.popup-name:hover {
  color: var(--primary, #00524B);
}

/* ─── Global Autocomplete Suggestions ─── */
.suggestions-list {
  background: white;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
}

.suggestion-item {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.2s ease;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: #f9fafb;
  color: #14b8a6;
}

.suggestion-item.highlight {
  background: #f0fdfa;
  color: #0d9488;
}

.popup-rating {
  margin-bottom: 0.25rem;
}

.popup-stars {
  color: #f59e0b;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.popup-address {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.4;
  margin-bottom: 0.125rem;
}

.popup-phone {
  font-size: 0.8125rem;
  color: var(--primary, #00524B);
  font-weight: 500;
}

/* ─── Google Maps InfoWindow overrides ─── */

.gm-style .gm-style-iw-c {
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  padding: 0 !important;
}

.gm-style .gm-style-iw-d {
  overflow: auto !important;
  padding: 1rem !important;
}

.gm-style .gm-style-iw-tc::after {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Hide Google Maps close button default styling, style it nicer */
.gm-style .gm-style-iw-c button[aria-label="Close"] {
  top: 4px !important;
  right: 4px !important;
}

/* Google Maps container inherits font */
.gm-style {
  font-family: inherit;
}

/* ─── Leaflet popup overrides (fallback) ─── */

.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 0;
}

.leaflet-popup-content {
  margin: 1rem;
  font-family: inherit;
}

.leaflet-popup-tip {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.leaflet-container {
  font-family: inherit;
}

/* ─── Map wrapper for listing pages ─── */

.map-wrapper {
  position: sticky;
  height: calc(100vh - 2rem);
  border-radius: 12px;
  overflow: hidden;
}

.map-wrapper .office-map {
  height: 100%;
  min-height: unset;
  border-radius: 0;
}

/* ─── Loading state ─── */

.office-map-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
}

.office-map-loading::after {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: var(--primary, #00524B);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ─── Responsive ─── */

@media (max-width: 991px) {
  .map-wrapper {
    position: relative;
    height: 300px;
    top: 0;
    margin-bottom: 1rem;
  }
}
/* Import: components/review_card.css */
/* ===========================================
   Review Card & Grid Components
   Unique class names prefixed with "rv-" to avoid conflicts
=========================================== */

/* Section Container */
.rv-section {
  background-color: var(--background);
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .rv-section {
    padding: 5rem 1rem;
  }
}

.rv-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Header */
.rv-section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.rv-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .rv-section-title {
    font-size: 2rem;
  }
}

/* Grid Wrapper - No border as per design */
.rv-grid-wrapper {
  margin-bottom: 2rem;
}

/* Reviews Grid */
.rv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .rv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .rv-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual Review Card */
.rv-card {
  background-color: white;
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.3s ease;
}

.rv-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Card Header: Avatar + User Info */
.rv-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e5e5;
}

.rv-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #e5e5e5;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rv-avatar svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #757575;
}

.rv-user-info {
  flex: 1;
  min-width: 0;
}

.rv-user-name {
  font-size: 0.875rem;
  color: var(--foreground);
  margin: 0;
}

.rv-user-name strong {
  font-weight: 600;
}

.rv-time {
  font-size: 0.75rem;
  color: #757575;
  margin: 0;
}

/* Office Name */
.rv-office-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  text-decoration: none;
  display: block;
}

.rv-office-name:hover {
  color: var(--primary);
}

/* Star Rating (Yelp-style) */
.rv-stars {
  display: flex;
  gap: 2px;
  margin-top: 0.25rem;
}

.rv-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #e5e5e5;
  border-radius: 3px;
}

.rv-star svg {
  width: 12px;
  height: 12px;
}

.rv-star.rv-star-filled {
  background-color: #E53935;
}

.rv-star.rv-star-half {
  background: linear-gradient(to right, #E53935 50%, #e5e5e5 50%);
}

/* Review Text */
.rv-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--foreground);
  margin: 0;
}

/* Media Container (Video/Image) */
.rv-media {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.rv-media video,
.rv-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rv-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  pointer-events: none;
  transition: background-color 0.2s ease;
}

.rv-video:hover::after {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Play Button for Video */
.rv-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--primary);
  border: none;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.rv-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.05);
  background-color: var(--primary-hover, #00a894);
}

.rv-play-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
  margin-left: 2px;
}

.rv-play-btn.hidden {
  display: none;
}

/* Card Actions */
.rv-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e5e5;
  margin-top: auto;
}

.rv-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: #757575;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s ease;
}

.rv-action-btn:hover {
  color: var(--foreground);
}

.rv-action-btn svg {
  width: 20px;
  height: 20px;
}

.rv-action-btn span {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Active state for liked items */
.rv-action-btn.rv-action-active {
  color: var(--primary);
}

/* View All Button Wrapper */
.rv-view-all-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.rv-view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
  background-color: transparent;
  border: 1.5px solid var(--primary);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.rv-view-all-btn:hover {
  background-color: var(--primary);
  color: white;
}

/* ===========================================
   Reviews Index Page Styles
=========================================== */

.rv-page {
  padding: 2rem 1rem 4rem;
}

@media (min-width: 768px) {
  .rv-page {
    padding: 3rem 1rem 5rem;
  }
}

.rv-page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.rv-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .rv-page-title {
    font-size: 2rem;
  }
}

.rv-page-subtitle {
  font-size: 1rem;
  color: #757575;
}

.rv-see-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}


/* Import: pages/home.css */
/* ==================== CSS Variables ==================== */
:root {
  --primary: #00524B;
  --primary-light: hsl(174, 100%, 38%);
  --primary-foreground: hsl(0, 0%, 100%);
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 20%, 20%);
  --secondary: hsl(175, 60%, 96%);
  --muted: hsl(220, 14%, 96%);
  --muted-foreground: hsl(220, 10%, 50%);
  --accent: hsl(175, 60%, 94%);
  --border: hsl(220, 13%, 91%);
  --light-cyan: hsl(175, 40%, 94%);
  --dark-text: hsl(220, 40%, 20%);
  --shadow: hsla(220, 20%, 80%, 0.4);
  --radius: 0.5rem;
}

/* ==================== Reset & Base ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  display: flex;
  /* change from inline to flex */
  flex-direction: column;
  /* vertical layout */
  height: 100%;
  /* full viewport height */
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  letter-spacing: -0.025em;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==================== Utilities ==================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-sm {
  max-width: 800px;
}

.container-md {
  max-width: 960px;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

/* ==================== Header ==================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: 0.05em;
}

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

.nav-link {
  font-size: 0.875rem;
  color: hsla(220, 20%, 20%, 0.8);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--foreground);
}

@media (max-width: 640px) {
  .nav-link {
    display: none;
  }
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

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

.badge-highlight {
  background-color: #E6FFFA;
  color: #00897B;
  border: 1px solid #B2DFDB;
  font-weight: 500;
}

.btn-primary {
  background-color: var(--color-primary-500);
  color: white !important;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--color-primary-600);
  color: white !important;
}

.btn-teal {
  background-color: var(--primary-light);
  color: white;
  padding: 0.75rem 2rem;
}

.btn-teal:hover {
  background-color: hsl(174, 100%, 32%);
}

/* ==================== Hero Section ==================== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero {
    min-height: 700px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), hsl(175, 50%, 40%));
  background-image: url('<%= asset_path("hero.png") %>');
  background-position: center 30%;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsla(200, 15%, 30%, 0.3) 0%, hsla(200, 15%, 30%, 0.4) 100%);
}


.hero-content {
  position: relative;
  z-index: 10;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: white;
  animation: fadeIn 0.6s ease-out;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1rem;
  color: hsla(0, 0%, 100%, 0.9);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 0.6s ease-out 0.1s both;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

/* ==================== Search Bar ==================== */
.search-bar {
  width: 100%;
  max-width: 900px;
  height: 64px;
  margin: 0 auto;
  background-color: white;
  border-radius: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  padding: 6px;
  animation: fadeIn 0.6s ease-out 0.2s both;
}

.search-bar-form {
  display: flex;
  align-items: center;
  width: 100%;
}

.search-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 16px;
  min-width: 0;
  gap: 10px;
  position: relative;
}

/* Search bar specific icons */
.sb-icon {
  flex-shrink: 0;
  display: inline-block;
  position: relative;
}

.sb-search-icon {
  width: 16px;
  height: 16px;
}

.sb-location-icon {
  width: 14px;
  height: 17px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  color: var(--color-grey-700);
  padding: 10px 0;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--color-grey-300);
  font-weight: var(--font-weight-regular);
}

.search-input:focus {
  outline: none;
}

.search-divider {
  width: 1px;
  height: 24px;
  background-color: var(--color-grey-100);
  flex-shrink: 0;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  background-color: var(--color-primary-500);
  color: white;
  border: none;
  border-radius: 48px;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-btn:hover {
  background-color: var(--color-primary-600);
}

.search-btn-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.search-btn-text {
  display: none;
}

@media (min-width: 480px) {
  .search-bar {
    max-width: 900px;
  }

  .search-btn-text {
    display: inline;
  }

  .search-btn {
    padding: 0 8px;
    margin-right: 1%;
  }
}

/* ==================== Section Common Styles ==================== */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.section-title-lg {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title-lg {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .section-title-lg {
    font-size: 2.25rem;
  }
}

.section-title-italic {
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--dark-text);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title-italic {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .section-title-italic {
    font-size: 2.25rem;
  }
}

.section-title-white {
  font-size: 1.5rem;
  font-weight: 700;
  color: white !important;
}

@media (min-width: 768px) {
  .section-title-white {
    font-size: 1.875rem;
  }
}

.section-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1rem;
  }
}

/* ==================== Meet Dentist Section ==================== */
.meet-dentist {
  background-color: var(--secondary);
  padding: 3rem 1rem;
}

@media (min-width: 768px) {
  .meet-dentist {
    padding: 4rem 1.5rem;
  }
}

.meet-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.meet-title-row .section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  margin-bottom: 0;
  color: var(--color-grey-800);
}

/* container */


/* input */
/* City input styled like search-input */
.city-dropdown input {
  flex: 1;
  height: 29px;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  color: var(--color-grey-700);
  padding: 10px 0;
  min-width: 0;
}

/* placeholder */
.city-dropdown input::placeholder {
  color: var(--color-grey-300);
  font-weight: var(--font-weight-regular);
}

/* remove focus border */
.city-dropdown input:focus {
  outline: none;
}

/* dropdown container */
.city-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

/* suggestions */
.city-dropdown .suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0.5rem;
  margin-top: 4px;
  z-index: 10;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* @media (min-width: 1024px) {
  .map-grid {
    grid-template-columns: 2fr;
  }
} */

/* ==================== Top Dentists Container ==================== */
.top-dentists-container {
  max-width: 74.8125rem;
  /* ~1197px */
  width: 100%;
  margin: 0 auto 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  /* 8px */
  background-color: white;
}

.top-dentists-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  /* ~24px */
  line-height: 2rem;
  /* 32px */
  letter-spacing: 0;
  text-align: center;
  color: var(--color-grey-800);
  margin-bottom: 1.5rem;
}

.top-dentists-video {
  max-width: 71.8125rem;
  /* 1149px */
  width: 100%;
  margin: 0 auto 1.5rem;
  border-radius: 0.5rem;
  /* 8px */
  overflow: hidden;
}

.top-dentists-video-player {
  width: 100%;
  max-width: 71.8125rem;
  /* 1149px */
  height: 28rem;
  /* 448px */
  object-fit: cover;
  display: block;
  border-radius: 0.5rem;
  /* 8px */
}

.top-dentists-map {
  max-width: 69.0625rem;
  /* 1105px */
  width: 100%;
  height: 23.5rem;
  /* 376px */
  margin: 0 auto;
  border-radius: 0.5rem;
  /* 8px */
  overflow: hidden;
  border: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.top-dentists-map-inner {
  width: 100%;
  height: 100%;
}

.top-dentists-map-inner .leaflet-container {
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
}

@media (max-width: 768px) {
  .top-dentists-container {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .top-dentists-video-player {
    max-height: 15rem;
  }

  .top-dentists-map {
    height: 18rem;
  }
}

/* Legacy map container - keep for backwards compatibility */
.map-container {
  position: relative;
  height: 20rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid var(--primary);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .map-container {
    height: 24rem;
  }
}

.homepage-map {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  z-index: 1;
}

.homepage-map.leaflet-container {
  width: 100%;
  height: 100%;
  min-height: 20rem;
}

@media (min-width: 768px) {

  .homepage-map,
  .homepage-map.leaflet-container {
    min-height: 24rem;
  }
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: var(--foreground);
  font-size: 1rem;
}

.map-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAwIDEwIEwgNDAgMTAgTSAxMCAwIEwgMTAgNDAgTSAwIDIwIEwgNDAgMjAgTSAyMCAwIEwgMjAgNDAgTSAwIDMwIEwgNDAgMzAgTSAzMCAwIEwgMzAgNDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2U1ZTdlYiIgc3Ryb2tlLXdpZHRoPSIxIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyaWQpIi8+PC9zdmc+");
}

.map-marker {
  position: absolute;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px hsla(168, 80%, 32%, 0.3);
}

.marker-dot {
  width: 0.75rem;
  height: 0.75rem;
  background-color: white;
  border-radius: 9999px;
}

.marker-1 {
  top: 25%;
  left: 25%;
}

.marker-2 {
  top: 50%;
  left: 50%;
}

.marker-3 {
  top: 33%;
  right: 25%;
}

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

@media (min-width: 1024px) {
  .video-thumbs {
    grid-template-columns: 1fr;
  }
}

.video-thumb {
  height: 8rem;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .video-thumb {
    height: calc(50% - 0.5rem);
  }
}

.video-thumb-alt {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.play-btn-small {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px hsla(168, 80%, 32%, 0.3);
  transition: transform 0.3s ease;
}

.video-thumb:hover .play-btn-small {
  transform: scale(1.1);
}

/* ==================== Featured Offices Section ==================== */
.featured-offices {
  background-color: var(--background);
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .featured-offices {
    padding: 5rem 1rem;
  }
}

.offices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .offices-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.office-card {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.office-card:hover {
  box-shadow: 0 20px 40px -10px hsla(220, 20%, 20%, 0.15);
}

.office-video {
  position: relative;
  height: 11rem;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
}

.office-video img,
.office-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 🔥 keeps proportions */
  display: block;
}

.office-video .play-btn {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.featured-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background-color: hsla(168, 80%, 32%, 0.9);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 9999px;
  animation: pulse 2s infinite;
}

.play-btn {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px hsla(168, 80%, 32%, 0.3);
  transition: transform 0.3s ease;
}

.office-card:hover .play-btn {
  transform: scale(1.1);
}

.play-btn svg {
  margin-left: 2px;
}

.office-content {
  padding: 1rem;
}

.office-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.office-specialty {
  font-size: 0.75rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.office-info {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.info-row svg {
  color: var(--primary);
  flex-shrink: 0;
}

.rating {
  color: var(--foreground);
  font-weight: 500;
}

.reviews {
  color: var(--muted-foreground);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.pagination-btn {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: background-color 0.3s ease;
}

.pagination-btn:hover {
  background-color: var(--muted);
}

.pagination-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--border);
}

.dot.active {
  background-color: var(--primary);
}

/* ==================== Knowledge Section ==================== */
.knowledge {
  background-color: var(--light-cyan);
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .knowledge {
    padding: 5rem 1rem;
  }
}

.video-card {
  background-color: white;
  border-radius: 1rem;
  /* overflow: hidden; */
  box-shadow: 0 4px 12px hsla(220, 20%, 20%, 0.08);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--primary), hsl(175, 50%, 40%));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.75rem;
}

.video-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
  position: relative;
  z-index: 2;
}

/* Ensure no overlay blocks video controls in knowledge section */
.knowledge .video-thumbnail::after {
  display: none;
}

.play-btn-lg {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px hsla(168, 80%, 32%, 0.4);
  transition: transform 0.3s ease;
  cursor: pointer;
}

@media (min-width: 768px) {
  .play-btn-lg {
    width: 5rem;
    height: 5rem;
  }
}

.play-btn-lg:hover {
  transform: scale(1.1);
}

.play-btn-lg svg {
  margin-left: 4px;
}

.video-info {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .video-info {
    padding: 2rem;
  }
}

.video-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .video-title {
    font-size: 1.5rem;
  }
}

.video-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .video-desc {
    font-size: 1rem;
  }
}

/* ==================== Explore Topics Section ==================== */
.explore-topics {
  background-color: var(--light-cyan);
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .explore-topics {
    padding: 5rem 1rem;
  }
}

.accordion-container {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  background-color: white;
  border-radius: 0.5rem;
  padding: 0 1.5rem;
  box-shadow: 0 2px 8px hsla(220, 20%, 20%, 0.05);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  list-style: none;
}

.accordion-trigger::-webkit-details-marker {
  display: none;
}

.accordion-icon {
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

details[open] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ==================== Reviews Section ==================== */
.reviews {
  background-color: var(--background);
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .reviews {
    padding: 5rem 1rem;
  }
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background-color: white;
  border: 1px solid hsla(220, 13%, 91%, 0.5);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: box-shadow 0.3s ease;
}

.review-card:hover {
  box-shadow: 0 12px 32px hsla(220, 20%, 20%, 0.1);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background-color: hsl(220, 10%, 85%);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(220, 10%, 60%);
  flex-shrink: 0;
}

.review-user-info {
  flex: 1;
  min-width: 0;
}

.review-user {
  font-size: 0.875rem;
  color: var(--foreground);
}

.review-time {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.review-office {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.yelp-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.star {
  width: 1rem;
  height: 1rem;
  border-radius: 2px;
}

.review-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--primary), hsl(175, 50%, 40%));
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: hsla(0, 0%, 0%, 0.2);
  border-radius: 0.5rem;
}

.review-video .play-btn {
  position: relative;
  z-index: 1;
}

.review-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.review-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid hsla(220, 13%, 91%, 0.3);
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  color: var(--muted-foreground);
  border-radius: 0.25rem;
  transition: background-color 0.2s ease;
}

.action-btn:hover {
  background-color: var(--muted);
}

.action-btn span {
  font-size: 0.75rem;
}

/* ==================== How It Works Section ==================== */
.how-it-works {
  background-color: var(--light-cyan);
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .how-it-works {
    padding: 5rem 1rem;
  }
}

.how-it-works .section-header {
  margin-bottom: 3rem;
}

.how-it-works .section-title-italic {
  font-size: 1.75rem;
  font-weight: 700;
  font-style: normal;
  color: #1e3a5f;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .how-it-works .section-title-italic {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .how-it-works .section-title-italic {
    font-size: 2.25rem;
  }
}

.how-it-works .section-subtitle {
  font-size: 0.9375rem;
  color: #1e3a5f;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

@media (min-width: 768px) {
  .how-it-works .section-subtitle {
    font-size: 1rem;
  }
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
}

/* Step 2: On mobile, show image first (like step-left) */
.step-right {
  flex-direction: column;
}

.step-right .step-image {
  order: -1;
}

@media (min-width: 768px) {
  .step {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
  }

  .step:last-child {
    margin-bottom: 0;
  }

  /* Step 2: On desktop, Content left, Image right (normal row direction) */
  .step-right {
    flex-direction: row;
  }

  .step-right .step-image {
    order: 0;
  }
}

.step-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-image-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.75rem;
  display: block;
}

.step-image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #e8f5f3, #d4ede8);
  border-radius: 0.75rem;
}

@media (min-width: 768px) {
  .step-image-placeholder {
    height: 400px;
  }
}

@media (min-width: 768px) {
  .step-image {
    flex: 0 0 45%;
  }

  .step-image-img {
    max-width: 100%;
    height: auto;
  }

}

.step-content {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .step-content {
    flex: 0 0 50%;
    padding: 0 2rem;
    text-align: center;
  }
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 768px) {
  .step-title {
    font-size: 1.25rem;
  }
}

.step-subtitle-small {
  font-size: 0.875rem;
  color: #1e3a5f;
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

.step-desc {
  font-size: 0.875rem;
  color: #1e3a5f;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .step-desc {
    font-size: 0.9375rem;
  }
}

/* ==================== FAQ Section ==================== */
.faq {
  background-color: var(--bg-faq);
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .faq {
    padding: 5rem 1rem;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.faq-item {
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.2);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: white;
  cursor: pointer;
  list-style: none;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .faq-trigger {
    font-size: 1rem;
  }
}

.faq-trigger::-webkit-details-marker {
  display: none;
}

.faq-trigger span {
  flex: 1;
  text-align: left;
}

.faq-icon {
  color: var(--primary-light);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

details[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding-bottom: 1rem;
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.8);
}

/* ==================== Footer ==================== */
.footer {
  background-color: var(--primary);
  color: white;
  padding: 3rem 1rem 1.5rem;
  flex-shrink: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.8);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-links a.underline {
  text-decoration: underline;
}

.footer-bottom {
  background-color: var(--primary);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}

.footer-logo-link {
  flex: 0 0 auto;
}

.footer-logo-img {
  height: 45.12px;
  width: 106.95px;
}

.footer-copyright {
  flex: 1;
  font-size: 0.75rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.footer-spacer {
  width: 6rem;
  /* Same as logo width to balance centering */
}

/* ==================== Animations ==================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-card {
  background: white;
  max-width: 480px;
  width: 90%;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}

.modal-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #10b981;
  color: white;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.office-dropdown {
  position: relative;
}

.office-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-weight: 500;
  cursor: pointer;
  color: #0f172a;
}

.office-trigger:hover {
  color: #0ea5a4;
}

.office-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.office-menu-item {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
  text-align: left;
  width: 100%;
}

.office-menu-item:hover {
  background: #f1f5f9;
}

.office-dropdown:hover .office-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chevron {
  transition: transform 0.2s ease;
}

.office-dropdown:hover .chevron {
  transform: rotate(180deg);
}


/* ==================== FAQ Page Styles ==================== */
/* Make the layout's main flex for FAQ page */
main {
  flex: 1;
}

main:has(.faq-page) {
  display: flex;
  flex-direction: column;
}

.faq-page {
  background-color: #f9fafb;
  padding: 3rem 1rem 3rem;
  flex: 1;
}

.faq-page .container {
  max-width: 56rem;
  margin: 0 auto;
}

.faq-page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #14b8a6;
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-page .faq-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.faq-page .faq-card {
  background-color: #ffffff;
  border: 1px solid var(--color-primary-100, #B0EDE7);
  border-radius: 0.75rem;
  overflow: hidden;
}

.faq-page .faq-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  padding: 1.25rem 1.5rem;
  margin: 0;
  background: #ffffff;
}

.faq-page .faq-item {
  border-top: 1px solid #e5e7eb;
}

.faq-page .faq-item:last-child {
  border-bottom: none;
}

.faq-page .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #374151;
  transition: background-color 0.2s ease;
}

.faq-page .faq-question:hover {
  background-color: #f9fafb;
}

.faq-page .faq-question span {
  flex: 1;
  color: #374151;
}

.faq-page .faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: #111827;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-page .faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-page .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #ffffff;
}

.faq-page .faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-page .faq-answer-content {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Legacy page-title for backwards compatibility */
.page-title {
  font-size: 36px;
  font-weight: 700;
  color: #0d9488;
  text-align: center;
  margin-bottom: 48px;
}

/* Legacy faq-sec for backwards compatibility */
.faq-sec {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.faq-sec .section-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.faq-sec .section-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.faq-sec .faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-sec .faq-item:last-child {
  border-bottom: none;
}

.faq-sec .faq-qtn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
  transition: background-color 0.2s;
}

.faq-sec .faq-qtn:hover {
  background-color: #f9fafb;
}

.faq-sec .faq-qtn svg {
  width: 20px;
  height: 20px;
  color: #9ca3af;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-sec .faq-item.open .faq-qtn svg {
  transform: rotate(180deg);
}

.faq-sec .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-sec .faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-sec .faq-answer-content {
  padding: 0 24px 16px 24px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-page {
    padding: 2rem 1rem 3rem;
  }

  .faq-page-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .faq-page .faq-card-title {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }

  .faq-page .faq-question {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }

  .faq-page .faq-answer-content {
    padding: 0 1.25rem 1rem 1.25rem;
    font-size: 0.8125rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
  }

  .search-inputs {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 12px;
  }

  .header-right {
    gap: 8px;
  }

  .register-link {
    display: none;
  }

  .page-title {
    font-size: 28px;
  }

  .faq-sec .faq-qtn {
    padding: 14px 20px;
    font-size: 14px;
  }

  .faq-sec .faq-answer-content {
    padding: 0 20px 14px 20px;
    font-size: 13px;
  }
}

.view-all-wrapper {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.view-all-btn {
  padding: 10px 28px;
  border: 1.5px solid #1cc7b6;
  border-radius: 999px;
  background: transparent;
  color: #1cc7b6;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.view-all-btn:hover {
  background: #1cc7b6;
  color: #ffffff;
}

/* ==================== Spotlight on Excellence Section ==================== */
.spotlight-section {
  background-color: white;
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .spotlight-section {
    padding: 5rem 1rem;
  }
}

.spotlight-section .section-header {
  margin-bottom: 3rem;
}

.spotlight-offices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .spotlight-offices-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.spotlight-office-card {
  background-color: white;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  overflow: hidden;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  /* transition: box-shadow 0.3s ease; */
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.spotlight-office-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #d1d5db;
}

.spotlight-office-video {
  position: relative;
  height: 12rem;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem 0.75rem 0.75rem 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
  width: 90%;
  margin: 5%;
  pointer-events: none;
}

.spotlight-office-video img,
.spotlight-office-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotlight-video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.spotlight-play-btn {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  background-color: #1cc7b6;
  border-radius: 9999px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(28, 199, 182, 0.4);
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
  z-index: 10;
}

.spotlight-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.spotlight-play-btn svg {
  margin-left: 3px;
  width: 24px;
  height: 24px;
}

/* Image link for spotlight cards without video */
.spotlight-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.spotlight-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-office-content {
  padding: 1.5rem;
  border-radius: 0 0 0.75rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: white;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

.spotlight-office-content:hover {
  background-color: #f9fafb;
}

.spotlight-office-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.spotlight-office-address {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.spotlight-office-description {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

.spotlight-view-all {
  margin-top: 2.5rem;
  margin-bottom: 0;
}

.btn-outline-teal {
  padding: 10px 28px;
  border: 1.5px solid #1cc7b6;
  border-radius: 999px;
  background: white;
  color: #1cc7b6;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-outline-teal:hover {
  background: #1cc7b6;
  color: #ffffff;
}

/* Positioning container */
.search-location-group {
  position: relative;
}

/* Suggestions dropdown */
.suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #dfe1e5;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(32, 33, 36, 0.28);
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

/* Each suggestion */
.suggestion-item {
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.2s;
}

/* Hover + keyboard highlight */
.suggestion-item:hover,
.suggestion-item.highlight {
  background-color: #e8f0fe;
}

/* No results / error */
.no-result,
.error {
  padding: 10px 15px;
  font-style: italic;
  color: #5f6368;
}
/* Import: pages/office.css */

/* Import: pages/search.css */
/* Search Page - Using New Layout from listing_with_map.css */

/* Override old search-main styles to use new layout */
.search-main {
  padding: 0 !important;
  display: block !important;
}

.search-main .listing-map-container {
  display: flex;
  position: relative;
  background: white;
}

/* Keep old styles for compatibility */
/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #00524B;
  --primary-foreground: hsl(0, 0%, 100%);
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(222, 47%, 11%);
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  --border: hsl(214, 32%, 91%);
  --amber: hsl(45, 93%, 47%);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

/* Header */
.search-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo img {
  height: 2.5rem;
  width: auto;
  display: block;
}

/* Header Search Bar */
.header-search-bar {
  flex: 1;
  max-width: 700px;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.header-search-bar:focus-within {
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.header-search-form {
  display: flex;
  align-items: center;
  width: 100%;
}

.search-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  position: relative;
}

.search-divider {
  width: 1px;
  height: 20px;
  background-color: #e5e7eb;
}

.search-icon {
  color: #9ca3af;
  margin-right: 0.75rem;
}

.header-search-bar .search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.9375rem;
  color: #1f2937;
  padding: 0.5rem 0;
  outline: none;
}

.search-input::placeholder {
  color: #9ca3af;
}

.header-search-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #14b8a6;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-search-btn:hover {
  background-color: #0d9488;
  transform: translateY(-1px);
}

/* Header Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.office-trigger {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: transparent;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  padding: 0.5rem;
}

.office-trigger:hover {
  color: #111827;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid #14b8a6;
  color: #14b8a6;
  border-radius: 9999px;
  padding: 0.5rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.login-btn:hover {
  background-color: #14b8a6;
  color: #ffffff;
}

/* Main Layout */
.search-main {
  display: flex;
  min-height: calc(100vh - 64px);
}

.results-column {
  flex: 1;
  max-width: 640px;
  border-right: 1px solid var(--border);
}

.results-header {
  padding: 1rem 1.5rem;
}

.results-header h1 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Office Card styles moved to app/assets/tailwind/components/office_card.css */

/* Map Column */
.map-column {
  flex: 1;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  max-height: calc(100vh - 64px);
  align-self: flex-start;
  overflow: hidden;
}

.map-container {
  position: relative;
  height: 100%;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(200, 40%, 90%), hsl(200, 50%, 85%));
}

.map-grid {
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.map-marker {
  position: absolute;
  width: 32px;
  height: 32px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.expand-map-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s;
}

.expand-map-btn:hover {
  background-color: var(--muted);
}

.map-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.map-control-btn {
  width: 40px;
  height: 40px;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--foreground);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s;
}

.map-control-btn:hover {
  background-color: var(--muted);
}

/* Responsive */
@media (max-width: 1024px) {

  /* Map column now handled by listing_with_map.css with proper proportions */
  .results-column {
    max-width: 100%;
    border-right: none;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .header-search-bar {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .register-link {
    display: none;
  }

  .office-card-inner {
    flex-direction: column;
  }

  .office-left {
    width: 100%;
  }
}

/* Show office css */

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

:root {
  --primary: #00524B;
  --primary-foreground: hsl(0, 0%, 100%);
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(222, 47%, 11%);
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  --border: hsl(214, 32%, 91%);
  --amber: hsl(45, 93%, 47%);
  --card-accent: hsl(168, 80%, 32%);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header - same as search page */
.search-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  flex-shrink: 0;
}

.header-search-bar {
  flex: 1;
  max-width: 600px;
  display: flex;
  align-items: center;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 9999px;
}

.header-search-form {
  display: flex;
  align-items: center;
  width: 100%;
}

.search-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.625rem;
}

.search-divider {
  width: 1px;
  height: 24px;
  background-color: var(--border);
}

.search-icon {
  color: var(--muted-foreground);
  flex-shrink: 0;
  margin-right: 0.75rem;
  min-width: 16px;
}

.header-search-bar .search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  color: var(--foreground);
  padding: 0.5rem 0;
  outline: none;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--muted-foreground);
}

.header-search-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  margin: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.header-search-btn:hover {
  background-color: hsl(168, 80%, 28%);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.register-link {
  font-size: 0.875rem;
  color: var(--foreground);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.register-link:hover {
  opacity: 1;
}

.login-btn {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.login-btn:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .separator {
  color: var(--muted-foreground);
  margin: 0 0.5rem;
}

.breadcrumb .current {
  color: var(--foreground);
  font-weight: 500;
}

/* Hero Media */
.hero-media {
  padding: 0 0 1.5rem;
}

#map {
  width: 100%;
  height: 300px;
  /* MUST be > 0 */
  background: #eee;
}

.hero-video {
  width: 100%;
  max-width: 1100px;
  height: 420px;
  /* 👈 CONTROL HEIGHT */
  margin: 0 auto 24px;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 👈 Prevent stretching */
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-video-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 16/7;
  background-color: var(--muted);
}

.hero-video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn-large {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-color: var(--primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.play-btn-large svg {
  color: var(--primary-foreground);
  margin-left: 4px;
}

.play-btn-large:hover {
  background-color: hsl(168, 80%, 28%);
  transform: translate(-50%, -50%) scale(1.05);
}

/* Office Info Card */
.office-info-card {
  background-color: #E6F9F7;
  position: relative;
  z-index: 10;
  padding-bottom: 2rem;
}

.office-card-wrapper {
  margin-left: -11%;
  background-color: #E6F9F7;
  overflow: visible;
}

.office-card-content {
  padding: 1.5rem;
  margin-right: -8%;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.office-logo-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--muted);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.office-logo-large span {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.office-details {
  flex: 1;
}

.badges-row {
  margin-bottom: 0.5rem;
}

.patient-choice-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: hsla(168, 80%, 32%, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--primary);
}

.office-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.rank-badge {
  display: inline-block;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.office-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.office-address svg {
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.stars {
  display: flex;
  gap: 3px;
}

.star {
  width: 16px;
  height: 16px;
  position: relative;
}

.star::before {
  content: "★";
  position: absolute;
  color: #e4e5e9;
  font-size: 16px;
}

.star.full::before {
  color: #f4b400;
}

.star.half::before {
  background: linear-gradient(90deg, #f4b400 50%, #e4e5e9 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rating-number {
  font-weight: bold;
  margin-right: 5px;
}

.review-count {
  color: #555;
}

.office-rating-large {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  display: flex;
}

.star {
  width: 18px;
  height: 18px;
  cursor: pointer;
  font-size: 22px;
  color: #ccc;
}

.stars-input {
  font-size: 24px;
  cursor: pointer;
}

.star {
  color: #d1d5db;
  /* gray */
}

.star.active {
  color: #f5b301;
}

.rating-error {
  margin-top: 6px;
  color: #d32f2f;
  font-size: 14px;
}

.star.active {
  color: #facc15;
  /* yellow */
}

.star.filled {
  fill: var(--amber);
  color: var(--amber);
}

.stars.small .star {
  width: 14px;
  height: 14px;
}

.rating-number {
  font-size: 0.875rem;
  font-weight: 600;
}

.review-count {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.office-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

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

.action-btn.outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Main Content Grid */
.main-content {
  padding: 2rem 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
}

.content-left {
  min-width: 0;
}

/* Highlights Section */
.highlights-section {
  margin-bottom: 3rem;
}

.highlights-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.highlight-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
}

.highlight-icon {
  width: 40px;
  height: 40px;
  background-color: hsla(168, 80%, 32%, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon svg {
  color: var(--primary);
}

.highlight-content h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.highlight-content p {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* Gallery Section */
.gallery-section {
  margin-bottom: 3rem;
}

.gallery-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.gallery-item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--muted);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.play-btn-small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background-color: var(--primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.play-btn-small svg {
  color: var(--primary-foreground);
  margin-left: 2px;
}

/* Location Section */
.location-section {
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.location-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.map-placeholder-small {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, hsl(200, 40%, 90%), hsl(200, 50%, 85%));
}

.map-marker-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary);
}

.location-details h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.location-details p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
  margin-top: 0.75rem;
}

.contact-item svg {
  color: var(--muted-foreground);
}

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 0.75rem;
}

.directions-link:hover {
  text-decoration: underline;
}

/* Reviews Section */
.reviews-section {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.reviews-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Write Review Button */
.write-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, #18a899 100%);
  border: none;
  color: white;
  border-radius: 8px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 82, 75, 0.15);
}

.write-review-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 82, 75, 0.25);
}

.write-review-btn:active {
  transform: translateY(0);
}

/* Write Review Form Container */
.write-review {
  background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 0;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.write-review.hidden {
  display: none;
}

.write-review-form {
  display: flex;
  flex-direction: column;
}

/* Rating Section - Highlighted */
.review-form-rating {
  background: linear-gradient(135deg, #f8fffe 0%, #f0fdf4 100%);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e8e8e8;
}

.review-form-section {
  padding: 0 2rem;
  padding-top: 1.5rem;
}

.review-form-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.01em;
}

/* Star Rating - Interactive */
.stars-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars-input .star {
  font-size: 2.25rem;
  color: #d4d4d4;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  background: none !important;
  width: auto !important;
  height: auto !important;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stars-input .star:hover {
  color: #fbbf24;
  transform: scale(1.15) rotate(-5deg);
}

.stars-input .star.active {
  color: #f59e0b;
  transform: scale(1.1);
  text-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.stars-input .star:hover~.star {
  color: #d4d4d4;
}

.review-error {
  display: inline-block;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 1rem;
  padding: 0.25rem 0.5rem;
  background: #fef2f2;
  border-radius: 4px;
}

/* Form Fields Container */
.review-form-fields {
  padding: 1.5rem 2rem;
}

/* Form Row Layout */
.review-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .review-form-row {
    grid-template-columns: 1fr;
  }

  .write-review {
    border-radius: 12px;
  }

  .review-form-rating,
  .review-form-fields,
  .review-form-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.review-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.review-form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.review-form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: #1f2937;
  background-color: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}

.review-form-input:hover {
  border-color: #d1d5db;
}

.review-form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 82, 75, 0.08);
}

.review-form-input::placeholder {
  color: #9ca3af;
}

/* Textarea */
.review-form-textarea {
  width: 100%;
  min-height: 140px;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9375rem;
  color: #1f2937;
  background-color: #ffffff;
  outline: none;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
  transition: all 0.2s ease;
}

.review-form-textarea:hover {
  border-color: #d1d5db;
}

.review-form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 82, 75, 0.08);
}

.review-form-textarea::placeholder {
  color: #9ca3af;
}

/* Form Actions */
.review-form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: #f9fafb;
  border-top: 1px solid #e8e8e8;
}

.review-cancel-btn {
  background: transparent;
  border: 2px solid #e5e7eb;
  color: #6b7280;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px;
}

.review-cancel-btn:hover {
  border-color: #d1d5db;
  color: #374151;
  background: #f3f4f6;
}

.review-submit-btn {
  background: linear-gradient(135deg, var(--primary) 0%, #18a899 100%);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 82, 75, 0.2);
}

.review-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 82, 75, 0.3);
}

.review-submit-btn:active {
  transform: scale(0.98);
}

/* Review Item */
.review-item {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  background-color: var(--background);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.reviewer-info h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--foreground);
}

/* Gold Stars for Reviews */
.reviewer-info .stars {
  display: flex;
  gap: 0.125rem;
}

.reviewer-info .stars.small {
  font-size: 1rem;
}

.review-star {
  color: #f59e0b;
  font-size: 1rem;
}

.review-date {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.review-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* View More Button */
.view-more-wrapper {
  text-align: center;
  padding: 1.5rem 0;
}

.view-more-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 9999px;
  padding: 0.625rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.view-more-btn:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Appointment Form */
.content-right {
  width: 105%;
  position: relative;
}

.appointment-form-card {
  position: sticky;
  top: 80px;
  background-color: var(--background);
  border: 1px solid #B0EDE7;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.appointment-form-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
  background-color: var(--background);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
}

.form-group input::placeholder {
  color: var(--muted-foreground);
}

.form-section {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-section h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.submit-btn {
  width: 100%;
  background-color: var(--background);
  border: 1px solid var(--foreground);
  color: var(--foreground);
  border-radius: 9999px;
  padding: 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-btn:hover {
  background-color: var(--foreground);
  color: var(--background);
}

/* FAQ Section */
.faq-section {
  background-color: hsl(168, 50%, 20%);
  padding: 4rem 0;
}

.faq-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-foreground);
  text-align: center;
  margin-bottom: 2rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: transparent;
  border: none;
  color: var(--primary-foreground);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
}

.faq-question svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Footer */
.footer {
  background-color: #00524B;
  padding: 4rem 0 2rem;
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
}

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

.footer-col h4 {
  color: var(--primary-foreground);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: hsla(0, 0%, 100%, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary-foreground);
}

.footer-bottom {
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-foreground);
}

.copyright {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-right {
    order: -1;
  }

  .appointment-form-card {
    position: static;
  }

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

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

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .header-search-bar {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .register-link {
    display: none;
  }

  .office-card-content {
    flex-direction: column;
    text-align: center;
  }

  .office-actions {
    justify-content: center;
    width: 100%;
  }

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

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

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

/* Old write-review styles removed - using new styling above */

.hidden {
  display: none;
}

/* Old pagination styles removed - using PaginationComponent now */

.old-pagination {
  display: flex;
  gap: 8px;
}

.old-pagination a,
.old-pagination span {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  color: #374151;
}

.old-pagination a:hover {
  background: #f3f4f6;
}

.old-pagination .current {
  background: #14b8a6;
  /* teal */
  color: #fff;
  border-color: #14b8a6;
}

.old-pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Hide modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-container {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  padding: 24px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.hidden {
  display: none;
}
/* Import: pages/appointment_request.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0d9488;
  text-decoration: none;
  font-style: italic;
  font-family: cursive;
}

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

.nav-link {
  font-size: 0.875rem;
  color: #1a1a1a;
  text-decoration: none;
}

.nav-link:hover {
  color: #0d9488;
}

.register-office-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0d9488;
  border: 1px solid #0d9488;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.login-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0d9488;
  border: 1px solid #0d9488;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.login-btn:hover {
  background-color: rgba(13, 148, 136, 0.05);
}

/* Teal Line */
.teal-line {
  height: 4px;
  background-color: #0d9488;
}

/* Main */
.main {
  flex: 1;
  padding: 2rem 1rem;
}

.appointment-container {
  max-width: 672px;
  margin: 0 auto;
}

.office-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-inner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-inner svg {
  width: 24px;
  height: 24px;
  color: #0d9488;
}

.office-info {
  flex: 1;
}

.office-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.office-detail {
  font-size: 0.875rem;
  color: #666666;
  line-height: 1.5;
}

/* Form Section */
.form-section {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.875rem;
  color: #666666;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.info-icon {
  color: #999999;
  font-size: 0.75rem;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 0.375rem;
  font-size: 1rem;
  color: #1a1a1a;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-input::placeholder {
  color: #999999;
}

/* Radio Group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #1a1a1a;
}

.radio-input {
  width: 16px;
  height: 16px;
  accent-color: #0d9488;
}

.gender-link {
  background: none;
  border: none;
  color: #0d9488;
  font-size: 0.875rem;
  cursor: pointer;
  text-align: left;
  padding: 0;
  margin-top: 0.5rem;
}

.gender-link:hover {
  text-decoration: underline;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 500;
  border: solid;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background-color: #0f766e;
}

/* Footer */
.footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.footer-help {
  background-color: #0d9488;
  padding: 0.75rem 1rem;
  margin: 0;
  order: 1;
}

.footer-help p {
  font-size: 0.875rem;
  color: #ffffff;
  margin: 0;
}

.footer-help a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.footer-help a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background-color: #0d9488;
  padding: 1rem;
  order: 2;
  width: 100%;
}

.appointment-footer-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

.footer-bottom .appointment-footer-container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #ffffff;
  order: 1;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  order: 2;
}

.social-links a {
  color: #ffffff;
  transition: color 0.2s;
}

.social-links a:hover {
  color: #ffffff;
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom .appointment-footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

appointment success CSS * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Container positioning */
.autocomplete-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  /* adjust as needed */
  margin: 20px auto;
  font-family: Arial, sans-serif;
}

/* Input box like Google search */
.autocomplete-input {
  width: 100%;
  padding: 10px 15px;
  font-size: 16px;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  outline: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}

/* Focus effect */
.autocomplete-input:focus {
  border-color: #4285f4;
  box-shadow: 0 1px 6px rgba(66, 133, 244, 0.3);
}

/* Suggestions dropdown */
.suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 2px;
  background: #fff;
  border: 1px solid #dfe1e5;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(32, 33, 36, 0.28);
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
}

/* Individual suggestion item */
.suggestion-item {
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.2s;
}

/* Hover / arrow key highlight */
.suggestion-item.highlight,
.suggestion-item:hover {
  background-color: #e8f0fe;
  /* subtle Google-blue highlight */
}

/* No results / error messages */
.no-result,
.error {
  padding: 10px 15px;
  color: #5f6368;
  font-style: italic;
}

/* Optional: scrollbar style */
.suggestions-list::-webkit-scrollbar {
  width: 6px;
}

.suggestions-list::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: #ffffff;
  color: #1a1a1a;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0d9488;
  text-decoration: none;
  font-style: italic;
  font-family: cursive;
}

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

.nav-link {
  font-size: 0.875rem;
  color: #1a1a1a;
  text-decoration: none;
}

.nav-link:hover {
  color: #0d9488;
}

.login-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0d9488;
  border: 1px solid #0d9488;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.login-btn:hover {
  background-color: rgba(13, 148, 136, 0.05);
}

/* Teal Line */
.teal-line {
  height: 4px;
  background-color: #0d9488;
}

/* Main */
.appointment-main {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(175, 50%, 95%);
  padding: 7rem 1rem;
}

.success-content {
  text-align: center;
}

/* Success Icon */
.success-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.success-icon .icon-inner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  color: #0d9488;
}

/* Success Message */
.success-title {
  font-size: 1.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.success-subtitle {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 2rem;
}

/* Back Button */
.back-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: #0d9488;
  border: 1px solid #0d9488;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.back-btn:hover {
  background-color: rgba(13, 148, 136, 0.05);
}

/* Footer */
/* Footer wrapper */
.footer {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  /* ensures it sticks to bottom when page content is short */
  width: 100%;
}

/* Footer help (top section) */
.footer-help {
  background-color: #0d9488;
  padding: 0.75rem 1rem;
  margin: 0;
  /* remove extra margins */
  order: 1;
  width: 100%;
}

.footer-help p {
  font-size: 0.875rem;
  color: #ffffff;
  margin: 0;
  /* remove extra margins */
}

.footer-help a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.footer-help a:hover {
  text-decoration: underline;
}

/* Footer bottom (main footer) - sticks to bottom */
.footer-bottom {
  background-color: #00524B;
  padding: 1rem 1rem;
  order: 2;
  width: 100%;
  margin-top: 0;
}

/* Container inside footer bottom */
.appointment-footer-container {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  /* left + right alignment */
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0 1rem;
}

/* LEFT: footer links */
.footer-links-1 {
  display: table-row;
  gap: 0px;
  flex-wrap: nowrap;
  white-space: nowrap;
  order: 1;
}

.footer-links-1 span {
  margin-left: 0;
  display: inline-block;
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-links-1 a {
  display: inline-block;
  margin-left: 6%;
  color: #ffffff;
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-links-1 a:hover {
  text-decoration: underline;
}

/* RIGHT: social icons */
.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  order: 2;
}

.social-links a {
  color: #ffffff;
  transition: color 0.2s;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .appointment-footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .footer-links {
    justify-content: center;
    white-space: normal;
    /* allow wrapping */
  }

  .social-links {
    justify-content: center;
  }
}


.hero-video-wrapper {
  position: relative;
}

.play-btn-large {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  padding: 20px;
  cursor: pointer;
  color: white;
  z-index: 10;
}

.hero-video,
video {
  width: 100%;
  display: block;
}
/* Import: pages/office_request.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #14b8a6;
    --primary-dark: #0d9488;
    --background: #ffffff;
    --foreground: #1a1a1a;
    --muted: #f4f4f5;
    --muted-foreground: #71717a;
    --border: #e4e4e7;
    --destructive: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
}

/* Header */
.header {
    border-bottom: 1px solid var(--border);
    background: var(--background);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 64px;
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: var(--primary);
    text-decoration: none;
}

/* Container: 2 columns */
.step0-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    /* spacing between columns */
    padding: 20px;
/* Step 0 Landing */
.step0-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 2rem 0;
}

.step0-card {
    flex: 1;
    max-width: 500px;
}

.step0-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1.5rem;
}

.step0-card hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.step0-subtitle {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.step0-search-row {
    margin-bottom: 1.5rem;
}

.step0-search-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.step0-search-input:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.step0-btn {
    width: 100%;
    padding: 1rem;
    background-color: #14b8a6;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.step0-btn:hover {
    background-color: #0d9488;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.2);
}

.step0-image {
    flex: 1;
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?auto=format&fit=crop&q=80&w=800');
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 968px) {
    .step0-container {
        flex-direction: column;
        text-align: center;
    }
    
    .step0-image {
        width: 100%;
        height: 300px;
    }
}

/* Main Content */
.main-content-office-request {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.form-container {
    width: 100%;
}

.page-header {
    text-align: left;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.page-header hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.form-card {
    background: white;
    padding: 0;
}

.form-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

/* Step Title */
.step-title-text {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

/* Form Grid */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-row.three-col {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
    color: #1f2937;
    background-color: white;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

/* Select Styling */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* ── intl-tel-input overrides ────────────────────────── */
.iti-wrap {
    width: 100%;
}

.iti {
    width: 100%;
}

.iti-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3.5rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    height: auto !important;
}

.iti-input:focus {
    border-color: #14b8a6 !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1) !important;
}

.iti__selected-flag {
    padding-left: 1rem !important;
    border-radius: 10px 0 0 10px !important;
}

/* Checkbox Row */
.contact_mobile-checkbox {
    margin: 2rem 0;
}

.contact_mobile-checkbox .form-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.875rem;
}

.contact_mobile-checkbox input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
    cursor: pointer;
    border: 1.5px solid #d1d5db;
    border-radius: 4px;
    accent-color: #14b8a6;
    flex-shrink: 0;
}

.contact_mobile-checkbox span {
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.6;
    max-width: 500px;
}

/* File Upload */
.file-upload {
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: #f9fafb;
    transition: all 0.2s ease;
}

.file-upload:hover {
    border-color: #14b8a6;
    background: #f0fdfa;
}

.file-upload svg {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.file-upload p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
}

/* Info Box */
.info-box {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.info-box h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-box li {
    font-size: 0.875rem;
    color: #4b5563;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.info-box li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #14b8a6;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #14b8a6;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #0d9488;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.btn-outline {
    background: white;
    border: 1px solid #d1d5db;
    color: #374151;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row,
    .form-row.three-col {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

.availability-checkbox {
    margin: -48%;
}
/* Import: pages/services.css */
/* Hero Section */
.hero-section {
  background: hsl(180, 40%, 97%);
  padding: 3rem 1rem 4rem;
}

.hero-container {
  max-width: 56rem;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h1,
.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(220, 20%, 20%);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: hsl(220, 10%, 50%);
  font-size: 0.875rem;
}

.video-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
  background: hsl(168, 80%, 32%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
  margin-left: 4px;
}

.video-content {
  padding: 1.5rem 2rem;
}

.video-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(220, 20%, 20%);
  margin-bottom: 0.5rem;
}

.video-content p {
  color: hsl(220, 10%, 50%);
  font-size: 0.875rem;
}

/* Teal Divider */
.teal-divider {
  height: 0.5rem;
  background: hsl(168, 80%, 32%);
}

/* Benefits Section */
.benefits-section {
  background: hsl(180, 40%, 97%);
  padding: 3rem 1rem 4rem;
}

.benefits-container {
  max-width: 56rem;
  margin: 0 auto;
}

.benefits-container h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(220, 20%, 20%);
  text-align: center;
  margin-bottom: 2.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.benefit-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid hsl(220, 13%, 91%);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.check-icon {
  color: hsl(168, 80%, 32%);
  flex-shrink: 0;
}

.benefit-card span {
  font-weight: 500;
  color: hsl(220, 20%, 20%);
}

/* Explore Section */
.explore-section {
  background: hsl(180, 40%, 97%);
  padding: 3rem 1rem 4rem;
}

.explore-container {
  max-width: 72rem;
  margin: 0 auto;
}

.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.topic-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.topic-thumbnail {
  position: relative;
  aspect-ratio: 4 / 3;
}

.topic-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button-small {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  background: hsl(168, 80%, 32%);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.play-button-small:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button-small svg {
  margin-left: 2px;
}

.topic-content {
  padding: 1.25rem;
}

.topic-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(220, 20%, 20%);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.topic-content .author {
  color: hsl(220, 10%, 50%);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.topic-content .views {
  color: hsl(220, 10%, 50%);
  font-size: 0.875rem;
}

.view-more-container {
  text-align: center;
}

.view-more-btn {
  background: hsl(168, 80%, 32%);
  color: #ffffff;
  border: none;
  border-radius: 0.375rem;
  padding: 0.625rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-more-btn:hover {
  background: hsl(168, 80%, 28%);
  box-shadow: 0 4px 20px -4px hsla(168, 80%, 32%, 0.5);
}

/* CTA Section */
.cta-section {
  background: hsl(168, 80%, 32%);
  overflow: hidden;
}

.cta-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-content {
  text-align: center;
  z-index: 1;
}

.cta-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 0.375rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #ffffff;
  color: hsl(168, 80%, 32%);
}

.cta-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 0.5rem;
  object-fit: cover;
}
/* Import: pages/review.css */
/* Main Content */
.main-content {
  padding: 32px 16px;
}

/* Page Header */
.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #212121;
}

.page-subtitle {
  font-size: 16px;
  color: #757575;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

/* Review Card */
.review-card {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Review Header */
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-weight: 600;
  font-size: 14px;
  color: #212121;
}

.review-time {
  font-size: 12px;
  color: #757575;
}

/* Business Info */
.business-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.business-name {
  font-size: 16px;
  font-weight: 700;
  color: #212121;
}

/* Star Rating */
.star-rating {
  display: flex;
  gap: 2px;
}

.star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  color: #757575;
}

.star.filled {
  background-color: #E53935;
  color: #ffffff;
}

/* Review Text */
.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: #212121;
}

/* Video Thumbnail */
.video-thumbnail {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.thumbnail-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.video-thumbnail::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
}

.video-thumbnail:hover::after {
  background-color: rgba(0, 0, 0, 0.3);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background-color: #00BFA5;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.play-button svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
  margin-left: 3px;
}

/* Card Actions */
.card-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: #757575;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.action-btn:hover {
  color: #212121;
}

.action-btn svg {
  width: 20px;
  height: 20px;
}

.action-btn span {
  font-size: 14px;
}

/* See More Button */
.see-more-wrapper {
  display: flex;
  justify-content: center;
}

.see-more-btn {
  padding: 14px 40px;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

}
/* Import: pages/offices_listing.css */
/* Offices Listing Page Styles */

.offices-listing-page {
  background: #f9fafb;
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

/* Hero Section */
.offices-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.offices-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 30%;
  background-repeat: no-repeat;
}

.offices-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.offices-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
}

.offices-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

.offices-hero-title .text-primary {
  color: #14b8a6;
}

.offices-hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

@media (max-width: 768px) {
  .offices-hero {
    height: 220px;
  }

  .offices-hero-title {
    font-size: 1.75rem;
  }

  .offices-hero-subtitle {
    font-size: 1rem;
  }
}

.offices-listing-page .container {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Search Bar */
.offices-search-bar {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.search-form {
  width: 100%;
}

.search-inputs {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.offices-search-bar .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

.btn-search {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #14b8a6;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-search:hover {
  background: #0d9488;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .offices-listing-page {
    padding: 1rem 0;
  }

  .offices-search-bar {
    padding: 1rem;
  }

  .search-inputs {
    flex-direction: column;
  }

  .btn-search {
    width: 100%;
    justify-content: center;
  }
}


/* Import: pages/listing_with_map.css */
/* Listing with Map Layout */

.listing-map-container {
  display: flex;
  background: white;
  transition: all 0.3s ease;
  align-items: stretch;
  position: relative;
}

/* Left Column: Listings */
.listing-column {
  flex: 1;
  min-width: 0;
  max-width: 991px;
  display: flex;
  flex-direction: column;
  background: white;
  overflow-y: auto;
  transition: all 0.3s ease;
}

/* Right Column: Map (remaining width) */
.map-column {
  flex: 0 0 auto;
  width: calc(100% - 991px);
  min-width: 350px;
  position: sticky;
  top: 64px;
  background: #f3f4f6;
  height: calc(100vh - 64px);
  max-height: calc(100vh - 64px);
  transition: all 0.3s ease;
  align-self: flex-start;
  overflow: hidden;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
}

/* Expand Map Button */
.expand-map-btn {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.expand-map-btn:hover {
  background: #f9fafb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.expand-map-btn svg {
  width: 14px;
  height: 14px;
}

/* Map Controls */
.map-controls {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 10;
}

.map-control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.map-control-btn:hover {
  background: #f9fafb;
}

/* Expanded State */
.map-expanded .listing-column {
  width: 0;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
}

.map-expanded .map-column {
  flex: 1;
  width: 100%;
}

.map-expanded .expand-map-btn {
  left: 1rem;
}

/* Search Bar in Listings */
.listing-column .offices-search-bar {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem;
  position: sticky;
  top: 0;
  z-index: 20;
}

.listing-column .search-form {
  max-width: 100%;
}

.listing-column .search-inputs {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.listing-column .search-input-wrapper {
  flex: 1;
  position: relative;
}

.listing-column .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.listing-column .form-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.listing-column .form-input:focus {
  outline: none;
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.listing-column .form-input::placeholder {
  color: #9ca3af;
}

.listing-column .btn-search {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #14b8a6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.listing-column .btn-search:hover {
  background: #0d9488;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* Office List within Listing Column */
.listing-column .office-list {
  flex: 1;
  padding: 0;
}

.listing-column .office-list-header {
  padding: 1.5rem;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.listing-column .office-list-items {
  background: white;
}

/* Responsive Design */
@media (max-width: 1350px) {
  .listing-column {
    flex: 0 0 65%;
    max-width: 65%;
  }

  .map-column {
    flex: 0 0 35%;
    width: 35%;
    max-width: 35%;
    min-width: 0;
  }
}

@media (max-width: 1024px) {
  .listing-column {
    flex: 0 0 55%;
    max-width: 55%;
  }

  .map-column {
    flex: 0 0 45%;
    width: 45%;
    max-width: 45%;
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .listing-column {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .map-column {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .listing-map-container {
    flex-direction: column;
  }

  .listing-column {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .map-column {
    flex: 0 0 300px;
    max-width: 100%;
    position: relative;
    top: 0;
    height: 300px;
    max-height: 300px;
  }

  .map-expanded .listing-column {
    flex: 0 0 0%;
    max-width: 0%;
    height: 0;
  }

  .map-expanded .map-column {
    flex: 0 0 100vh;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
  }

  .listing-column .search-inputs {
    flex-direction: column;
  }

  .listing-column .btn-search {
    width: 100%;
    justify-content: center;
  }
}
/* Import: pages/privacy_policy.css */
.center-box {
    width: 80%;
    margin: 100px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
}

.center-box h1 {
    text-align: left;
    margin-bottom: 20px;
}

.center-box h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 20px;
}

.center-box p {
    margin-bottom: 15px;
}

.center-box ul {
    list-style: none;
    /* Remove default bullets */
    padding-left: 0;
}

.center-box ul li {
    position: relative;
    padding-left: 20px;
    /* space for dot */
    margin-bottom: 10px;
}

/* Add custom dot at the start */
.center-box ul li::before {
    content: ".";
    /* This is the dot */
    position: absolute;
    left: 0;
    color: #333;
    /* Dot color */
    font-weight: bold;
}

.contact-page {
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    font-family: 'Arial', sans-serif;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #222;
}

.contact-page h1 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-page .subtitle {
    text-align: center;
    font-size: 15px;
    color: #555;
    margin-bottom: 8px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.lg\:flex-row {
    flex-direction: row;
}

.gap-8 {
    gap: 32px;
}

.flex-1 {
    flex: 1;
}

.space-y-6>*+* {
    margin-top: 24px;
}

.space-y-4>*+* {
    margin-top: 16px;
}

/* Contact Info Boxes */
.contact-page .flex-1 .p-4 {
    padding: 16px;
    background-color: #f0f6fb;
    /* light blue background like DentistFind */
    border-radius: 8px;
}

/* Info Titles */
.contact-page h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Form Styling */
.contact-page input,
.contact-page textarea {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 6px;
    box-sizing: border-box;
}

.contact-page button {
    width: 100%;
    padding: 12px;
    background-color: #0073e6;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 16px;
}

.contact-page button:hover {
    background-color: #005bb5;
}

/* Responsive */
@media (max-width: 1024px) {
    .lg\:flex-row {
        flex-direction: column;
    }
}
