/* =========================
   ROOT VARIABLES
========================= */
:root {
  --primary: #0a2a66;
  --primary-light: #1746a2;
  --accent: #ffcc00;
  --accent-hover: #ffaa00;
  --text-dark: #1f2937;
  --text-light: #475569; /* Darkened from #6b7280 to pass WCAG contrast tests */
  --bg-light: #f4f7fa;
  --white: #ffffff;
  --border-radius: 12px;
}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

/* =========================
   HEADER
========================= */
header {
  background: var(--primary);
  padding: 16px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 6px 4px;
}

nav a:hover {
  color: var(--accent);
}

/* =========================
   HERO
========================= */
.hero {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.hero h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* =========================
   GLOBAL BUTTON SYSTEM
========================= */

button,
.card-btn,
.secondary-btn {
  padding: 14px 26px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  font-size: 15px;
  background: var(--accent);
  color: #000;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

button:hover,
.card-btn:hover,
.secondary-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* Prevent full width buttons inside cards */
.card a {
  display: inline-block;
  margin-top: 15px;
}

#startExamBtn,
.card-btn {
  background: var(--accent);
  color: black;
}

#startExamBtn:hover,
.card-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-link {
  text-decoration: none;
}

/* =========================
   FEATURES
========================= */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 80px auto;
}

.card {
  background: var(--white);
  padding: 35px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card p {
  margin-top: 10px;
  color: var(--text-light);
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* =========================
   EXAM UI
========================= */
.exam-container {
  width: 92%;
  max-width: 850px;
  margin: 50px auto;
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border: 2px solid var(--primary);
}

.exam-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  font-weight: 600;
}

.score-bar {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
  font-weight: 600;
}

.correct { color: green; }
.wrong { color: red; }

/* Progress */
.progress-container {
  width: 100%;
  height: 10px;
  background: #e6edf5;
  border-radius: 20px;
  margin-bottom: 30px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 20px;
  transition: width 0.3s ease;
}

/* Options */
.option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  transition: 0.2s;
}

.option-card:hover {
  border-color: var(--accent);
  background: #fff8e1;
}

.option-card.selected {
  background: var(--primary);
  color: white;
}

.option-letter {
  font-weight: bold;
  min-width: 28px;
}

/* =========================
   MODAL
========================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.modal-content select,
.modal-content input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
}

/* =========================
   ADS
========================= */
.ad-container {
  width: 100%;
  max-width: 1000px;
  margin: 25px auto;
  text-align: center;
}

.ad-box {
  background: #f3f3f3;
  padding: 20px;
  border-radius: 8px;
  color: #777;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #111;
  color: white;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  margin: 0 6px;
}

.footer-links a:hover {
  color: var(--accent);
}

/* =========================
   RESPONSIVE
========================= */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: white;
}

/* =========================
   QUESTION BANK FILTER BAR
========================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
  align-items: center;
}

.filter-bar input,
.filter-bar select {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  min-width: 180px;
}

.filter-bar button {
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
}

/* =========================
   QUESTION CARD IMPROVEMENT
========================= */


