/* RotaryQuiz — Main Stylesheet | rq-style.css */

/* === CSS VARIABLES === */
:root {
  --rq-primary: #1a2e4a;
  --rq-secondary: #0f7c6e;
  --rq-accent: #f4a340;
  --rq-accent-light: #f9c57a;
  --rq-light: #f4f7fb;
  --rq-white: #ffffff;
  --rq-dark: #0d1b2e;
  --rq-text: #2c3e50;
  --rq-text-muted: #6c7a89;
  --rq-border: #dde3ec;
  --rq-gradient-hero: linear-gradient(135deg, #0d1b2e 0%, #1a2e4a 40%, #0f3460 100%);
  --rq-gradient-section: linear-gradient(160deg, #f4f7fb 0%, #e8eef8 100%);
  --rq-gradient-accent: linear-gradient(135deg, #f4a340 0%, #e87d2e 100%);
  --rq-gradient-green: linear-gradient(135deg, #0f7c6e 0%, #0a5c52 100%);
  --rq-shadow-sm: 0 2px 12px rgba(26,46,74,0.08);
  --rq-shadow-md: 0 8px 32px rgba(26,46,74,0.14);
  --rq-shadow-lg: 0 20px 60px rgba(26,46,74,0.18);
  --rq-radius: 12px;
  --rq-radius-lg: 24px;
  --rq-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === GLOBAL RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Lora', Georgia, serif;
  color: var(--rq-text);
  background: var(--rq-white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--rq-primary);
}

a { color: var(--rq-secondary); text-decoration: none; transition: var(--rq-transition); }
a:hover { color: var(--rq-accent); }

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

p { margin-bottom: 1rem; }

/* === TYPOGRAPHY UTILITIES === */
.rq-text-accent { color: var(--rq-accent); }
.rq-text-secondary { color: var(--rq-secondary); }
.rq-text-muted { color: var(--rq-text-muted); }
.rq-text-white { color: var(--rq-white); }
.rq-lead { font-size: 1.2rem; line-height: 1.8; }
.rq-section-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rq-accent);
  display: block;
  margin-bottom: 0.75rem;
}

/* === BUTTONS === */
.rq-btn-primary {
  background: var(--rq-gradient-accent);
  color: var(--rq-white);
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--rq-transition);
  box-shadow: 0 4px 20px rgba(244,163,64,0.35);
}
.rq-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(244,163,64,0.45);
  color: var(--rq-white);
}

.rq-btn-outline {
  background: transparent;
  color: var(--rq-white);
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--rq-transition);
}
.rq-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--rq-white);
  transform: translateY(-2px);
  color: var(--rq-white);
}

.rq-btn-secondary {
  background: var(--rq-gradient-green);
  color: var(--rq-white);
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--rq-transition);
}
.rq-btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(15,124,110,0.4); color: var(--rq-white); }

/* === NAVBAR === */
.rq-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--rq-transition);
  background: transparent;
}
.rq-navbar.rq-scrolled {
  background: rgba(13,27,46,0.96);
  backdrop-filter: blur(12px);
  padding: 0.65rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.rq-navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--rq-white) !important;
  letter-spacing: -0.02em;
}
.rq-navbar-brand span { color: var(--rq-accent); }
.rq-nav-link {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85) !important;
  padding: 0.4rem 1rem !important;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: var(--rq-transition);
}
.rq-nav-link:hover, .rq-nav-link.active { color: var(--rq-accent) !important; }
.rq-nav-cta {
  background: var(--rq-gradient-accent) !important;
  color: var(--rq-white) !important;
  padding: 0.45rem 1.4rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(244,163,64,0.3);
}
.rq-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(244,163,64,0.45) !important; color: var(--rq-white) !important; }

