/* ==========================================================================
   GoDoz Technology - Base Stylesheet (Variables, Reset, Preloader & Containers)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&family=Noto+Sans+Devanagari:wght@400;600;700&display=swap');

:root {
  /* Brand Palette */
  --primary: #1266e8;
  --primary-dark: #0a46ab;
  --primary-light: #438bff;
  --accent: #ff6900;
  --accent-hover: #e55a00;
  --accent-light: #fff2e8;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --purple: #8b5cf6;
  --teal: #06b6d4;

  /* Theme - Light (Default) */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-color-hover: #cbd5e1;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(226, 232, 240, 0.85);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(18, 102, 232, 0.25);

  --font-heading: 'Outfit', 'Noto Sans Devanagari', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Noto Sans Devanagari', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Theme - Dark Mode */
[data-theme="dark"] {
  --bg-body: #090e1a;
  --bg-surface: #10192e;
  --bg-surface-elevated: #16223e;
  --bg-surface-alt: #1a2849;
  --border-color: #1e2e4f;
  --border-color-hover: #2d426d;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --glass-bg: rgba(16, 25, 46, 0.94);
  --glass-border: rgba(30, 46, 79, 0.85);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(67, 139, 255, 0.3);
}

/* Page Loader Overlay */
.godoz-page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-body, #ffffff);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

[data-theme="dark"] .godoz-page-loader {
  background: #090e1a;
}

.godoz-page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.godoz-spinner-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.godoz-spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(18, 102, 232, 0.15);
  border-top-color: var(--primary, #1266e8);
  border-right-color: var(--accent, #ff6900);
  animation: godozSpin 0.85s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.godoz-spinner-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 8px;
  animation: godozPulse 1.8s ease-in-out infinite;
}

@keyframes godozSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes godozPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 8px rgba(18, 102, 232, 0.5)); }
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(18, 102, 232, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(18, 102, 232, 0.2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.12rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Professional Announcements Ticker Bar (.godoz-ticker-bar) */
.godoz-ticker-bar {
  background: var(--bg-surface-alt, #f1f5f9);
  border-top: 1px solid var(--border-color, #e2e8f0);
  border-bottom: 1px solid var(--border-color, #e2e8f0);
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 100;
}

[data-theme="dark"] .godoz-ticker-bar {
  background: #10192e;
  border-color: #1e2e4f;
}

.godoz-ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary, #1266e8);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(18, 102, 232, 0.25);
}

.godoz-ticker-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.godoz-ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: godozTickerAnimation 55s linear infinite;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main, #0f172a);
}

.godoz-ticker-wrapper:hover .godoz-ticker-content {
  animation-play-state: paused;
}

.ticker-dot {
  color: var(--accent, #ff6900);
  margin: 0 12px;
  font-size: 1rem;
}

@keyframes godozTickerAnimation {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}
