/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --primary: #0073AA;
  --primary-dark: #005B87;
  --dark: #333333;
  --light: #F2F2F2;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: #333333;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #333333;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

.font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.shadow-premium {
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

.shadow-premium-hover:hover {
  box-shadow: 0 20px 40px -10px rgba(0, 115, 170, 0.15);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Smooth transitions */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

/* Telehealth Phone Mockup */
.telehealth-phone-frame {
  background-color: #0c1524 !important;
  padding: 0.85rem !important;
  border-radius: 2.75rem !important;
  border: 4px solid #1e293b !important;
  box-shadow: 0 35px 65px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

.telehealth-phone-screen {
  background-color: #ffffff !important;
  border-radius: 2.15rem !important;
  overflow: hidden !important;
  border: 1px solid rgba(243, 244, 246, 0.8) !important;
}

.telehealth-screen-header {
  background-color: #0073AA !important;
  padding: 0.85rem 1.15rem !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.telehealth-screen-header .title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.925rem !important;
  color: #ffffff !important;
}

.telehealth-screen-header .live-badge {
  background-color: rgba(255, 255, 255, 0.22) !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  padding: 0.2rem 0.65rem !important;
  border-radius: 9999px !important;
  color: #ffffff !important;
}

.telehealth-photo-container {
  position: relative !important;
  height: 20rem !important;
  overflow: hidden !important;
  background-color: #f8fafc !important;
}

.telehealth-photo-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.telehealth-doctor-badge {
  position: absolute !important;
  bottom: 0.85rem !important;
  left: 0.85rem !important;
  background-color: rgba(12, 21, 36, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  color: #ffffff !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: 0.75rem !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

.telehealth-action-bar {
  padding: 1.15rem 1.25rem !important;
  background-color: #ffffff !important;
  border-top: 1px solid #f3f4f6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.telehealth-action-bar .action-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: #1a1a1a !important;
}

.telehealth-action-bar .action-subtitle {
  font-size: 0.75rem !important;
  color: #9ca3af !important;
  font-weight: 500 !important;
  margin-top: 0.15rem !important;
}

.telehealth-action-bar .btn-start-visit {
  background-color: #0073AA !important;
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  padding: 0.65rem 1.25rem !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3) !important;
  transition: all 0.2s ease !important;
}

.telehealth-action-bar .btn-start-visit:hover {
  background-color: #005B87 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(0, 115, 170, 0.4) !important;
}

/* Nav Book Visit Button */
.nav-book-visit-btn {
  background-color: #0073AA !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.925rem !important;
  padding: 0.65rem 1.5rem !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 10px 20px -5px rgba(0, 115, 170, 0.35) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-book-visit-btn:hover {
  background-color: #005B87 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 24px -5px rgba(0, 115, 170, 0.45) !important;
}

/* Hero Book an Appointment Card */
.hero-booking-card {
  background-color: #ffffff !important;
  border-radius: 1.75rem !important;
  padding: 1.75rem !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(243, 244, 246, 0.8) !important;
}

.hero-booking-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid #f3f4f6 !important;
  padding-bottom: 1rem !important;
  margin-bottom: 1.15rem !important;
}

.hero-booking-header h3 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.35rem !important;
  color: #005B87 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.hero-booking-header p {
  font-size: 0.8rem !important;
  color: #9ca3af !important;
  margin: 0.25rem 0 0 0 !important;
}

.hero-booking-calendar-icon {
  width: 2.5rem !important;
  height: 2.5rem !important;
  border-radius: 9999px !important;
  background-color: rgba(0, 115, 170, 0.1) !important;
  color: #0073AA !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.hero-booking-item {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.85rem 1.15rem !important;
  border-radius: 1.15rem !important;
  background-color: #f9fafb !important;
  border: 1px solid #f3f4f6 !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

.hero-booking-item-dot {
  width: 0.55rem !important;
  height: 0.55rem !important;
  border-radius: 9999px !important;
  background-color: #0073AA !important;
  flex-shrink: 0 !important;
}

.hero-booking-item-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.925rem !important;
  color: #1a1a1a !important;
  line-height: 1.25 !important;
  transition: color 0.2s ease !important;
}

.hero-booking-item-badge {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: #9ca3af !important;
  display: block !important;
  margin-top: 0.1rem !important;
  transition: color 0.2s ease !important;
}

.hero-booking-item-arrow {
  color: #9ca3af !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
  flex-shrink: 0 !important;
}

/* Hover & Focus Interaction */
.hero-booking-item:hover,
.hero-booking-item:focus {
  background-color: #f0f9ff !important;
  border-color: #7dd3fc !important;
  box-shadow: 0 4px 14px -2px rgba(0, 115, 170, 0.12) !important;
  transform: translateY(-1px) !important;
}

.hero-booking-item:hover .hero-booking-item-title,
.hero-booking-item:focus .hero-booking-item-title {
  color: #0073AA !important;
}

.hero-booking-item:hover .hero-booking-item-badge,
.hero-booking-item:focus .hero-booking-item-badge {
  color: #0284c7 !important;
}

.hero-booking-item:hover .hero-booking-item-arrow,
.hero-booking-item:focus .hero-booking-item-arrow {
  color: #0073AA !important;
  transform: translateX(4px) !important;
}

/* Floating Send Text Button */
.open-send-text-modal {
  position: fixed !important;
  bottom: 2rem !important;
  left: 0 !important;
  z-index: 60 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background-color: #005B87 !important;
  color: #ffffff !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  padding: 0.75rem 1rem 0.75rem 0.75rem !important;
  border-top-right-radius: 9999px !important;
  border-bottom-right-radius: 9999px !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.25) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  border: none !important;
}

.open-send-text-modal:hover {
  background-color: #0073AA !important;
  transform: translateX(2px) !important;
}

@media (max-width: 768px) {
  .open-send-text-modal {
    bottom: 5.5rem !important;
  }
}

/* Send Text Modal */
#send-text-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 70 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  padding: 1.5rem !important;
  background-color: transparent !important;
  pointer-events: none !important;
}

#send-text-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(4px) !important;
  pointer-events: auto !important;
}