/* === HERO SECTION === */
.rq-hero-animated {
  min-height: 100vh;
  background: var(--rq-gradient-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 80px;
}
.rq-hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.rq-hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: rq-float-slow 8s ease-in-out infinite;
}
.rq-hero-shape-1 { width: 600px; height: 600px; background: var(--rq-secondary); top: -200px; right: -100px; animation-delay: 0s; }
.rq-hero-shape-2 { width: 400px; height: 400px; background: var(--rq-accent); bottom: -100px; left: -100px; animation-delay: 2s; }
.rq-hero-shape-3 { width: 300px; height: 300px; background: #4a90d9; top: 30%; left: 20%; animation-delay: 4s; opacity: 0.04; }

@keyframes rq-float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.rq-hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.rq-hero-content { position: relative; z-index: 2; }

.rq-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244,163,64,0.15);
  border: 1px solid rgba(244,163,64,0.3);
  color: var(--rq-accent-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.rq-hero-headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--rq-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.rq-hero-headline-rotate {
  display: block;
  color: var(--rq-accent);
  min-height: 1.2em;
}

.rq-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.rq-hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.rq-hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--rq-accent);
  display: block;
  line-height: 1;
}
.rq-hero-stat-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-top: 0.25rem;
}

/* Hero quiz preview card */
.rq-hero-quiz-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--rq-radius-lg);
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}
.rq-hero-quiz-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.rq-hero-quiz-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--rq-gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}
.rq-hero-quiz-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rq-white);
  margin: 0;
}
.rq-hero-quiz-subtitle {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* === SECTIONS === */
.rq-section { padding: 80px 0; }
.rq-section-alt { background: var(--rq-gradient-section); }
.rq-section-dark { background: var(--rq-primary); color: var(--rq-white); }
.rq-section-dark h2, .rq-section-dark h3 { color: var(--rq-white); }

.rq-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.rq-divider-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

/* === QUIZ CARDS === */
.rq-quiz-card-wrapper {
  background: var(--rq-white);
  border-radius: var(--rq-radius-lg);
  box-shadow: var(--rq-shadow-md);
  overflow: hidden;
  transition: var(--rq-transition);
  border: 1px solid var(--rq-border);
}
.rq-quiz-card-wrapper:hover { transform: translateY(-6px); box-shadow: var(--rq-shadow-lg); }

.rq-quiz-card-header-bar {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rq-quiz-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  flex-shrink: 0;
}
.rq-quiz-card-body { padding: 0 2rem 2rem; }

/* Quiz engine styles */
.rq-quiz-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rq-primary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.rq-quiz-options { display: flex; flex-direction: column; gap: 0.6rem; }
.rq-quiz-option {
  background: var(--rq-light);
  border: 2px solid var(--rq-border);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--rq-transition);
  text-align: left;
  color: var(--rq-text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.rq-quiz-option:hover { border-color: var(--rq-secondary); background: rgba(15,124,110,0.06); transform: translateX(4px); }
.rq-quiz-option.rq-correct { border-color: #22c55e; background: rgba(34,197,94,0.1); color: #15803d; }
.rq-quiz-option.rq-wrong { border-color: #ef4444; background: rgba(239,68,68,0.1); color: #b91c1c; }
.rq-quiz-option.rq-disabled { cursor: not-allowed; opacity: 0.7; }

.rq-quiz-option-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rq-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.rq-quiz-feedback {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  display: none;
}
.rq-quiz-feedback.rq-show { display: block; }
.rq-quiz-feedback.rq-feedback-correct { background: rgba(34,197,94,0.12); color: #15803d; border-left: 3px solid #22c55e; }
.rq-quiz-feedback.rq-feedback-wrong { background: rgba(239,68,68,0.1); color: #b91c1c; border-left: 3px solid #ef4444; }

.rq-quiz-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.rq-quiz-progress-bar-track {
  flex: 1;
  height: 4px;
  background: var(--rq-border);
  border-radius: 10px;
  margin: 0 1rem;
  overflow: hidden;
}
.rq-quiz-progress-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: var(--rq-gradient-accent);
  transition: width 0.4s ease;
}
.rq-quiz-counter {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rq-text-muted);
  white-space: nowrap;
}

.rq-quiz-score-display {
  text-align: center;
  padding: 2rem;
}
.rq-quiz-score-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--rq-accent);
  line-height: 1;
}
.rq-quiz-score-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  color: var(--rq-text-muted);
  margin-top: 0.5rem;
}
.rq-quiz-score-message {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--rq-primary);
  margin: 1rem 0;
}

