/* ══════════════════════════════════════════════
   TURQUOISE THEME OVERRIDE
   Replaces all red (#c0392b) with turquoise (#0d9488)
   To revert to red: remove this file's <link> from HTML
   ══════════════════════════════════════════════ */

:root {
  --red:        #0d9488;   /* teal-600  */
  --red-light:  #14b8a6;   /* teal-500  */
  --red-dark:   #0f766e;   /* teal-700  */
  --border-red: rgba(13,148,136,0.35);
  --shadow-red: 0 4px 24px rgba(13,148,136,0.25);
}

/* ── Hardcoded rgba(192,57,43,…) overrides throughout style.css ── */

/* Hero pulse glows */
.hero__pulse {
  background: radial-gradient(circle, rgba(13,148,136,0.18) 0%, transparent 70%);
}

/* Hero badge */
.hero__badge {
  background: rgba(13,148,136,0.12);
  border-color: rgba(13,148,136,0.35);
}
.hero__badge-dot { background: #14b8a6; }

/* Scroll progress bar on video */
.vid-scrub__progress-bar {
  background: linear-gradient(90deg, #0f766e, #14b8a6);
}

/* Vid scrub label badge */
.vid-scrub__label {
  background: rgba(13,148,136,0.15);
  border-color: rgba(13,148,136,0.35);
}

/* About photo accent glow */
.about__accent {
  background: radial-gradient(circle, rgba(13,148,136,0.15) 0%, transparent 70%);
}

/* About photo badge */
.about__photo-badge {
  background: #0d9488;
  box-shadow: 0 8px 24px rgba(13,148,136,0.4);
}

/* Service cards featured */
.service-card--featured {
  border-color: rgba(13,148,136,0.35);
  background: linear-gradient(135deg, rgba(13,148,136,0.06) 0%, var(--bg-card) 60%);
}
.service-card--featured .service-card__icon {
  background: rgba(13,148,136,0.15);
}

/* Service card top border on hover */
.service-card::before {
  background: linear-gradient(90deg, #0f766e, #14b8a6);
}
.service-card:hover { box-shadow: 0 4px 24px rgba(13,148,136,0.25); }

/* Service card tag */
.service-card__tag {
  background: rgba(13,148,136,0.1);
  border-color: rgba(13,148,136,0.35);
}

/* Testimonial card hover */
.testimonial-card:hover { box-shadow: 0 4px 24px rgba(13,148,136,0.25); }

/* Testimonial opening quote */
.testimonial-card p::before { color: #0d9488; }

/* Schedule table header */
.schedule__table thead { background: rgba(13,148,136,0.12); border-color: rgba(13,148,136,0.35); }
.schedule__table th { color: #14b8a6; }

/* Contact form focus */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}

/* Enhanced Modern Date/Time Picker System */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Modern Date Input Enhancement */
.modern-date-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Enhanced Date Input with Better Visibility */
.modern-date-input {
  flex: 1;
  padding: 1rem 3rem 1rem 1.25rem !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 16px !important;
  border: 2px solid #0d9488 !important;
  background: #ffffff !important;
  box-shadow: 
    0 4px 20px rgba(13,148,136,0.15),
    inset 0 2px 4px rgba(255,255,255,0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #1f2937 !important;
  min-height: 56px;
  position: relative;
}

/* Hide default calendar picker visually, but keep it tappable/clickable */
.modern-date-input::-webkit-calendar-picker-indicator {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
  z-index: 5;
}

/* Firefox date input support */
.modern-date-input::-moz-calendar-picker-indicator {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
  z-index: 5;
}

/* Custom calendar icon styling */
.modern-date-input::-webkit-inner-spin-button {
  display: none;
}

.modern-date-input::-webkit-clear-button {
  display: none;
}

/* Make the date input clickable everywhere for all browsers */
.modern-date-wrapper {
  cursor: pointer;
}

.date-icon-modern {
  pointer-events: none;
  z-index: 1;
}

/* Date input focus state */
.modern-date-input:focus {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 12px 40px rgba(13,148,136,0.25),
    0 0 0 4px rgba(13,148,136,0.1),
    inset 0 2px 4px rgba(255,255,255,0.9);
  border-color: #0d9488 !important;
  outline: none;
  background: #ffffff !important;
  color: #1f2937 !important;
}

.modern-date-input:hover:not(:focus) {
  transform: translateY(-1px);
  border-color: #14b8a6 !important;
  box-shadow: 
    0 6px 25px rgba(13,148,136,0.2),
    inset 0 2px 4px rgba(255,255,255,0.9);
  background: #ffffff !important;
}

.modern-date-input:focus {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 12px 40px rgba(13,148,136,0.25),
    0 0 0 3px rgba(13,148,136,0.1),
    inset 0 1px 0 rgba(255,255,255,0.6);
  border-color: #0d9488 !important;
  outline: none;
}

.modern-date-input:hover:not(:focus) {
  transform: translateY(-1px);
  border-color: rgba(13,148,136,0.25) !important;
  box-shadow: 
    0 6px 25px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.5);
}

/* Enhanced Calendar Icon */
.date-icon-modern {
  position: absolute;
  right: 1rem;
  width: 24px;
  height: 24px;
  pointer-events: none;
  color: #0d9488;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.modern-date-input:focus + .date-icon-modern {
  color: #0d9488;
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 2px 4px rgba(13,148,136,0.3));
}

.modern-date-input:hover:not(:focus) + .date-icon-modern {
  color: #14b8a6;
  transform: scale(1.08);
}

/* Time Grid System Enhancement */
.modern-time-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 1rem;
}

.time-slot {
  background: linear-gradient(135deg, 
    rgba(255,255,255,0.95) 0%, 
    rgba(248,250,252,0.9) 100%);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(13,148,136,0.15);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 4px 20px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.4);
}

/* Shimmer Effect for Time Slots */
.time-slot::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.6), 
    transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.time-slot:hover::before {
  left: 100%;
}