.send-text-modal-panel {
  width: 390px !important;
  max-width: calc(100vw - 2rem) !important;
  height: 590px !important;
  max-height: calc(100vh - 2.5rem) !important;
  border-radius: 1.15rem !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
  background-color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 75 !important;
  pointer-events: auto !important;
}

.send-text-modal-header {
  background-color: #005B87 !important;
  color: #ffffff !important;
  padding: 0.85rem 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-shrink: 0 !important;
}

.send-text-modal-header h3 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
  color: #ffffff !important;
}

.send-text-modal-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  padding: 1.25rem 1.35rem !important;
  background-color: #ffffff !important;
}

.send-text-modal-body::-webkit-scrollbar {
  width: 5px !important;
}

.send-text-modal-body::-webkit-scrollbar-track {
  background: #f3f4f6 !important;
}

.send-text-modal-body::-webkit-scrollbar-thumb {
  background: #9ca3af !important;
  border-radius: 9999px !important;
}

.send-text-modal-body input[type="text"],
.send-text-modal-body input[type="tel"],
.send-text-modal-body input[type="email"],
.send-text-modal-body textarea {
  width: 100% !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.75rem !important;
  padding: 0.75rem 0.95rem !important;
  font-size: 0.875rem !important;
  color: #1f2937 !important;
  outline: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  background-color: #ffffff !important;
}

.send-text-modal-body input:focus,
.send-text-modal-body textarea:focus {
  border-color: #0073AA !important;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15) !important;
}

.send-text-modal-body input::placeholder,
.send-text-modal-body textarea::placeholder {
  color: #9ca3af !important;
  font-size: 0.875rem !important;
}

.send-text-phone-group {
  display: flex !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.75rem !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
}

.send-text-phone-group:focus-within {
  border-color: #0073AA !important;
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15) !important;
}

.send-text-phone-prefix {
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  padding: 0.75rem 0.85rem !important;
  background-color: #f9fafb !important;
  border-right: 1px solid #e5e7eb !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #374151 !important;
  user-select: none !important;
  flex-shrink: 0 !important;
}

.send-text-phone-group input {
  border: none !important;
  border-radius: 0 !important;
  padding: 0.75rem 0.95rem !important;
  flex: 1 !important;
  box-shadow: none !important;
}

.send-text-btn-send {
  width: 100% !important;
  padding: 0.85rem !important;
  border-radius: 0.75rem !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  background-color: #a9d59b !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

.send-text-btn-send:not(:disabled) {
  background-color: #6ab04c !important;
  cursor: pointer !important;
}

.send-text-btn-send:not(:disabled):hover {
  background-color: #5a9a3c !important;
}

.send-text-btn-send:disabled {
  background-color: #a9d59b !important;
  cursor: not-allowed !important;
  opacity: 0.9 !important;
}

.send-text-modal-footer {
  background-color: #005B87 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  padding: 0.6rem 1rem !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}

@media (max-width: 640px) {
  #send-text-modal {
    padding: 0 !important;
  }

  .send-text-modal-panel {
    width: 100% !important;
    max-width: 100% !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}

#send-text-modal.hidden {
  display: none !important;
}

#mobile-drawer-overlay.hidden {
  display: none !important;
}

/* Custom Toast Notification */
.custom-toast {
  position: fixed !important;
  bottom: 2rem !important;
  right: 2rem !important;
  z-index: 100 !important;
  background-color: #005B87 !important;
  color: #ffffff !important;
  padding: 1rem 1.5rem !important;
  border-radius: 1rem !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  pointer-events: auto !important;
}

@keyframes toastSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* =========================================================================
   COMPREHENSIVE UTILITY & BRAND PALETTE SUPPORT
   ========================================================================= */