.card {
  width: 100% !important;
  max-width: 100%;
  text-align: left;
  padding: 25px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Answer section */
.answer-box {
  margin-top: 15px;
  padding: 12px;
  background: #f9fafb;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
}

/* =========================
   IMAGE QUESTIONS
========================= */
.question-image {
  margin-top: 10px;
  margin-bottom: 15px;
  text-align: center;
}

.question-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

/* =========================
   TOGGLE TYPE SWITCH
========================= */
.type-switch {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.type-switch button {
  padding: 8px 14px;
  border-radius: 18px;
  font-size: 13px;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 600px) {

  .exam-container {
    padding: 20px;
    margin: 20px auto;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar input,
  .filter-bar select,
  .filter-bar button {
    width: 100%;
  }

  .card {
    padding: 18px;
  }

  .card h3 {
    font-size: 16px;
  }

  .question-image img {
    max-height: 200px;
    object-fit: contain;
  }
}

/* =========================
   QUESTION MODE BUTTONS
========================= */

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.mode-btn {
  padding: 10px 18px;
  border-radius: 25px;
  border: 2px solid var(--primary);
  background: white;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
}

.mode-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: black;
}

.mode-btn.active {
  background: var(--primary);
  color: white;
}

.bookmark-btn {
  border-color: #f59e0b;
  color: #f59e0b;
}

.bookmark-btn:hover {
  background: #f59e0b;
  color: white;
}

/* Mobile */
@media(max-width:600px){
  .filter-bar {
    flex-direction: column;
  }

  .mode-btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   SIGN QUESTION FIXED UI
========================= */

.question-image {
  text-align: center;
  margin: 20px 0;
}

.question-image img {
  max-width: 260px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 4px solid #f3f4f6;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Bigger card for sign questions */
.sign-card {
  text-align: center;
}

/* Direct answer styling */
.answer-box {
  margin-top: 15px;
  padding: 14px;
  background: #f9fafb;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  font-weight: 600;
  color: var(--primary);
}

/* Clean numbering */
.card h3 {
  font-size: 17px;
  line-height: 1.6;
}

/* Mobile optimization */
@media(max-width:600px){

  .question-image img {
    max-width: 200px;
  }

  .card {
    padding: 18px;
  }

  .card h3 {
    font-size: 16px;
  }
}

/* =========================
   CLEAN SIGN GRID SYSTEM
========================= */

#questionList {
  gap: 24px;
}

/* Sign mode grid */
.sign-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Tablet = 3 */
@media (max-width: 1024px) {
  .sign-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile = 2 */
@media (max-width: 600px) {
  .sign-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Equal height cards */
.sign-grid .card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  height: 100%;
}

/* Clean sign card */
.sign-card {
  text-align: center;
}

/* Fixed image area */
.sign-card .question-image {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Controlled image */
.sign-card .question-image img {
  max-height: 110px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Equal title height */
.sign-card h3 {
  font-size: 14px;
  min-height: 40px;
  margin-bottom: 10px;
}

/* Answer at bottom */
.sign-card .answer-box {
  margin-top: auto;
  font-size: 13px;
  padding: 10px;
}

.language-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 6px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
}

.language-link:hover {
  color: var(--accent);
}

.language-link .arrow {
  font-size: 14px;
  color: white;
  transition: transform 0.25s ease;
}

.language-link:hover .arrow {
  transform: rotate(180deg);
}

/* =========================
   LANGUAGE SLIDER FIXED
========================= */

.language-slider-section {
  margin: 80px auto;
  padding: 40px 0;
}

.language-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 5px 20px 5px;
  scroll-behavior: smooth;
}

.language-slider::-webkit-scrollbar {
  height: 6px;
}

.language-slider::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

/* Language Cards */
.lang-card {
  flex: 0 0 auto;
  min-width: 200px;
  background: white;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

/* Hover */
.lang-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* Active */
.lang-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,204,0,0.25);
}

.language-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white !important;
}

/* Outer border arrow */
.language-link .arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform 0.3s ease;
}

/* Hover rotate */
.language-link:hover .arrow {
  transform: rotate(225deg);
}

/* =========================
   FADE LANGUAGE TRANSITION
========================= */

body {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.fade-out {
  opacity: 0;
  transform: translateY(6px);
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   SLIDE TEXT TRANSLATION
========================= */

.translate-animate {
  display: inline-block;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.translate-out {
  opacity: 0;
  transform: translateY(12px);
}

.translate-in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   LANGUAGE DROPDOWN
========================= */

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-option {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
}

.lang-option:hover {
  background: #f4f7fa;
}

.lang-menu.show {
  display: block;
}

/* =========================
   LANGUAGE DROPDOWN UPGRADE
========================= */



.language-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

#currentFlag {
  font-size: 16px;
}

/* Option styling */
.lang-option {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

/* Hover */
.lang-option:hover {
  background: #f4f7fa;
}



/* Arrow */
.language-link .arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.lang-dropdown:hover .arrow {
  transform: rotate(225deg);
}



.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}



.language-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 6px 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.language-link:hover {
  color: var(--accent);
}

#currentFlag {
  font-size: 14px;
}



.lang-option {
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lang-option:hover {
  background: #f3f4f6;
}

/* =========================
   ANIMATED HAMBURGER
========================= */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 22px;
  position: relative;
  padding: 0;
}

.menu-toggle span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: white;
  left: 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 9px;
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* Animate to X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 10px;
}



.lang-dropdown {
  position: relative;
  padding-bottom: 8px; /* Creates hover buffer */
}

/* LANGUAGE DROPDOWN */

.lang-dropdown {
  position: relative;
}

/* Dropdown menu */
.lang-menu {
  position: absolute;
  top: 36px;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  min-width: 160px;
  display: none;
  padding: 6px 0;
  z-index: 1000;
}

/* Active highlight */
.lang-option.active {
  background: var(--accent);
  font-weight: 600;
}

/* Desktop hover only */
@media (min-width: 769px) {
  .lang-dropdown:hover .lang-menu {
    display: block;
  }
}

/* Mobile click open */
@media (max-width: 768px) {
  .lang-menu.show {
    display: block;
  }
}

/* =========================
   MOBILE HEADER FIX (FINAL)
========================= */

@media (max-width: 768px) {

  .nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .logo {
    grid-column: 1;
  }

  .mobile-lang {
    grid-column: 2;
    text-align: center;
  }

  .menu-toggle {
    grid-column: 3;
    display: block;
  }

  nav {
    position: absolute;
    top: 65px;
    right: 0;
    background: var(--primary);
    width: 220px;
    padding: 20px;
    flex-direction: column;
    display: none;
    border-radius: 8px;
  }

  nav.active {
    display: flex;
  }

}

/* =========================
   SECTION TITLE CENTER FIX
========================= */

.section-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
  font-weight: 700;
}

