/* Custom Styling for Gyandatt Online Hindi Tuition (Australia Focus) */

@import url('https://fonts.googleapis.com/css2?family=Hind:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --primary: #f97316; /* Saffron Orange */
  --primary-dark: #ea580c;
  --secondary: #1e3a8a; /* Australian Navy Blue */
  --accent: #10b981; /* Emerald Green */
  --gold: #f59e0b;
}

body {
  font-family: 'Outfit', sans-serif;
  color: #1e293b;
  overflow-x: hidden;
}

.font-hindi {
  font-family: 'Hind', sans-serif;
}

.font-serif-heading {
  font-family: 'Playfair Display', serif;
}

/* Glassmorphism effects */
.glass-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient text */
.gradient-text-saffron {
  background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-navy {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom glowing badge */
.glow-saffron {
  box-shadow: 0 0 25px -5px rgba(249, 115, 22, 0.35);
}

.glow-navy {
  box-shadow: 0 0 25px -5px rgba(30, 58, 138, 0.3);
}

/* Flashcard 3D flip effect */
.perspective-1000 {
  perspective: 1000px;
}

.transform-style-3d {
  transform-style: preserve-3d;
}

.backface-hidden {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.rotate-y-180 {
  transform: rotateY(180deg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Pulse animation for live timezone clocks */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.live-pulse {
  animation: pulse-ring 2s infinite ease-in-out;
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.6);
}

/* Modal transition */
.modal-overlay {
  transition: opacity 0.25s ease;
}

.modal-content {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

/* Custom print styles for Admin invoices or student reports */
@media print {
  .no-print {
    display: none !important;
  }
}
