/* QualiVeri - Main Site Styles */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6; color: #333; background: #f8f9fb; overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── HEADER ─────────────────────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2rem; max-width: 1200px; margin: 0 auto;
}
.nav-brand .logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.5rem; font-weight: 800; color: #2563eb; text-decoration: none; cursor: pointer;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: #2563eb; }
.mobile-menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: #333; }
.nav-links.open { display: flex !important; flex-direction: column; position: absolute;
  top: 100%; left: 0; right: 0; background: white; padding: 1rem 2rem;
  border-bottom: 1px solid #e5e7eb; box-shadow: 0 10px 20px rgba(0,0,0,0.1); gap: 1rem; }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex; align-items: center; padding-top: 80px; color: white;
}
.hero-content {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-text h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.highlight {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; line-height: 1.6; }
.hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.feature-item { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.feature-item i { color: #fbbf24; }
.hero-cta { margin-bottom: 3rem; }
.primary-button {
  background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1f2937;
  border: none; padding: 1rem 2rem; border-radius: 12px; font-weight: 700;
  font-size: 1.1rem; cursor: pointer; transition: all 0.3s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.primary-button:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(251,191,36,0.4); }
.trust-indicators { display: flex; gap: 2rem; }
.stat { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: #fbbf24; }
.stat-label { font-size: 0.9rem; opacity: 0.8; }

/* Certificate Preview */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.certificate-preview { transform: rotate(5deg); transition: transform 0.3s; }
.certificate-preview:hover { transform: rotate(0deg) scale(1.05); }
.certificate {
  background: white; color: #333; padding: 2rem; border-radius: 15px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3); width: 350px; text-align: center;
}
.certificate-header { margin-bottom: 1.5rem; }
.certificate-header i { font-size: 2rem; color: #fbbf24; margin-bottom: 0.5rem; display: block; }
.certificate-header h3 { font-size: 1.4rem; color: #2563eb; font-weight: 700; }
.certificate-body p { margin-bottom: 0.5rem; font-size: 0.9rem; }
.certificate-body h2 { font-size: 1.6rem; color: #2563eb; margin: 1rem 0; font-weight: 800; }
.certificate-body h4 { color: #1f2937; margin: 1rem 0; font-size: 1rem; }
.certificate-footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #e5e7eb; }
.signature-line { width: 100px; height: 1px; background: #333; margin-bottom: 0.5rem; }
.certificate-id p { font-size: 0.7rem; color: #6b7280; }

/* ── CATEGORIES ─────────────────────────────────────────────────────────── */
.categories-section { padding: 5rem 0; background: #f8fafc; }
.categories-section h2 { text-align: center; font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; color: #1f2937; }
.section-subtitle { text-align: center; font-size: 1.1rem; color: #6b7280; margin-bottom: 3rem; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.category-card {
  background: white; border-radius: 20px; padding: 2rem; text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08); transition: all 0.3s;
  cursor: pointer; border: 2px solid transparent;
}
.category-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); border-color: #2563eb; }
.category-icon {
  width: 70px; height: 70px; background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 18px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; color: white; font-size: 1.8rem;
}
.category-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; color: #1f2937; }
.category-card p { color: #6b7280; margin-bottom: 1.25rem; line-height: 1.5; font-size: 0.95rem; }
.category-count { background: linear-gradient(135deg, #10b981, #059669); color: white; padding: 0.4rem 1rem; border-radius: 20px; font-weight: 600; font-size: 0.85rem; display: inline-block; }

/* ── CERTIFICATIONS LIST ─────────────────────────────────────────────────── */
.certifications-list { padding: 5rem 0; background: white; min-height: 100vh; }
.certifications-header { display: flex; align-items: center; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.back-btn {
  background: #f1f5f9; border: none; padding: 0.7rem 1.4rem; border-radius: 10px;
  font-weight: 600; cursor: pointer; transition: all 0.3s;
  display: flex; align-items: center; gap: 0.5rem; color: #374151;
}
.back-btn:hover { background: #e2e8f0; transform: translateX(-4px); }
.certifications-header h2 { font-size: 2rem; font-weight: 800; color: #1f2937; }
.certifications-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.certification-card {
  background: white; border-radius: 15px; padding: 1.75rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08); transition: all 0.3s; border: 1px solid #e5e7eb;
}
.certification-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(0,0,0,0.12); }
.cert-image { width: 100%; height: 140px; object-fit: cover; border-radius: 10px; margin-bottom: 1.25rem; }
.cert-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.cert-icon { width: 46px; height: 46px; background: linear-gradient(135deg, #2563eb, #1d4ed8); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; flex-shrink: 0; }
.cert-header h3 { font-size: 1.15rem; font-weight: 700; color: #1f2937; }
.cert-body p { color: #6b7280; margin-bottom: 1rem; line-height: 1.5; font-size: 0.9rem; }
.cert-features { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.cert-features span { display: flex; align-items: center; gap: 0.3rem; font-size: 0.82rem; color: #6b7280; }
.cert-features i { color: #2563eb; }
.cert-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 1.25rem; border-top: 1px solid #e5e7eb; }
.cert-price { font-size: 1.4rem; font-weight: 800; color: #1f2937; }
.price-note { display: block; font-size: 0.75rem; color: #10b981; font-weight: 500; }
.take-exam-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white;
  border: none; padding: 0.7rem 1.4rem; border-radius: 8px; font-weight: 600;
  cursor: pointer; transition: all 0.3s; animation: shake 3s infinite;
}
.take-exam-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,0.3); animation: none; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  10%,30%,50%,70%,90% { transform: translateX(-2px); }
  20%,40%,60%,80% { transform: translateX(2px); }
}

/* ── QUIZ ───────────────────────────────────────────────────────────────── */
.quiz-section {
  min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem 0; display: flex; align-items: center;
}
.quiz-container { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }
.timer-container { background: white; border-radius: 15px; padding: 1.25rem; margin-bottom: 1.5rem; box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.timer { display: flex; align-items: center; justify-content: center; gap: 0.75rem; font-size: 1.4rem; font-weight: 700; color: #1f2937; margin-bottom: 1rem; }
.timer.warning { color: #dc2626; animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
.progress-bar { width: 100%; height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
.progress { height: 100%; background: linear-gradient(135deg, #10b981, #059669); border-radius: 4px; transition: width 1s linear; }
.question-counter { text-align: center; color: white; font-size: 1rem; font-weight: 600; margin-bottom: 1.5rem; }
.question-container { background: white; border-radius: 20px; padding: 2.5rem; margin-bottom: 1.5rem; box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.question-card h3 { font-size: 1.3rem; font-weight: 600; color: #1f2937; margin-bottom: 1.75rem; line-height: 1.6; }
.options-container { display: grid; gap: 0.85rem; }
.option {
  background: #f8fafc; border: 2px solid #e5e7eb; border-radius: 12px;
  padding: 1.1rem 1.25rem; cursor: pointer; transition: all 0.3s;
  display: flex; align-items: center; gap: 1rem;
}
.option:hover { border-color: #2563eb; background: #eff6ff; }
.option.selected { border-color: #2563eb; background: #eff6ff; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.option-letter {
  width: 30px; height: 30px; background: #e5e7eb; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #374151; flex-shrink: 0; font-size: 0.85rem;
}
.option.selected .option-letter { background: #2563eb; color: white; }
.option-text { font-weight: 500; color: #374151; }
.quiz-navigation { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.nav-btn, .submit-btn {
  background: white; border: 2px solid #e5e7eb; color: #374151;
  padding: 0.9rem 1.4rem; border-radius: 12px; font-weight: 600;
  cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 0.5rem;
}
.nav-btn:hover:not(:disabled) { border-color: #2563eb; color: #2563eb; }
.nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.submit-btn { background: linear-gradient(135deg, #10b981, #059669); border-color: #10b981; color: white; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16,185,129,0.3); }

/* ── RESULTS ─────────────────────────────────────────────────────────────── */
.results-section {
  min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem 0; display: flex; align-items: center;
}
.results-container {
  background: white; border-radius: 20px; padding: 2.5rem;
  max-width: 580px; margin: 0 auto; text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}
.results-header { margin-bottom: 2.5rem; }
.result-icon {
  width: 90px; height: 90px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 2.5rem;
}
.result-icon.pass { background: linear-gradient(135deg, #10b981, #059669); color: white; }
.result-icon.fail { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
.results-header h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.75rem; color: #1f2937; }
.results-header p { font-size: 1.1rem; color: #6b7280; }
.score-display {
  display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center;
  margin-bottom: 2.5rem; padding: 1.75rem; background: #f8fafc; border-radius: 15px;
}
.score-circle {
  width: 110px; height: 110px; border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800;
}
.score-circle small { font-size: 0.85rem; font-weight: 500; opacity: 0.8; }
.score-details { text-align: left; }
.score-item { display: flex; justify-content: space-between; align-items: center; padding: 0.65rem 0; border-bottom: 1px solid #e5e7eb; }
.score-item:last-child { border-bottom: none; }
.score-item .label { color: #6b7280; font-weight: 500; }
.score-item span:last-child { font-weight: 700; color: #1f2937; }

/* ── PAYMENT SECTION ─────────────────────────────────────────────────────── */
.payment-section { text-align: left; border-top: 2px solid #e5e7eb; padding-top: 2rem; }
.payment-section h3 { font-size: 1.4rem; font-weight: 700; color: #1f2937; margin-bottom: 0.4rem; text-align: center; }
.payment-section > p { color: #6b7280; text-align: center; margin-bottom: 1.75rem; }
.payment-form { display: grid; gap: 1.25rem; }
.form-group { display: grid; gap: 0.4rem; }
.form-group label { font-weight: 600; color: #374151; font-size: 0.9rem; }
.form-group input {
  padding: 0.9rem 1rem; border: 2px solid #e5e7eb; border-radius: 8px;
  font-size: 1rem; transition: border-color 0.3s; font-family: inherit;
}
.form-group input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }

/* Payment Method Selector */
.payment-method-selector { margin: 0.25rem 0; }
.pm-label { font-weight: 600; color: #374151; font-size: 0.9rem; display: block; margin-bottom: 0.75rem; }
.pm-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.6rem; }
.pm-option { cursor: pointer; }
.pm-option input[type="radio"] { display: none; }
.pm-card {
  border: 2px solid #e5e7eb; border-radius: 10px; padding: 0.6rem 0.5rem;
  text-align: center; transition: all 0.2s; background: #f8fafc;
}
.pm-card i { font-size: 1.2rem; color: #2563eb; display: block; margin-bottom: 0.25rem; }
.pm-card span { font-size: 0.78rem; font-weight: 600; color: #374151; display: block; }
.pm-option input:checked + .pm-card { border-color: #2563eb; background: #eff6ff; }
.pm-option input:checked + .pm-card i { color: #2563eb; }

.payment-summary { background: #f8fafc; border-radius: 12px; padding: 1.25rem; }
.payment-item { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0; color: #6b7280; font-size: 0.9rem; }
.payment-total { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 0 0; border-top: 2px solid #e5e7eb; font-weight: 700; font-size: 1.1rem; color: #1f2937; }
.pay-btn {
  background: linear-gradient(135deg, #10b981, #059669); color: white; border: none;
  padding: 1.1rem; border-radius: 12px; font-weight: 700; font-size: 1.05rem;
  cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.pay-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(16,185,129,0.4); }
.secure-text { text-align: center; color: #9ca3af; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; gap: 0.35rem; }

/* Retry */
.retry-section { border-top: 2px solid #e5e7eb; padding-top: 2rem; }
.retry-section p { color: #6b7280; margin-bottom: 1.75rem; }
.retry-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706); color: white;
  border: none; padding: 0.9rem 2rem; border-radius: 12px; font-weight: 700;
  cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 0.75rem;
}
.retry-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245,158,11,0.4); }

/* ── DOWNLOAD CERT BUTTON ───────────────────────────────────────────────── */
.download-cert-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white;
  border: none; padding: 1rem 1.5rem; border-radius: 12px; font-weight: 700;
  cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center;
  gap: 0.6rem; font-size: 1rem; margin-top: 0.5rem; width: 100%; justify-content: center;
}
.download-cert-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(37,99,235,0.3); }

/* ── HOW IT WORKS ────────────────────────────────────────────────────────── */
.how-it-works { padding: 5rem 0; background: white; }
.how-it-works h2 { text-align: center; font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; color: #1f2937; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; margin-top: 3rem; }
.step { text-align: center; }
.step-number {
  width: 56px; height: 56px; background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; margin: 0 auto 1.25rem;
}
.step-content h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.75rem; color: #1f2937; }
.step-content p { color: #6b7280; line-height: 1.6; }

/* ── ABOUT ───────────────────────────────────────────────────────────────── */
.about-section { padding: 5rem 0; background: white; }
.about-content { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; color: #1f2937; }
.about-subtitle { font-size: 1.1rem; color: #6b7280; margin-bottom: 2.5rem; }
.about-features { display: grid; gap: 1.75rem; }
.about-feature { display: flex; gap: 1rem; align-items: flex-start; }
.about-feature i { font-size: 1.4rem; color: #2563eb; margin-top: 0.2rem; }
.about-feature h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; color: #1f2937; }
.about-feature p { color: #6b7280; line-height: 1.6; font-size: 0.95rem; }
.about-stats { display: grid; gap: 1.5rem; }
.stat-card {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0); padding: 1.5rem;
  border-radius: 15px; display: flex; align-items: center; gap: 1rem;
  border: 1px solid #e5e7eb;
}
.stat-icon {
  width: 54px; height: 54px; background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.4rem;
}
.stat-info .stat-number { display: block; font-size: 1.8rem; font-weight: 800; color: #1f2937; }
.stat-info .stat-label { font-size: 0.85rem; color: #6b7280; font-weight: 500; }

/* ── CONTACT ─────────────────────────────────────────────────────────────── */
.contact-section { padding: 5rem 0; background: #f8fafc; }
.contact-section h2 { text-align: center; font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; color: #1f2937; }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
.contact-info { display: grid; gap: 1.75rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 46px; height: 46px; background: linear-gradient(135deg, #2563eb, #1d4ed8); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; flex-shrink: 0; }
.contact-details h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; color: #1f2937; }
.contact-details p { font-size: 1rem; color: #2563eb; font-weight: 600; margin-bottom: 0.2rem; }
.contact-details span { font-size: 0.85rem; color: #6b7280; }
.contact-form-container { background: white; padding: 2rem; border-radius: 15px; box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.contact-form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form .form-group label { font-weight: 600; color: #374151; margin-bottom: 0.4rem; display: block; font-size: 0.9rem; }
.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%; padding: 0.9rem 1rem; border: 2px solid #e5e7eb; border-radius: 8px;
  font-size: 0.95rem; transition: border-color 0.3s; font-family: inherit;
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.contact-form .form-group textarea { resize: vertical; min-height: 110px; }
.contact-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white; border: none;
  padding: 1rem 2rem; border-radius: 12px; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,99,235,0.3); }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.footer { background: #1f2937; color: white; padding: 3rem 0 1rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-section h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; color: white; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.4rem; font-weight: 800; color: #fbbf24; margin-bottom: 1rem; }
.footer-description { color: #d1d5db; line-height: 1.6; margin-bottom: 1.75rem; font-size: 0.9rem; }
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-links a {
  width: 38px; height: 38px; background: #374151; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #d1d5db; transition: all 0.3s; text-decoration: none;
}
.social-links a:hover { background: #2563eb; color: white; transform: translateY(-2px); }
.footer-links { list-style: none; display: grid; gap: 0.6rem; }
.footer-links a { color: #d1d5db; text-decoration: none; transition: color 0.3s; font-size: 0.9rem; }
.footer-links a:hover { color: #fbbf24; }
.footer-bottom { border-top: 1px solid #374151; padding-top: 1.75rem; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: #9ca3af; font-size: 0.85rem; }
.payment-methods { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.payment-methods span { color: #9ca3af; font-size: 0.85rem; }
.payment-badge { background: #374151; color: #d1d5db; padding: 0.25rem 0.6rem; border-radius: 6px; font-size: 0.8rem; display: flex; align-items: center; gap: 0.3rem; }

/* ── MODALS ──────────────────────────────────────────────────────────────── */
.modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.75); display: flex; align-items: center;
  justify-content: center; z-index: 9999; padding: 1rem;
}
.modal-content {
  background: white; border-radius: 20px; padding: 2.5rem;
  max-width: 480px; width: 100%; text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3); position: relative;
  max-height: 90vh; overflow-y: auto;
}
.modal-header { margin-bottom: 1.5rem; }
.modal-header h3 { font-size: 1.6rem; font-weight: 800; color: #1f2937; }
.close-btn {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; font-size: 1.4rem; cursor: pointer; color: #6b7280;
}
.close-btn:hover { color: #374151; }
.modal-body { margin-bottom: 1.5rem; color: #6b7280; line-height: 1.7; }
.modal-body strong { color: #2563eb; font-weight: 700; }
.modal-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white; border: none;
  padding: 0.9rem 1.75rem; border-radius: 12px; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 0.5rem;
}
.modal-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,0.3); }
.modal-footer { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── UPI MODAL ───────────────────────────────────────────────────────────── */
.upi-id-display { text-align: left; }

/* ── LOADING ─────────────────────────────────────────────────────────────── */
.loading-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.75); display: flex; align-items: center;
  justify-content: center; z-index: 10000;
}
.loading-spinner { text-align: center; color: white; }
.loading-spinner i { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.loading-spinner p { font-size: 1.1rem; font-weight: 600; }

/* ── UTILITIES ───────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
.hidden { display: none !important; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-content { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }
  .nav-links { display: none; }
  .nav { padding: 1rem; }
  .hero-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; padding: 0 1rem; }
  .hero-text h1 { font-size: 2.4rem; }
  .hero-features { grid-template-columns: 1fr 1fr; }
  .trust-indicators { justify-content: center; flex-wrap: wrap; gap: 1.5rem; }
  .certificate { width: 300px; }
  .score-display { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .score-details { text-align: center; }
  .quiz-navigation { flex-direction: column; }
  .nav-btn, .submit-btn { width: 100%; justify-content: center; }
  .about-content { grid-template-columns: 1fr; gap: 2rem; }
  .contact-content { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom-content { flex-direction: column; text-align: center; }
  .certifications-grid { grid-template-columns: 1fr; }
  .pm-options { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-text h1 { font-size: 2rem; }
  .certificate { width: 280px; padding: 1.5rem; }
  .container { padding: 0 15px; }
  .modal-content { padding: 1.75rem; }
  .quiz-container { padding: 0 1rem; }
  .question-container { padding: 1.75rem; }
  .results-container { padding: 1.75rem; }
  .footer-content { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
}

@media print {
  .header, .mobile-menu-toggle, .quiz-navigation, .modal, .loading-overlay { display: none !important; }
}