/* Backgrounds */
.bg-\[\#0073AA\],
.bg-\[\#0073aa\] {
  background-color: #0073AA !important;
}

.bg-\[\#005B87\],
.bg-\[\#005b87\] {
  background-color: #005B87 !important;
}

.bg-\[\#003853\],
.bg-\[\#003853\] {
  background-color: #003853 !important;
}

.bg-\[\#002D42\],
.bg-\[\#002d42\] {
  background-color: #002D42 !important;
}

.bg-\[\#001F2E\],
.bg-\[\#001f2e\] {
  background-color: #001F2E !important;
}

.bg-\[\#0A3D52\],
.bg-\[\#0a3d52\] {
  background-color: #0A3D52 !important;
}

.bg-\[\#EAF5FB\],
.bg-\[\#eaf5fb\] {
  background-color: #EAF5FB !important;
}

.bg-\[\#BCE4F8\],
.bg-\[\#bce4f8\] {
  background-color: #BCE4F8 !important;
}

.bg-\[\#0073AA\]\/10 {
  background-color: rgba(0, 115, 170, 0.1) !important;
}

.bg-\[\#0073AA\]\/15 {
  background-color: rgba(0, 115, 170, 0.15) !important;
}

.bg-\[\#0073AA\]\/20 {
  background-color: rgba(0, 115, 170, 0.2) !important;
}

.bg-\[\#0073AA\]\/5 {
  background-color: rgba(0, 115, 170, 0.05) !important;
}

/* Text Colors */
.text-\[\#0073AA\],
.text-\[\#0073aa\] {
  color: #0073AA !important;
}

.text-\[\#005B87\],
.text-\[\#005b87\] {
  color: #005B87 !important;
}

.text-\[\#003853\],
.text-\[\#003853\] {
  color: #003853 !important;
}

.text-\[\#002D42\],
.text-\[\#002d42\] {
  color: #002D42 !important;
}

.text-\[\#001F2E\],
.text-\[\#001f2e\] {
  color: #001F2E !important;
}

.text-\[\#0A3D52\],
.text-\[\#0a3d52\] {
  color: #0A3D52 !important;
}

.text-dark {
  color: #333333 !important;
}

/* Border Colors */
.border-\[\#0073AA\],
.border-\[\#0073aa\] {
  border-color: #0073AA !important;
}

.border-\[\#005B87\],
.border-\[\#005b87\] {
  border-color: #005B87 !important;
}

.border-\[\#BCE4F8\],
.border-\[\#bce4f8\] {
  border-color: #BCE4F8 !important;
}

.border-\[\#EAF5FB\],
.border-\[\#eaf5fb\] {
  border-color: #EAF5FB !important;
}

.border-\[\#0073AA\]\/40 {
  border-color: rgba(0, 115, 170, 0.4) !important;
}

.border-\[\#0073AA\]\/20 {
  border-color: rgba(0, 115, 170, 0.2) !important;
}

.border-\[\#0073AA\]\/10 {
  border-color: rgba(0, 115, 170, 0.1) !important;
}

/* Hover States */
/* Navbar */
#main-nav {
  background-color: #ffffff !important;
}

/* Nav link text — always black */
.nav-link-item {
  color: #000000 !important;
}

.hover\:bg-\[\#005B87\]:hover,
.hover\:bg-\[\#005b87\]:hover {
  background-color: #005B87 !important;
}

.hover\:bg-\[\#0073AA\]:hover,
.hover\:bg-\[\#0073aa\]:hover {
  background-color: #0073AA !important;
}

.hover\:bg-\[\#EAF5FB\]:hover,
.hover\:bg-\[\#eaf5fb\]:hover {
  background-color: #EAF5FB !important;
}

.hover\:bg-\[\#BCE4F8\]:hover,
.hover\:bg-\[\#bce4f8\]:hover {
  background-color: #BCE4F8 !important;
}

.hover\:bg-light:hover {
  background-color: #F2F2F2 !important;
}

.hover\:text-\[\#0073AA\]:hover,
.hover\:text-\[\#0073aa\]:hover {
  color: #0073AA !important;
}

.hover\:text-\[\#005B87\]:hover,
.hover\:text-\[\#005b87\]:hover {
  color: #005B87 !important;
}

.hover\:text-white:hover {
  color: #ffffff !important;
}

.hover\:border-\[\#0073AA\]:hover {
  border-color: #0073AA !important;
}

.hover\:border-\[\#0073AA\]\/40:hover {
  border-color: rgba(0, 115, 170, 0.4) !important;
}

/* Group Hover States */
.group:hover .group-hover\:text-\[\#0073AA\] {
  color: #0073AA !important;
}

.group:hover .group-hover\:text-\[\#005B87\] {
  color: #005B87 !important;
}

.group:hover .group-hover\:bg-\[\#BCE4F8\] {
  background-color: #BCE4F8 !important;
}

.group:hover .group-hover\:bg-\[\#EAF5FB\] {
  background-color: #EAF5FB !important;
}

.group\/item:hover .group-hover\/item\:text-\[\#0073AA\] {
  color: #0073AA !important;
}

.group\/item:hover .group-hover\/item\:text-\[\#005B87\] {
  color: #005B87 !important;
}

.group\/item:hover .group-hover\/item\:bg-\[\#BCE4F8\] {
  background-color: #BCE4F8 !important;
}

.group\/item:hover .group-hover\/item\:bg-\[\#EAF5FB\] {
  background-color: #EAF5FB !important;
}

/* Focus States */
.focus\:ring-\[\#0073AA\]:focus {
  --tw-ring-color: #0073AA !important;
}

.focus\:border-\[\#0073AA\]:focus {
  border-color: #0073AA !important;
}

/* =========================================================================
   CONTACT FORM 7 - CUSTOM STYLING (MERCY MEDICAL DESIGN)
   ========================================================================= */

/* CF7 Wrapper */
.cf7-wrapper {
  width: 100%;
}

/* Form Container */
.cf7-wrapper .wpcf7-form {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

/* Form Groups */
.cf7-wrapper .wpcf7-form-control-wrapper {
  width: 100%;
}

/* Form Grid for 2-column layout */
.cf7-wrapper .wpcf7-form-control-wrapper.half-width {
  grid-column: span 1;
}

/* Labels */
.cf7-wrapper label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0369a1;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

/* Input & Textarea Base Styles */
.cf7-wrapper input[type="text"],
.cf7-wrapper input[type="email"],
.cf7-wrapper input[type="tel"],
.cf7-wrapper input[type="number"],
.cf7-wrapper textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: #6b7280;
  background-color: #ffffff;
  transition: all 0.2s ease;
  outline: none;
}

.cf7-wrapper input[type="text"]::placeholder,
.cf7-wrapper input[type="email"]::placeholder,
.cf7-wrapper input[type="tel"]::placeholder,
.cf7-wrapper input[type="number"]::placeholder,
.cf7-wrapper textarea::placeholder {
  color: #d1d5db;
}

/* Focus State */
.cf7-wrapper input[type="text"]:focus,
.cf7-wrapper input[type="email"]:focus,
.cf7-wrapper input[type="tel"]:focus,
.cf7-wrapper input[type="number"]:focus,
.cf7-wrapper textarea:focus {
  border-color: #0369a1;
  box-shadow: none;
  background-color: #ffffff;
}

/* Textarea */
.cf7-wrapper textarea {
  resize: none;
  min-height: 80px;
  max-height: 80px;
  font-family: 'Inter', sans-serif;
}

/* Select */
.cf7-wrapper select {
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-color: #ffffff;
  padding: 0.75rem 1rem;
  padding-right: 2.5rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: #374151;
  transition: all 0.2s ease;
  outline: none;
}

.cf7-wrapper select:focus {
  border-color: #0369a1;
  box-shadow: none;
}

/* Placeholder/empty option styling */
.cf7-wrapper select option:first-child,
.cf7-wrapper select option[value=""] {
  color: #9ca3af;
}

/* Other options styling */
.cf7-wrapper select option {
  color: #0369a1;
  background-color: #ffffff;
  padding: 0.5rem;
}

/* Required field marker */
.cf7-wrapper .wpcf7-form-control-wrapper label .required {
  color: #ef4444;
  margin-left: 0.25rem;
}

/* Span wrapper for form-group */
.cf7-wrapper .wpcf7-form-control-wrapper span {
  display: block;
  width: 100%;
}

/* Error Messages */
.cf7-wrapper .wpcf7-not-valid-tip {
  display: block;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.375rem;
  font-family: 'Inter', sans-serif;
}

.cf7-wrapper .wpcf7-form-control.wpcf7-not-valid {
  border-color: #fecaca;
  background-color: #fef2f2;
}

.cf7-wrapper .wpcf7-form-control.wpcf7-not-valid:focus {
  border-color: #dc2626;
  box-shadow: none;
}

/* Submit Button */
.cf7-wrapper input[type="submit"],
.cf7-wrapper .wpcf7-form-control.wpcf7-submit {
  width: 100%;
  background-color: #0076b3;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-transform: none;
  letter-spacing: normal;
  margin-top: 0.5rem;
}

.cf7-wrapper input[type="submit"]:hover,
.cf7-wrapper .wpcf7-form-control.wpcf7-submit:hover {
  background-color: #005a8d;
  transform: none;
  box-shadow: none;
}

.cf7-wrapper input[type="submit"]:active,
.cf7-wrapper .wpcf7-form-control.wpcf7-submit:active {
  transform: none;
}

/* Privacy Notice */
.cf7-wrapper .privacy-notice,
.cf7-wrapper .wpcf7-form-control-wrapper.checkbox-wrapper label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
}

/* Checkbox & Radio */
.cf7-wrapper input[type="checkbox"],
.cf7-wrapper input[type="radio"] {
  width: auto;
  cursor: pointer;
  accent-color: #0369a1;
}

/* Form Messages - Success */
.cf7-wrapper .wpcf7-response-output.wpcf7-mail-sent-ok {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #86efac;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

/* Form Messages - Error */
.cf7-wrapper .wpcf7-response-output.wpcf7-mail-sent-ng {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

/* Validation Message */
.cf7-wrapper .wpcf7-response-output.wpcf7-invalid-form {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

/* Spinner (loading indicator) */
.cf7-wrapper .wpcf7-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  opacity: 0.5;
  margin-left: 0.5rem;
}

/* Remove default CF7 styles that might conflict */
.cf7-wrapper .wpcf7 form.init .wpcf7-response-output {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Custom Two-Column Grid for Name Fields */
.cf7-wrapper .wpcf7-form-group-name {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.cf7-wrapper .wpcf7-form-group-name > span {
  width: 100%;
}

/* Responsive */
@media (max-width: 640px) {
  .cf7-wrapper .wpcf7-form-group-name {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cf7-wrapper input[type="text"],
  .cf7-wrapper input[type="email"],
  .cf7-wrapper input[type="tel"],
  .cf7-wrapper input[type="number"],
  .cf7-wrapper textarea,
  .cf7-wrapper select {
    font-size: 1rem;
  }
}