.language-slider-section {
  margin: 80px auto;
  padding: 60px 0;
  text-align: center;
}

/* =========================
   GLOBAL LOADING SCREEN
========================= */
#global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #e5e7eb;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

#global-loader p {
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Class added via JS to hide the loader smoothly */
.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Forced Modal Scrollbar */
#forceLangModal .modal-content div::-webkit-scrollbar {
    width: 6px;
}
#forceLangModal .modal-content div::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Slider Card Active Highlight */
.lang-card.active {
    border: 2px solid var(--accent) !important;
    background: #fffbef !important;
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.3) !important;
    transform: scale(1.05) translateY(-5px);
}

/* Prevent scrolling when forced modal is active */
body.modal-open {
    overflow: hidden;
}

/* =========================================
   MCQ OPTIONS (QUESTION BANK & REVIEW)
========================================= */
.options-container {
  margin: 15px 0 15px 0;
  display: flex;
  flex-direction: column;
  gap: 12px; /* Slightly increased gap so 3 options fill the space beautifully */
}

.option-item {
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  color: #334155;
  display: flex;
  align-items: flex-start;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.option-letter {
  font-weight: 700;
  color: var(--primary);
  margin-right: 12px;
  min-width: 20px;
}

/* Highlight style for the correct option */
.option-item.correct-option {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
  font-weight: 600; /* Bolder text to make the correct answer pop */
}

.option-item.correct-option .option-letter {
  color: #166534;
}

/* Pushes the checkmark to the far right */
.correct-icon {
  margin-left: auto; 
  padding-left: 10px;
  display: flex;
  align-items: center;
  color: #166534;
}

/* =========================================
     SWIPEABLE SAMPLE QUESTIONS CAROUSEL
  ========================================= */
  .sample-section {
    margin: 60px auto;
    padding: 0 15px;
    max-width: 1200px;
    overflow: hidden; /* Prevents horizontal scrollbar on body */
  }

  .carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 10px 30px 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #e2e8f0;
  }

  .carousel-track::-webkit-scrollbar {
    height: 8px;
  }
  .carousel-track::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
  }
  .carousel-track::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
  }

  .carousel-card {
    flex: 0 0 85%;
    max-width: 400px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    scroll-snap-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
  }
  
  .carousel-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-light);
  }

  .carousel-card h3 {
    font-size: 16px;
    line-height: 1.5;
    color: #1e293b;
    margin-bottom: 15px;
  }

  /* View All Card Styling */
  .carousel-card.view-all-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    border: none;
  }
  .carousel-card.view-all-card h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
  }
  .carousel-card.view-all-card p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 25px;
  }

  /* =========================================
   LEGAL & POLICY PAGES UI
========================================= */
.legal-content {
  text-align: left;
  padding: 10px;
}

.legal-content h1 {
  font-size: 32px;
  color: var(--primary, #0a2a66);
  margin-bottom: 12px;
}

.legal-content .last-updated {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 35px;
  border: 1px solid #e2e8f0;
}

.legal-content h2 {
  font-size: 20px;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 10px;
}

.legal-content p, .legal-content li {
  color: #475569;
  line-height: 1.7;
  font-size: 15.5px;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content li::marker {
  color: var(--primary, #0a2a66);
}

/* ==============================================
   FULL BANNER HERO & SEO OVERRIDES (Moved from HTML)
=============================================== */
.hero {
  /* Uses your image as the full background, with a dark blue overlay */
  background-image: linear-gradient(rgba(10, 42, 102, 0.75), rgba(10, 42, 102, 0.85)), url('../assets/hero-banner.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  padding: 120px 20px !important;
}

/* Enhanced SEO Content Block Styles */
.seo-guide {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  margin-top: 50px;
  margin-bottom: 50px;
  border: 1px solid #e5e7eb;
}

.seo-guide h2 {
  color: var(--primary);
  font-size: 26px;
  margin-bottom: 20px;
  border-bottom: 2px solid #f3f4f6;
  padding-bottom: 10px;
}

.seo-guide h3 {
  color: #1f2937;
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 12px;
}

.seo-guide p {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 15.5px;
}

.seo-guide ul {
  margin-left: 20px;
  color: #4b5563;
  margin-bottom: 20px;
}

.seo-guide li {
  margin-bottom: 8px;
  font-size: 15px;
}

.seo-guide strong {
  color: #111827;
}

@media (max-width: 600px) {
  .seo-guide { padding: 25px 20px; }
  .seo-guide h2 { font-size: 22px; }
  .seo-guide h3 { font-size: 18px; }
}