.time-slot:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(13,148,136,0.4);
  box-shadow: 
    0 12px 35px rgba(13,148,136,0.2),
    0 0 0 2px rgba(13,148,136,0.1),
    inset 0 1px 0 rgba(255,255,255,0.6);
  background: linear-gradient(135deg, 
    rgba(13,148,136,0.08) 0%, 
    rgba(77,208,225,0.08) 100%);
}

.time-slot:active {
  transform: translateY(-2px) scale(1.01);
  transition: all 0.1s ease;
}

.time-slot.selected {
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  color: white;
  border-color: #0d9488;
  box-shadow: 
    0 8px 30px rgba(13,148,136,0.4),
    0 0 0 3px rgba(13,148,136,0.2),
    inset 0 1px 0 rgba(255,255,255,0.3);
  transform: translateY(-3px) scale(1.02);
}

.time-slot.selected:hover {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  transform: translateY(-5px) scale(1.04);
  box-shadow: 
    0 15px 40px rgba(13,148,136,0.5),
    0 0 0 4px rgba(13,148,136,0.25),
    inset 0 1px 0 rgba(255,255,255,0.4);
}

/* Selected Time Display Enhancement */
.selected-time-display {
  background: linear-gradient(135deg, 
    rgba(13,148,136,0.12) 0%, 
    rgba(77,208,225,0.12) 100%);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  border: 2px solid rgba(13,148,136,0.2);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 20px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.time-display-text {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.selected-time-value {
  font-size: 24px;
  font-weight: 700;
  color: #0d9488;
  margin-left: 8px;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(13,148,136,0.2);
}

.selected-time-display.has-selection {
  border-color: #0d9488;
  background: linear-gradient(135deg, 
    rgba(13,148,136,0.18) 0%, 
    rgba(77,208,225,0.18) 100%);
  box-shadow: 
    0 8px 25px rgba(13,148,136,0.15),
    inset 0 1px 0 rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

/* Enhanced Haptic Feedback Animation */
@keyframes haptic-pulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.05); }
  60% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@keyframes haptic-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

.haptic-feedback {
  animation: haptic-bounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Ripple Effect Enhancement */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%);
  transform: scale(0);
  animation: ripple 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .time-slots {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .time-slot {
    padding: 0.875rem 1rem;
    font-size: 14px;
    min-height: 52px;
  }
  
  .selected-time-display {
    padding: 1rem 1.25rem;
  }
  
  .selected-time-value {
    font-size: 20px;
  }
  
  .modern-date-input {
    padding: 0.875rem 2.5rem 0.875rem 1rem !important;
    min-height: 52px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Enhanced Dark Theme Support */
@media (prefers-color-scheme: dark) {
  .modern-date-input {
    background: #1f2937 !important;
    color: #f9fafb !important;
    border-color: #0d9488 !important;
    box-shadow: 
      0 4px 20px rgba(0,0,0,0.3),
      inset 0 2px 4px rgba(255,255,255,0.1);
  }
  
  .modern-date-input:focus,
  .modern-date-input:hover:not(:focus) {
    background: #1f2937 !important;
    color: #f9fafb !important;
  }
  
  .time-slot {
    background: linear-gradient(135deg, 
      rgba(31,41,59,0.95) 0%, 
      rgba(51,65,85,0.9) 100%);
    color: #e2e8f0;
    border-color: rgba(13,148,136,0.3);
  }
  
  .time-slot:hover {
    background: linear-gradient(135deg, 
      rgba(13,148,136,0.25) 0%, 
      rgba(77,208,225,0.25) 100%);
    border-color: #0d9488;
    color: #f9fafb;
  }
  
  .selected-time-display {
    background: linear-gradient(135deg, 
      rgba(13,148,136,0.2) 0%, 
      rgba(77,208,225,0.2) 100%);
    border-color: rgba(13,148,136,0.4);
  }
}

/* iOS Safari Specific Fixes */
@supports (-webkit-touch-callout: none) {
  .modern-date-input {
    -webkit-appearance: none;
    background: #ffffff !important;
    color: #1f2937 !important;
  }
  
  .modern-date-input:focus {
    background: #ffffff !important;
    color: #1f2937 !important;
  }
}

/* Focus and Accessibility Enhancements */
.time-slot:focus-visible {
  outline: 3px solid rgba(13,148,136,0.5);
  outline-offset: 2px;
}

.modern-date-input:focus-visible {
  outline: 3px solid rgba(13,148,136,0.5);
  outline-offset: 4px;
}

/* Smooth Loading States */
.modern-date-wrapper,
.modern-time-grid {
  opacity: 0;
  animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.modern-time-grid {
  animation-delay: 0.1s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
}

/* Navbar card shimmer */
.rv-card::before {
  background: linear-gradient(90deg, #0f766e, #14b8a6, #0f766e);
}

/* Admin panel accent  */
.adm-login {
  background: radial-gradient(ellipse at 60% 40%, rgba(13,148,136,0.1) 0%, transparent 60%), var(--bg);
}
.adm-badge         { background: rgba(13,148,136,0.2); color: #14b8a6; }
.adm-step-num      { background: rgba(13,148,136,0.15); border-color: rgba(13,148,136,0.3); color: #14b8a6; }
.adm-steps-list code { color: #14b8a6; }
.adm-btn--primary  { background: #0d9488; }
.adm-btn--primary:hover { background: #14b8a6; }
.adm-nav__item--active { background: rgba(13,148,136,0.12); }
.adm-nav__item--active svg { color: #14b8a6; }
.adm-filter-btn--active { background: rgba(13,148,136,0.15); border-color: rgba(13,148,136,0.4); }

/* Review page stars keep gold, cross turns teal */
.rv-cross { color: #14b8a6; }
.rv-card::before { background: linear-gradient(90deg, #0f766e, #14b8a6, #0f766e); }
.hero__badge-dot { animation: blink-teal 1.6s ease infinite; }
@keyframes blink-teal { 0%,100%{opacity:1;background:#14b8a6} 50%{opacity:0.3} }

/* Back to top button */
.back-top { background: #0d9488; }
.back-top:hover { background: #14b8a6; }

/* Nav CTA button */
.nav-link--cta { background: #0d9488 !important; }
.nav-link--cta:hover { background: #14b8a6 !important; }

/* Buttons */
.btn--primary { background: #0d9488; box-shadow: 0 4px 24px rgba(13,148,136,0.25); }
.btn--primary:hover { background: #14b8a6; box-shadow: 0 8px 28px rgba(13,148,136,0.4); }
.btn--ghost:hover { border-color: #14b8a6; color: #14b8a6; background: rgba(13,148,136,0.07); }

/* Hero stats glow */
.pulse-1, .pulse-2 {
  background: radial-gradient(circle, rgba(13,148,136,0.18) 0%, transparent 70%);
}

/* Success check SVG */
.rv-success__circle,
.rv-success__check { stroke: #14b8a6; }

/* og-image & favicon keep existing — no change needed */

/* Language toggle turquoise hover */
.lang-toggle:hover {
  border-color: #14b8a6;
  color: #14b8a6;
}

/* About link turquoise */
.about__link { color: #14b8a6; }

/* Service card back face — teal in turquoise theme */
.service-card__back {
  background: #0d9488 !important;
  border-color: #14b8a6 !important;
  box-shadow: 0 8px 32px rgba(13,148,136,0.3) !important;
}

/* About Experience Section */
.about__experience {
  margin: 2rem 0;
}

.experience__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.5rem;
}

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

.experience__item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.experience__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(95, 227, 214, 0.3);
}

.experience__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.experience__header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

.experience__duration {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(95, 227, 214, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

.experience__company {
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
}

.experience__description {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* About Social Links */
.about__social {
  margin: 2rem 0;
}

.about__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(95, 227, 214, 0.1) 0%, rgba(77, 208, 225, 0.1) 100%);
  border: 2px solid rgba(95, 227, 214, 0.3);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.about__social-link:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, rgba(95, 227, 214, 0.2) 0%, rgba(77, 208, 225, 0.2) 100%);
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(95, 227, 214, 0.2);
  color: var(--accent);
}

.social-icon {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.about__social-link:hover .social-icon {
  transform: scale(1.1);
  color: var(--accent);
}

/* Mobile Responsive for About Section */
@media (max-width: 768px) {
  .experience__header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .experience__duration {
    align-self: flex-start;
  }
  
  .experience__item {
    padding: 1.25rem;
  }
  
  .about__social-link {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }
}