/* === CATEGORY CARDS === */
.rq-category-card {
  background: var(--rq-white);
  border-radius: var(--rq-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 2px solid var(--rq-border);
  transition: var(--rq-transition);
  cursor: pointer;
  height: 100%;
}
.rq-category-card:hover {
  border-color: var(--rq-secondary);
  transform: translateY(-6px);
  box-shadow: var(--rq-shadow-md);
}
.rq-category-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--rq-transition);
}
.rq-category-card:hover .rq-category-icon-wrap { transform: scale(1.1) rotate(-5deg); }
.rq-category-card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--rq-primary);
  margin-bottom: 0.5rem;
}
.rq-category-card p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  color: var(--rq-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* === TESTIMONIALS === */
.rq-testimonials-section { background: var(--rq-primary); padding: 80px 0; }
.rq-testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--rq-radius-lg);
  padding: 2rem;
  height: 100%;
}
.rq-testimonial-stars { color: var(--rq-accent); font-size: 0.9rem; margin-bottom: 1rem; }
.rq-testimonial-text {
  font-style: italic;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.rq-testimonial-author { display: flex; align-items: center; gap: 1rem; }
.rq-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rq-accent);
}
.rq-testimonial-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--rq-white);
  font-size: 0.95rem;
  margin: 0;
}
.rq-testimonial-role {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* === TEAM CARDS === */
.rq-team-card {
  background: var(--rq-white);
  border-radius: var(--rq-radius-lg);
  overflow: hidden;
  box-shadow: var(--rq-shadow-sm);
  transition: var(--rq-transition);
  border: 1px solid var(--rq-border);
  text-align: center;
}
.rq-team-card:hover { transform: translateY(-8px); box-shadow: var(--rq-shadow-lg); }
.rq-team-img-wrap { position: relative; overflow: hidden; height: 240px; }
.rq-team-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.rq-team-card:hover .rq-team-img { transform: scale(1.06); }
.rq-team-info { padding: 1.5rem; }
.rq-team-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--rq-primary); margin-bottom: 0.25rem; }
.rq-team-role { font-family: 'Source Sans 3', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--rq-accent); font-weight: 700; margin-bottom: 0.75rem; }
.rq-team-bio { font-family: 'Source Sans 3', sans-serif; font-size: 0.87rem; color: var(--rq-text-muted); line-height: 1.7; margin: 0; }

/* === COUNTER SECTION === */
.rq-counter-wrap { text-align: center; padding: 1.5rem; }
.rq-counter-value {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--rq-accent);
  line-height: 1;
  display: block;
}
.rq-counter-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  display: block;
}

/* === LEARNING SECTION === */
.rq-learning-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--rq-white);
  border-radius: var(--rq-radius);
  box-shadow: var(--rq-shadow-sm);
  transition: var(--rq-transition);
  margin-bottom: 1rem;
  border: 1px solid var(--rq-border);
}
.rq-learning-step:hover { transform: translateX(8px); box-shadow: var(--rq-shadow-md); border-color: var(--rq-secondary); }
.rq-learning-step-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--rq-gradient-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: white;
  flex-shrink: 0;
}
.rq-learning-step h5 { font-size: 1rem; color: var(--rq-primary); margin-bottom: 0.4rem; }
.rq-learning-step p { font-family: 'Source Sans 3', sans-serif; font-size: 0.88rem; color: var(--rq-text-muted); margin: 0; }

/* === DIFFICULTY SELECTOR === */
.rq-difficulty-selector {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem 0;
}
.rq-difficulty-btn {
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  border: 2px solid var(--rq-border);
  background: var(--rq-white);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--rq-transition);
  color: var(--rq-text-muted);
}
.rq-difficulty-btn.rq-active, .rq-difficulty-btn:hover { border-color: var(--rq-secondary); background: var(--rq-secondary); color: white; }

/* === SCORE TRACKER === */
.rq-score-tracker {
  background: var(--rq-gradient-hero);
  border-radius: var(--rq-radius-lg);
  padding: 2rem;
  color: white;
}
.rq-score-bar {
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  overflow: hidden;
  margin: 0.5rem 0 1.5rem;
}
.rq-score-bar-fill {
  height: 100%;
  background: var(--rq-gradient-accent);
  border-radius: 50px;
  transition: width 1s ease;
}

