/* Gayatri CHS - Custom Styles */

/* ===== Theme Variables ===== */
:root {
  --color-primary: #0d9488;       /* teal-600 */
  --color-bg: #f9fafb;            /* gray-50 */
  --color-text: #1f2937;          /* gray-800 */
}

/* ===== Global ===== */
html { scroll-behavior: smooth; }
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: system-ui, -apple-system, sans-serif;
}

/* ===== Focus Visibility ===== */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Crossfade Hero (replaces Swiper) ===== */
.crossfade { position: relative; overflow: hidden; }
.crossfade .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: cfFade 12s infinite;
}
.crossfade .slide:nth-child(2) { animation-delay: 4s; }
.crossfade .slide:nth-child(3) { animation-delay: 8s; }
@keyframes cfFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  30%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}

/* ===== Lightbox ===== */
/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Google Translate Fixes */
iframe.goog-te-banner-frame { display: none !important; }
body { top: 0px !important; position: static !important; }
.goog-te-gadget { display: none !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }
