/* ============================================
   GETREADY.IN — MAIN STYLESHEET
   Colors from logo: Blue #1565C0, Orange #E85520, Green #43A047
   Font: Inter (clean, professional sans-serif)
   ============================================ */

/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Brand Colors */
  --primary:     #1565C0;
  --primary-dark:#0D47A1;
  --primary-light:#1976D2;
  --accent:      #E85520;
  --accent-dark: #BF360C;
  --green:       #43A047;

  /* Neutrals */
  --dark:     #0f1729;
  --text:     #1a202c;
  --text-muted: #64748b;
  --border:   #e2e8f0;
  --bg:       #f8fafc;
  --surface:  #ffffff;
  --surface-alt: #f1f5f9;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);

  /* Radii */
  --radius:    8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Fonts */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; }

/* ============================================
   UTILITY
   ============================================ */
.fw-300 { font-weight: 300 !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.text-primary { color: var(--primary) !important; }
.text-accent  { color: var(--accent) !important; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar-custom {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  min-height: 64px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  z-index: 1000;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-logo img {
  height: 38px;
  width: auto;
  max-width: 160px;
  display: block;
}

/* Fallback text logo if image fails */
.navbar-logo .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.navbar-logo .logo-text span { color: var(--accent); }

.navbar-custom .nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.4rem 0.85rem !important;
  border-radius: 6px;
  transition: all 0.15s;
}

.navbar-custom .nav-link:hover {
  color: var(--primary) !important;
  background: rgba(21,101,192,0.06);
}

.btn-nav-login {
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  padding: 0.4rem 1.1rem !important;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.15s;
}
.btn-nav-login:hover { background: var(--primary); color: #fff !important; }

.btn-nav-cta {
  background: var(--accent);
  color: #fff !important;
  border-radius: 8px;
  padding: 0.4rem 1.1rem !important;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.15s;
  border: none;
}
.btn-nav-cta:hover { background: var(--accent-dark); color: #fff !important; }

/* User dropdown */
.btn-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 0.3rem 0.9rem 0.3rem 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-user:hover { border-color: var(--primary); }
.avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: all 0.15s;
}
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   FORMS
   ============================================ */
.form-control, .form-select {
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-color: var(--border);
  border-radius: var(--radius);
  padding: 0.55rem 0.9rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
  outline: none;
}
.form-label { font-weight: 500; font-size: 0.875rem; color: var(--text); margin-bottom: 0.4rem; }

/* ============================================
   HERO SECTION (homepage)
   ============================================ */
.hero-section {
  padding: 90px 0 80px;
  background: linear-gradient(160deg, #f0f7ff 0%, #fff 60%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(21,101,192,0.08);
  color: var(--primary);
  border: 1px solid rgba(21,101,192,0.2);
  border-radius: 2rem;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.hero-title .highlight { color: var(--primary); }
.hero-title .highlight-orange { color: var(--accent); }
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-hero-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(21,101,192,.3); }
.btn-hero-secondary {
  background: transparent;
  color: var(--text);
  padding: 0.8rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-hero-secondary:hover { border-color: var(--primary); color: var(--primary); }

.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stat-num { font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1; }
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* Section labels */
.section-label {
  display: inline-block;
  background: rgba(21,101,192,0.08);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35em 1em;
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.01em;
}

/* ============================================
   FEATURE CARDS (homepage)
   ============================================ */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.25s;
  height: 100%;
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(21,101,192,.1);
  transform: translateY(-3px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  background: rgba(21,101,192,0.1);
  color: var(--primary);
}
.feature-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

/* ============================================
   DASHBOARD LAYOUT — DEFINITIVE VERSION
   ============================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: 220px;
  min-width: 220px;
  flex-shrink: 0;
  background: #0f1729;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 200;
  display: flex;
  flex-direction: column;
}
.sidebar-brand {
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.sidebar-brand a {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
  display: block;
}
.sidebar-brand a span { color: #E85520; }

/* Push main content right since sidebar is fixed */
.dashboard-sidebar-title {
  padding: 1rem 1rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.sidebar-nav {
  padding: 1.25rem 0.75rem;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2px;
  transition: all 0.15s;
}

.sidebar-nav a i { font-size: 1rem; width: 18px; text-align: center; flex-shrink: 0; }

.sidebar-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sidebar-nav a.active { background: var(--primary); color: #fff; }

.dashboard-main {
  flex: 1;
  min-width: 0;
  padding: 2rem;
  background: var(--bg);
  overflow-x: hidden;
  margin-left: 220px;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .dashboard-layout { flex-direction: column; }
  .dashboard-sidebar {
    width: 100%; min-width: 100%; height: auto;
    position: relative; top: 0;
  }
  .sidebar-nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 0.75rem; }
  .sidebar-nav a { padding: 0.4rem 0.7rem; font-size: 0.78rem; }
  .dashboard-main { padding: 1rem; }
}

/* ============================================
   STAT CARDS
   ============================================ */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.stat-value { font-size: 1.8rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ============================================
   READINESS RING
   ============================================ */
.readiness-ring { position: relative; display: inline-block; }
.readiness-ring svg { display: block; }
.ring-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.ring-score { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.ring-label { font-size: 0.72rem; color: var(--text-muted); }

/* ============================================
   TEST CARDS
   ============================================ */
.test-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  transition: all 0.2s;
}
.test-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.test-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--text-muted); }
.test-meta-item { display: flex; align-items: center; gap: 0.3rem; }

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s;
  height: 100%;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-img {
  height: 175px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
  overflow: hidden;
}
.blog-card-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.3);
}
.blog-card-body { padding: 1.25rem; }
.blog-category {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary);
}
.blog-title {
  font-size: 0.95rem; font-weight: 600;
  margin: 0.5rem 0 0.6rem; color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-excerpt {
  color: var(--text-muted); font-size: 0.82rem;
  line-height: 1.6; margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-meta {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.76rem; color: var(--text-muted); flex-wrap: wrap;
}

/* ============================================
   INTERVIEW / CHAT BUBBLES
   ============================================ */
.interview-bubble-ai {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  padding: 1rem 1.25rem;
  max-width: 80%;
  font-size: 0.9rem;
}
.interview-bubble-user {
  background: var(--primary);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
  padding: 1rem 1.25rem;
  max-width: 80%;
  margin-left: auto;
  font-size: 0.9rem;
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.auth-left {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  padding: 3rem;
}
.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #fff;
}
.auth-card { width: 100%; max-width: 420px; }
.auth-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.35rem; }
.auth-subtitle { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.9rem; }
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  width: 100%; padding: 0.65rem; border-radius: var(--radius);
  border: 1.5px solid var(--border); background: #fff;
  font-weight: 500; font-size: 0.9rem; color: var(--text);
  cursor: pointer; transition: all 0.15s; text-decoration: none;
}
.btn-google:hover { border-color: var(--primary); background: #f8fafc; color: var(--text); }
.divider-text {
  text-align: center; position: relative; margin: 1.25rem 0;
  color: var(--text-muted); font-size: 0.8rem;
}
.divider-text::before, .divider-text::after {
  content: ''; position: absolute; top: 50%;
  width: 42%; height: 1px; background: var(--border);
}
.divider-text::before { left: 0; }
.divider-text::after { right: 0; }
@media (max-width: 768px) {
  .auth-wrapper { grid-template-columns: 1fr; }
  .auth-left { display: none !important; }
}

/* ============================================
   RESUME BUILDER
   ============================================ */
.resume-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  height: calc(100vh - 64px);
  overflow: hidden;
}
.resume-form-panel {
  overflow-y: auto; padding: 1.5rem;
  border-right: 1px solid var(--border);
  background: var(--surface);
}
.resume-preview-panel { overflow-y: auto; padding: 2rem; background: var(--surface-alt); }
.resume-paper {
  background: #fff; color: #1a1a1a;
  border-radius: 6px; box-shadow: 0 4px 24px rgba(0,0,0,.15);
  min-height: 297mm; width: 100%; max-width: 210mm; margin: 0 auto;
  overflow: hidden; font-family: 'Inter', sans-serif; font-size: 13px;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  height: 100%;
  transition: all 0.2s;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(21,101,192,.3);
}
.pricing-badge { font-size: 0.72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.5rem; }
.pricing-card.featured .pricing-badge { color: rgba(255,255,255,.8); }
.plan-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.price-amount { font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.pricing-card.featured .price-amount { color: #fff; }
.price-period { font-size: 0.85rem; color: var(--text-muted); }
.pricing-card.featured .price-period { color: rgba(255,255,255,.65); }
.plan-features { list-style: none; padding: 0; margin: 0; }
.plan-features li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; }
.pricing-card.featured .plan-features li { border-color: rgba(255,255,255,.15); }
.plan-features li:last-child { border-bottom: none; }

/* ============================================
   FOOTER
   ============================================ */
/* Footer styles moved below */
.social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: all 0.15s; text-decoration: none;
}
.social-btn:hover { background: var(--primary); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.8rem; color: rgba(255,255,255,.35); }

/* ============================================
   ALERTS & BADGES
   ============================================ */
.alert { border-radius: var(--radius); font-size: 0.875rem; }
.badge { font-weight: 500; }

/* ============================================
   QUIZ / SKILL TEST SPECIFIC
   ============================================ */
.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  background: #fff;
  user-select: none;
}
.quiz-option:hover { border-color: #1565C0; background: rgba(21,101,192,.04); }
.quiz-option.selected { border-color: #1565C0; background: rgba(21,101,192,.08); color: #1565C0; }
.quiz-option.correct { border-color: #15803d; background: rgba(21,128,61,.08); }
.quiz-option.wrong { border-color: #dc2626; background: rgba(220,38,38,.06); }
.option-letter {
  width: 30px; height: 30px; border-radius: 50%;
  background: #f1f5f9; border: 1.5px solid #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; flex-shrink: 0; color: #64748b;
  transition: all 0.15s;
}
.quiz-option.selected .option-letter { background: #1565C0; border-color: #1565C0; color: #fff; }
.quiz-option.correct .option-letter { background: #15803d; border-color: #15803d; color: #fff; }
.quiz-option.wrong .option-letter { background: #dc2626; border-color: #dc2626; color: #fff; }

/* ============================================
   MISC
   ============================================ */
.post-hero { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 4rem 0 3rem; color: #fff; }
.max-w-lg { max-width: 540px; }
.section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }


/* Quiz option layout fix */
.quiz-option {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-bottom: 0.5rem !important;
}
.option-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: all 0.15s;
}
.quiz-option.selected .option-letter {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.quiz-option.correct .option-letter {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.quiz-option.wrong .option-letter {
  background: #e53935;
  border-color: #e53935;
  color: #fff;
}
.quiz-progress {
  width: 100%;
  background: var(--border);
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--primary);
  transition: width 0.3s;
}

/* ============================================
   FOOTER — complete styles
   ============================================ */
.site-footer {
  background: #0f172a;
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
  margin-top: auto;
}
.footer-brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  display: block;
}
.footer-tagline {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 240px;
}
.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.footer-link {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  margin-bottom: 0.55rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-link:hover { color: #fff; }
.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.social-btn {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; text-decoration: none;
  transition: all 0.15s; border: none;
}
.social-btn:hover { background: #1565C0; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 3rem; padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}

/* ============================================
   PAGE HEROES — blog, pricing, contact
   ============================================ */
.page-hero {
  padding: 60px 0 50px;
  background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35em 1em;
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 0;
}
.page-hero .search-bar {
  margin-top: 1.75rem;
  max-width: 480px;
}
.page-hero .search-bar .form-control {
  border: none;
  border-radius: 10px 0 0 10px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.page-hero .search-bar .btn {
  border-radius: 0 10px 10px 0;
  background: #E85520;
  border-color: #E85520;
  padding: 0 1.25rem;
}

/* ============================================
   FEATURE CARDS — redesigned
   ============================================ */
.feature-card-v2 {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card-v2::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--card-color, #1565C0), var(--card-color2, #1976D2));
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-card-v2:hover {
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.feature-card-v2:hover::before { opacity: 1; }
.feature-icon-v2 {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: transform 0.2s;
}
.feature-card-v2:hover .feature-icon-v2 { transform: scale(1.1); }
.feature-card-v2 h5 {
  font-size: 1rem; font-weight: 700;
  color: #0f172a; margin-bottom: 0.5rem;
}
.feature-card-v2 p {
  color: #64748b; font-size: 0.875rem;
  line-height: 1.65; margin-bottom: 1rem;
}
.feature-card-v2 a.card-link {
  font-size: 0.82rem; font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.3rem;
  transition: gap 0.2s;
}
.feature-card-v2:hover a.card-link { gap: 0.5rem; }

/* ============================================
   QUIZ OPTION FIX
   ============================================ */
.quiz-option {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.9rem;
  margin-bottom: 0.6rem !important;
  background: #fff;
  user-select: none;
}
.quiz-option:hover {
  border-color: #1565C0;
  background: rgba(21,101,192,0.04);
}
.quiz-option.selected {
  border-color: #1565C0;
  background: rgba(21,101,192,0.08);
  color: #1565C0;
}
.option-letter {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
  flex-shrink: 0; color: #64748b;
  transition: all 0.15s;
}
.quiz-option.selected .option-letter {
  background: #1565C0; border-color: #1565C0; color: #fff;
}
.quiz-option.correct { border-color: #15803d; background: rgba(21,128,61,0.08); }
.quiz-option.correct .option-letter { background: #15803d; border-color: #15803d; color: #fff; }
.quiz-option.wrong { border-color: #dc2626; background: rgba(220,38,38,0.06); }
.quiz-option.wrong .option-letter { background: #dc2626; border-color: #dc2626; color: #fff; }


/* ============================================
   MOBILE FIXES — max-width 768px ONLY
   Desktop untouched above this block
   ============================================ */
@media (max-width: 768px) {

  /* Prevent horizontal scroll globally */
  html, body { overflow-x: hidden; max-width: 100vw; }
  .container, .container-fluid { overflow-x: hidden; }

  /* --- NAVBAR --- */
  .navbar-custom .navbar-collapse {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 1rem;
    margin-top: .5rem;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    z-index: 2000;
    position: relative;
  }
  .navbar-custom .nav-link {
    padding: .65rem .75rem !important;
    border-radius: 8px;
    font-size: .9rem;
  }
  .navbar-custom .nav-link:hover { background: #f1f5f9; }
  .navbar-custom .d-flex { margin-top: .75rem; gap: .5rem; flex-direction: column; }
  .navbar-custom .btn-nav-login,
  .navbar-custom .btn-nav-cta { width: 100%; text-align: center; }
  .navbar-custom .dropdown-menu { position: static !important; box-shadow: none; border: 1px solid #e2e8f0; }

  /* --- HERO SECTION BUTTONS --- */
  /* Make hero buttons stack and go full width on mobile */
  section a[style*="E85520"],
  section a[style*="background:#fff"][style*="border:1.5px"] {
    width: 100% !important;
    justify-content: center !important;
    display: flex !important;
  }
  /* Target the specific hero button wrapper */
  .hero-btns { flex-direction: column !important; }
  .hero-btns a { width: 100% !important; justify-content: center !important; }

  /* --- DASHBOARD SIDEBAR on mobile --- */
  /* Fixed sidebar hides on mobile, main content takes full width */
  .dashboard-sidebar,
  aside[style*="position:fixed"][style*="top:64px"] {
    display: none !important;
  }
  main[style*="margin-left:220px"],
  .dashboard-main {
    margin-left: 0 !important;
    padding: 1rem !important;
    width: 100% !important;
  }

  /* Dashboard standalone (dashboard.php uses its own HTML) */
  .dashboard-layout {
    display: block !important;
  }
  .dashboard-layout nav.dashboard-sidebar,
  .dashboard-layout aside {
    display: none !important;
  }
  .dashboard-layout .dashboard-main {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 1rem !important;
  }

  /* --- DASHBOARD TOPBAR --- */
  .dashboard-topbar {
    flex-wrap: wrap;
    gap: .75rem;
  }
  .dashboard-topbar .d-flex { flex-wrap: wrap; gap: .5rem; }

  /* --- STAT CARDS --- */
  .stat-card { padding: 1rem !important; }

  /* --- GENERAL FIXES --- */
  .row { margin-left: 0 !important; margin-right: 0 !important; }
  .col-md-4, .col-md-6, .col-md-8, .col-lg-4, .col-lg-6, .col-lg-8 { padding-left: .75rem; padding-right: .75rem; }

  /* Footer grid to single column */
  footer [style*="grid-template-columns"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
  }
  footer [style*="grid-template-columns"]:first-child > div:first-child {
    grid-column: 1 / -1;
  }

  /* Career coach sidebar hide */
  .cc-sidebar { display: none !important; }
  .cc-main { margin-left: 0 !important; }

  /* Resume builder sidebar hide */
  aside[style*="width:220px"] { display: none !important; }
  .resume-layout { margin-left: 0 !important; grid-template-columns: 1fr !important; height: auto !important; }
}

/* Show mobile dash nav only on mobile */
@media (max-width: 768px) {
  .mobile-dash-nav { display: block !important; }
  nav.dashboard-sidebar { display: none !important; }
}

.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-card { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem; }
.stat-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.dashboard-content { padding: 0; }
.dashboard-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
