/* ==========================================================================
   ROBOTMINDSCHOOL - DESIGN SYSTEM STYLESHEET
   Accurate 1:1 Implementation of the RobotMindSchool Specification
   Colors:
     Primary Blue:  #085ED7
     Yellow Accent: #FFC107
     Light Blue:    #E8F3FF
     Dark Navy:     #0A2A52
     White:         #FFFFFF
     Gray:          #687280
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --color-primary: #085ED7;
  --color-primary-dark: #064bb0;
  --color-accent: #FFC107;
  --color-accent-hover: #e0a800;
  --color-light-blue: #E8F3FF;
  --color-navy: #0A2A52;
  --color-navy-dark: #061c36;
  --color-white: #FFFFFF;
  --color-gray: #687280;
  --color-gray-light: #F3F4F6;
  --color-gray-border: #E5E7EB;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(10, 42, 82, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 42, 82, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 42, 82, 0.12);
  --shadow-yellow: 0 8px 25px rgba(255, 193, 7, 0.35);
  --shadow-blue: 0 8px 30px rgba(8, 94, 215, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-navy);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-accent);
  color: #111827;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-yellow);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-yellow:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 193, 7, 0.5);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 11px 26px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-blue);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-blue:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   CARDS & HOVERS
   ========================================================================== */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--color-gray-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(8, 94, 215, 0.3);
}

.facility-card {
  background: #ffffff;
  border: 1px solid var(--color-gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.facility-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-card:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   FLOATING ROBOT MASCOT ("MINDY")
   ========================================================================== */
.robot-mascot-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.robot-speech-bubble {
  background: #ffffff;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: var(--color-navy);
  font-size: 0.88rem;
  font-weight: 500;
  max-width: 250px;
  margin-bottom: 12px;
  box-shadow: 0 10px 30px rgba(10, 42, 82, 0.15);
  position: relative;
  cursor: pointer;
  animation: float 4s ease-in-out infinite;
}

.robot-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 28px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--color-primary);
}

.robot-trigger-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--color-primary);
  box-shadow: 0 8px 25px rgba(8, 94, 215, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.robot-trigger-btn:hover {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--color-accent);
  box-shadow: 0 12px 35px rgba(8, 94, 215, 0.5);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Robot Chat Panel */
.robot-chat-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(10, 42, 82, 0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1050;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.robot-chat-panel.active {
  display: flex;
}

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

/* ==========================================================================
   ANIMATIONS & DOODLES
   ========================================================================== */
.doodle-text {
  font-family: 'Space Grotesk', sans-serif;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.circular-badge-rotating {
  animation: rotateBadge 20s linear infinite;
}

@keyframes rotateBadge {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