/* === ARTICLE PAGE STYLES === */
.rq-article-hero {
  background: var(--rq-gradient-hero);
  padding: 120px 0 60px;
}
.rq-article-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.rq-article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.rq-article-content { max-width: 760px; margin: 0 auto; }
.rq-article-content h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; color: var(--rq-primary); }
.rq-article-content h3 { font-size: 1.3rem; margin: 2rem 0 0.75rem; color: var(--rq-secondary); }
.rq-article-content p { font-size: 1rem; line-height: 1.9; margin-bottom: 1.25rem; }
.rq-article-content ul, .rq-article-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.rq-article-content li { margin-bottom: 0.6rem; line-height: 1.8; font-family: 'Source Sans 3', sans-serif; }
.rq-article-img {
  border-radius: var(--rq-radius-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin: 2rem 0;
  box-shadow: var(--rq-shadow-md);
}
.rq-article-pullquote {
  border-left: 4px solid var(--rq-accent);
  padding: 1.25rem 2rem;
  margin: 2rem 0;
  background: var(--rq-light);
  border-radius: 0 12px 12px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--rq-primary);
}
.rq-article-tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: rgba(15,124,110,0.1);
  color: var(--rq-secondary);
  border-radius: 50px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
.rq-article-card {
  background: var(--rq-white);
  border-radius: var(--rq-radius-lg);
  overflow: hidden;
  box-shadow: var(--rq-shadow-sm);
  border: 1px solid var(--rq-border);
  transition: var(--rq-transition);
  height: 100%;
}
.rq-article-card:hover { transform: translateY(-6px); box-shadow: var(--rq-shadow-md); }
.rq-article-card-img { width: 100%; height: 200px; object-fit: cover; }
.rq-article-card-body { padding: 1.5rem; }
.rq-article-card-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--rq-primary); margin-bottom: 0.75rem; line-height: 1.4; }
.rq-article-card-excerpt { font-family: 'Source Sans 3', sans-serif; font-size: 0.87rem; color: var(--rq-text-muted); line-height: 1.7; margin-bottom: 1rem; }
.rq-article-card-link { font-family: 'Source Sans 3', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--rq-secondary); display: flex; align-items: center; gap: 0.4rem; }
.rq-article-card-link:hover { gap: 0.75rem; }

/* === CONTACT PAGE === */
.rq-contact-form { background: var(--rq-white); border-radius: var(--rq-radius-lg); box-shadow: var(--rq-shadow-md); padding: 2.5rem; border: 1px solid var(--rq-border); }
.rq-form-group { margin-bottom: 1.25rem; }
.rq-form-label { display: block; font-family: 'Source Sans 3', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--rq-primary); margin-bottom: 0.5rem; letter-spacing: 0.02em; }
.rq-form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--rq-border);
  border-radius: 10px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem;
  color: var(--rq-text);
  background: var(--rq-light);
  transition: var(--rq-transition);
  outline: none;
}
.rq-form-control:focus { border-color: var(--rq-secondary); background: var(--rq-white); box-shadow: 0 0 0 4px rgba(15,124,110,0.08); }
.rq-form-control.rq-error { border-color: #ef4444; }
.rq-form-error { font-family: 'Source Sans 3', sans-serif; font-size: 0.78rem; color: #ef4444; margin-top: 0.3rem; display: none; }
.rq-form-error.rq-show { display: block; }
textarea.rq-form-control { resize: vertical; min-height: 140px; }

.rq-captcha-box {
  background: var(--rq-light);
  border: 2px solid var(--rq-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.rq-captcha-question { font-family: 'Source Sans 3', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--rq-primary); }
.rq-captcha-input { width: 80px; padding: 0.5rem 0.75rem; border: 2px solid var(--rq-border); border-radius: 8px; font-size: 0.9rem; text-align: center; }

.rq-contact-info-card {
  background: var(--rq-gradient-hero);
  border-radius: var(--rq-radius-lg);
  padding: 2.5rem;
  color: white;
  height: 100%;
}
.rq-contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.rq-contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--rq-accent);
  flex-shrink: 0;
}
.rq-contact-info-text h6 { font-family: 'Source Sans 3', sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 0.3rem; }
.rq-contact-info-text p { color: rgba(255,255,255,0.9); font-size: 0.92rem; margin: 0; font-family: 'Source Sans 3', sans-serif; }

.rq-map-embed { border-radius: var(--rq-radius-lg); overflow: hidden; height: 300px; border: none; box-shadow: var(--rq-shadow-sm); }
.rq-hours-item { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.rq-hours-day { font-family: 'Source Sans 3', sans-serif; font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.rq-hours-time { font-family: 'Source Sans 3', sans-serif; font-size: 0.88rem; color: var(--rq-accent); font-weight: 700; }

/* === LEGAL PAGES === */
.rq-legal-hero { background: var(--rq-gradient-hero); padding: 120px 0 60px; }
.rq-legal-content { max-width: 820px; margin: 0 auto; }
.rq-legal-content h2 { font-size: 1.5rem; color: var(--rq-primary); margin: 2.5rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--rq-border); }
.rq-legal-content h3 { font-size: 1.15rem; color: var(--rq-secondary); margin: 1.75rem 0 0.75rem; }
.rq-legal-content p, .rq-legal-content li { font-family: 'Source Sans 3', sans-serif; font-size: 0.95rem; line-height: 1.85; color: var(--rq-text); }
.rq-legal-content ul, .rq-legal-content ol { padding-left: 1.75rem; margin-bottom: 1rem; }
.rq-legal-content li { margin-bottom: 0.5rem; }
.rq-legal-effective { display: inline-block; background: rgba(15,124,110,0.08); color: var(--rq-secondary); padding: 0.5rem 1.2rem; border-radius: 50px; font-family: 'Source Sans 3', sans-serif; font-size: 0.85rem; font-weight: 700; margin-bottom: 2rem; }

/* === ABOUT PAGE === */
.rq-mission-block {
  padding: 2.5rem;
  border-radius: var(--rq-radius-lg);
  background: var(--rq-white);
  border: 2px solid var(--rq-border);
  height: 100%;
  transition: var(--rq-transition);
}
.rq-mission-block:hover { border-color: var(--rq-secondary); transform: translateY(-4px); box-shadow: var(--rq-shadow-md); }
.rq-mission-block-icon { font-size: 2rem; margin-bottom: 1rem; }
.rq-mission-block h4 { font-size: 1.1rem; color: var(--rq-primary); margin-bottom: 0.75rem; }
.rq-mission-block p { font-family: 'Source Sans 3', sans-serif; font-size: 0.9rem; color: var(--rq-text-muted); margin: 0; line-height: 1.75; }

.rq-timeline { position: relative; padding-left: 2rem; }
.rq-timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--rq-gradient-green); }
.rq-timeline-item { position: relative; margin-bottom: 2rem; padding-left: 1.5rem; }
.rq-timeline-dot { position: absolute; left: -2.55rem; top: 0.25rem; width: 16px; height: 16px; border-radius: 50%; background: var(--rq-accent); border: 3px solid var(--rq-white); box-shadow: 0 0 0 2px var(--rq-accent); }
.rq-timeline-year { font-family: 'Source Sans 3', sans-serif; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--rq-accent); margin-bottom: 0.3rem; }
.rq-timeline-title { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--rq-primary); margin-bottom: 0.4rem; }
.rq-timeline-text { font-family: 'Source Sans 3', sans-serif; font-size: 0.87rem; color: var(--rq-text-muted); line-height: 1.7; margin: 0; }

/* === THANK YOU PAGE === */
.rq-thankyou-section { min-height: 100vh; background: var(--rq-gradient-hero); display: flex; align-items: center; }
.rq-thankyou-card { background: rgba(255,255,255,0.07); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--rq-radius-lg); padding: 4rem; text-align: center; max-width: 560px; margin: 0 auto; }
.rq-thankyou-icon { font-size: 4rem; margin-bottom: 1.5rem; }

/* === FOOTER === */
.rq-footer { background: var(--rq-dark); color: rgba(255,255,255,0.7); padding: 70px 0 30px; }
.rq-footer-brand { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 900; color: var(--rq-white); }
.rq-footer-brand span { color: var(--rq-accent); }
.rq-footer-desc { font-family: 'Source Sans 3', sans-serif; font-size: 0.87rem; line-height: 1.75; color: rgba(255,255,255,0.55); margin-top: 0.75rem; max-width: 280px; }
.rq-footer-heading { font-family: 'Source Sans 3', sans-serif; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.rq-footer-links { list-style: none; padding: 0; }
.rq-footer-links li { margin-bottom: 0.6rem; }
.rq-footer-links a { font-family: 'Source Sans 3', sans-serif; font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: var(--rq-transition); }
.rq-footer-links a:hover { color: var(--rq-accent); padding-left: 4px; }
.rq-footer-divider { border-color: rgba(255,255,255,0.08); margin: 2.5rem 0 1.5rem; }
.rq-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; }
.rq-footer-copy { font-family: 'Source Sans 3', sans-serif; font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* === COOKIE BANNER === */
.rq-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--rq-dark);
  border-top: 2px solid var(--rq-accent);
  padding: 1.25rem 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.rq-cookie-banner.rq-show { transform: translateY(0); }
.rq-cookie-text { font-family: 'Source Sans 3', sans-serif; font-size: 0.87rem; color: rgba(255,255,255,0.75); flex: 1; }
.rq-cookie-text a { color: var(--rq-accent); }
.rq-cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.rq-cookie-btn-accept {
  background: var(--rq-gradient-accent);
  color: white;
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}
.rq-cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
}

/* === ABOUT HERO === */
.rq-about-hero { background: var(--rq-gradient-hero); padding: 120px 0 70px; }

/* === PAGE HERO === */
.rq-page-hero { background: var(--rq-gradient-hero); padding: 120px 0 60px; }

/* === ANIMATIONS === */
.rq-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.rq-fade-in.rq-visible { opacity: 1; transform: translateY(0); }
.rq-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.rq-slide-left.rq-visible { opacity: 1; transform: translateX(0); }
.rq-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.rq-slide-right.rq-visible { opacity: 1; transform: translateX(0); }

.rq-delay-1 { transition-delay: 0.1s; }
.rq-delay-2 { transition-delay: 0.2s; }
.rq-delay-3 { transition-delay: 0.3s; }
.rq-delay-4 { transition-delay: 0.4s; }
.rq-delay-5 { transition-delay: 0.5s; }

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .rq-hero-stats { gap: 1.5rem; }
  .rq-hero-stat-number { font-size: 1.6rem; }
}
@media (max-width: 768px) {
  .rq-section { padding: 60px 0; }
  .rq-hero-animated { min-height: auto; padding: 120px 0 60px; }
  .rq-hero-quiz-card { margin-top: 2.5rem; }
  .rq-contact-info-card { margin-top: 2rem; }
  .rq-cookie-banner { flex-direction: column; align-items: flex-start; padding: 1rem; }
  .rq-thankyou-card { padding: 2.5rem 1.5rem; }
  .rq-footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--rq-light); }
::-webkit-scrollbar-thumb { background: var(--rq-secondary); border-radius: 3px; }

/* Page inner padding */
.rq-inner-page { padding-top: 80px; }

/* =============================================
   LEGAL PAGES — rq-legal-body classes
   ============================================= */
.rq-legal-hero {
  background: var(--rq-gradient-hero);
  padding: 120px 0 60px;
  text-align: center;
}
.rq-legal-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 0.5rem;
}
.rq-legal-hero-sub {
  color: rgba(255,255,255,0.65);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
}
.rq-legal-body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--rq-text);
}
.rq-legal-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: var(--rq-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--rq-border);
}
.rq-legal-body h3 {
  font-size: 1.1rem;
  color: var(--rq-secondary);
  margin: 1.75rem 0 0.75rem;
  font-weight: 700;
}
.rq-legal-body p { line-height: 1.85; margin-bottom: 1rem; }
.rq-legal-body ul, .rq-legal-body ol { padding-left: 1.75rem; margin-bottom: 1rem; }
.rq-legal-body li { margin-bottom: 0.5rem; line-height: 1.75; }
.rq-legal-body a { color: var(--rq-secondary); }
.rq-legal-body a:hover { color: var(--rq-primary); }
.rq-legal-intro {
  background: rgba(15,124,110,0.06);
  border-left: 4px solid var(--rq-secondary);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.rq-legal-address {
  background: var(--rq-light);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  font-style: normal;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* Cookie table on cookie policy page */
.rq-cookie-table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.rq-cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.rq-cookie-table th {
  background: var(--rq-primary);
  color: #fff;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
}
.rq-cookie-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--rq-border);
  vertical-align: top;
}
.rq-cookie-table tr:last-child td { border-bottom: none; }
.rq-cookie-table code {
  background: #f0f4ff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--rq-primary);
}

.logo{
  max-width: 50px;
  object-fit: contain;
}

html{
  overflow-x: hidden;
}

#rq-hero .rq-quiz-question{
  color: #fff!important;
}