/* ============================================================
   MovingCostPlanner.online — Main Stylesheet
   ============================================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy: #0d1b2a;
  --navy-mid: #1b2d42;
  --navy-light: #253854;
  --orange: #f4721e;
  --orange-dk: #d45c0c;
  --orange-lt: #ff9248;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --section-bg: #f4f6f9; /* light grey for sections, complements navy theme */
  --text: #2c3e50;
  --text-muted: #6b7c93;
  --border: #e2e8f0;
  --card-bg: #ffffff;
  --shadow: 0 4px 24px rgba(13, 27, 42, 0.10);
  --shadow-lg: 0 12px 48px rgba(13, 27, 42, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------- Skip link (accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  padding: 12px 24px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* ---------- Utility classes ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

.section-tag {
  display: inline-block;
  background: rgba(244, 114, 30, 0.12);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header {
  text-align: center;
}

main {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

section {
  padding: 90px 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.fade-in {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(244, 114, 30, 0.40);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(244, 114, 30, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: var(--transition);
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(12px);
}

#main-header .container {
  position: relative;
}

#main-header.scrolled {
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-svg {
  height: 36px;
  width: auto;
  display: block;
}

/* Fallback for pages still using logo-icon */
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.logo span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700 !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta:hover {
  box-shadow: 0 4px 16px rgba(244, 114, 30, 0.5);
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none;
}

/* Services dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  list-style: none;
  margin: 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: block;
  color: var(--navy);
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 4px;
  margin: 0 8px;
  transition: var(--transition);
}

.nav-dropdown-menu a:hover {
  background: rgba(244, 114, 30, 0.08);
  color: var(--orange);
}

.nav-dropdown-menu a::after {
  display: none;
}

.mobile-menu-label {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 0 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu-label:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--navy);
  padding: 16px 24px 24px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 1001;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 500;
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--orange);
  padding-left: 8px;
}

/* Mobile Services dropdown */
.mobile-dropdown {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
  text-align: left;
}

.mobile-dropdown-trigger:hover {
  color: var(--orange);
}

.mobile-dropdown-trigger[aria-expanded="true"] {
  color: var(--orange);
}

.mobile-dropdown-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-dropdown-menu.expanded {
  display: block;
}

.mobile-dropdown-menu li {
  margin: 0;
}

.mobile-dropdown-menu a {
  display: block;
  padding: 10px 0;
  border-bottom: none;
  font-size: 0.95rem;
}

.mobile-cta {
  margin-top: 12px;
  padding: 17px 20px !important;
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  color: var(--white) !important;
  border-radius: 50px;
  text-align: center;
  font-weight: 700 !important;
}

.mobile-cta:hover {
  background: linear-gradient(135deg, var(--orange-dk), var(--orange));
  color: var(--white) !important;
  padding-left: 20px !important;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background-color: var(--navy);
  padding: 0;
  width: 100%;
}

/* Hero container — constrained width like rest of site */
#hero > .container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  transform: scale(1.05);
  animation: heroScale 20s ease-in-out infinite alternate;
}

@keyframes heroScale {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.15);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg,
      rgba(13, 27, 42, 0.90) 0%,
      rgba(13, 27, 42, 0.75) 50%,
      rgba(180, 70, 10, 0.30) 100%);
}

/* Floating particles / shapes */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(244, 114, 30, 0.18);
  animation: floatUp linear infinite;
}

.particle:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 10%;
  top: 70%;
  animation-duration: 12s;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 50px;
  height: 50px;
  left: 25%;
  top: 80%;
  animation-duration: 9s;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  width: 120px;
  height: 120px;
  left: 70%;
  top: 60%;
  animation-duration: 15s;
  animation-delay: 1s;
}

.particle:nth-child(4) {
  width: 30px;
  height: 30px;
  left: 85%;
  top: 75%;
  animation-duration: 8s;
  animation-delay: 4s;
}

.particle:nth-child(5) {
  width: 60px;
  height: 60px;
  left: 50%;
  top: 85%;
  animation-duration: 11s;
  animation-delay: 3s;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }

  100% {
    transform: translateY(-120vh) rotate(360deg);
    opacity: 0;
  }
}

/* Hero inner layout — sits inside .container like all other sections */
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 32px;
  padding: 140px 0 80px;
  min-height: 100vh;
  width: 100%;
  min-width: 0;
}

.hero-content {
  max-width: 680px;
  min-width: 0;
  width: 100%;
}

.hero-content h1,
.hero-desc {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 114, 30, 0.2);
  border: 1px solid rgba(244, 114, 30, 0.45);
  color: var(--orange-lt);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: badgeFade 1s ease 0.2s both;
}

@keyframes badgeFade {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 22px;
  animation: heroTextSlide 1s ease 0.4s both;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes heroTextSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.80);
  max-width: 580px;
  margin-bottom: 38px;
  line-height: 1.75;
  animation: heroTextSlide 1s ease 0.6s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  animation: heroTextSlide 1s ease 0.8s both;
}

/* Stats sidebar — vertical strip on the right inside the hero grid */
.hero-stats-sidebar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: heroTextSlide 1s ease 1s both;
  align-self: center;
}

.stat-item {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  text-align: center;
  border-left: 3px solid var(--orange);
}

.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--orange-lt);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.60);
  font-weight: 500;
  line-height: 1.3;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

.scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  writing-mode: vertical-rl;
}

/* ============================================================
   CALCULATOR SECTION
   ============================================================ */
#calculator {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 90px 0;
}

#calculator {
  overflow-x: hidden;
}

#calculator .section-title {
  color: var(--white);
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  min-width: 0;
}

.calc-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.80);
  letter-spacing: 0.02em;
}

.form-group select,
.form-group input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select option {
  background: var(--navy-mid);
  color: var(--white);
}

.form-group select:focus,
.form-group input:focus {
  border-color: var(--orange);
  background: rgba(244, 114, 30, 0.08);
  box-shadow: 0 0 0 3px rgba(244, 114, 30, 0.18);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.addons-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.80);
}

.addons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.addon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition);
}

.addon-item:hover {
  border-color: var(--orange);
  background: rgba(244, 114, 30, 0.08);
}

.addon-item input[type="checkbox"] {
  accent-color: var(--orange);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.addon-item label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  line-height: 1.3;
}

#calculateBtn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(244, 114, 30, 0.40);
}

#calculateBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(244, 114, 30, 0.55);
}

/* Result Panel */
.calc-result-panel {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.result-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  margin-bottom: 8px;
}

.result-amount {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--orange-lt);
  line-height: 1;
  margin-bottom: 4px;
  transition: var(--transition);
}

.result-range {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.result-breakdown {
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.70);
}

.breakdown-item span:last-child {
  color: var(--white);
  font-weight: 600;
}

.result-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  line-height: 1.5;
}

.tips-card {
  background: linear-gradient(135deg, rgba(244, 114, 30, 0.15), rgba(244, 114, 30, 0.05));
  border: 1px solid rgba(244, 114, 30, 0.25);
  border-radius: var(--radius);
  padding: 24px;
}

.tips-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange-lt);
  margin-bottom: 12px;
}

.tips-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tips-card li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.70);
  display: flex;
  gap: 8px;
}

.tips-card li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how-it-works {
  background: var(--off-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  min-width: 0;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(to right, var(--orange), var(--orange-lt));
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(244, 114, 30, 0.12), rgba(244, 114, 30, 0.05));
}

.step-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  background: var(--section-bg);
  overflow-x: hidden;
}

/* Services carousel — 4 cards, 2 visible per slide, auto-carousel */
.services-carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.carousel-viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 56px;
}

.carousel-track {
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.services-carousel {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 40px; /* more margin between slides */
  width: max-content;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-carousel .service-card.service-slide {
  flex: 0 0 auto;
  min-width: 200px; /* fallback, JS sets exact width - lower for narrow screens */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

.carousel-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.carousel-btn.carousel-btn-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.carousel-prev {
  left: 8px;
}

.carousel-next {
  right: 8px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot:hover {
  background: #cbd5e1;
}

.carousel-dot.active {
  background: var(--orange);
  transform: scale(1.2);
}


.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  background: var(--white);
}

/* Equal height cards in carousel */
.services-carousel .service-card {
  display: flex;
  flex-direction: column;
}

.services-carousel .service-card .service-header {
  flex: 0 0 auto;
  min-height: 200px;
}

.services-carousel .service-card .service-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.services-carousel .service-card .service-features {
  flex: 1;
}

.services-carousel .service-card .service-cta {
  margin-top: auto;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Service header with banner images (same as service pages) */
.service-header {
  padding: 40px 32px 32px;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center right;
}

.service-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-header h3,
.service-header p {
  position: relative;
  z-index: 2;
}

.service-header-local {
  background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?w=800&q=80');
}

.service-header-local::before {
  background: linear-gradient(90deg, rgba(13,92,74,0.92) 0%, rgba(26,122,99,0.7) 60%, transparent 100%);
}

.service-header-intercity {
  background-image: url('https://images.unsplash.com/photo-1542223616-9de9adb5e3e8?w=800&q=80');
}

.service-header-intercity::before {
  background: linear-gradient(90deg, rgba(30,58,95,0.93) 0%, rgba(44,82,130,0.7) 60%, transparent 100%);
}

.service-header-longdist {
  background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=800&q=80');
}

.service-header-longdist::before {
  background: linear-gradient(90deg, rgba(61,44,107,0.91) 0%, rgba(91,74,154,0.7) 60%, transparent 100%);
}

.service-header-packing {
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=800&q=80');
}

.service-header-packing::before {
  background: linear-gradient(90deg, rgba(139,69,19,0.9) 0%, rgba(199,92,46,0.7) 60%, transparent 100%);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.95);
  line-height: 0;
}

.service-icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.service-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.service-header p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.6;
}

.service-body {
  background: var(--white);
  padding: 28px 32px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
}

.feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--orange), var(--orange-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--white);
  font-weight: 700;
}

.service-cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 11px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

/* ============================================================
   MOVING TIPS / CHECKLIST
   ============================================================ */
#tips {
  background: var(--off-white);
}

.tips-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  min-width: 0;
}

.tips-text .section-header {
  text-align: left;
}

.tips-text .section-subtitle {
  margin-left: 0;
}

.tips-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.tip-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.tip-badge span:first-child {
  font-size: 1.1rem;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  text-align: left;
}

.accordion-header > span {
  flex: 1;
  min-width: 0;
}

.accordion-header:hover {
  background: rgba(244, 114, 30, 0.04);
}

.accordion-header.active {
  color: var(--orange);
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(244, 114, 30, 0.10);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  transition: var(--transition);
  flex-shrink: 0;
}

.accordion-header.active .accordion-icon {
  transform: rotate(45deg);
  background: var(--orange);
  color: var(--white);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-body.open {
  max-height: 300px;
}

.accordion-body-inner {
  padding: 0 22px 18px;
}

.accordion-body-inner ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.accordion-body-inner li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.accordion-body-inner li::before {
  content: '→';
  color: var(--orange);
  flex-shrink: 0;
  font-weight: 700;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials {
  background: var(--navy);
}

#testimonials .section-title {
  color: var(--white);
}

#testimonials .section-subtitle {
  color: rgba(255, 255, 255, 0.55);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  min-width: 0;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  border-color: rgba(244, 114, 30, 0.35);
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 5rem;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  color: rgba(244, 114, 30, 0.12);
  line-height: 1;
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.star {
  color: #fbbf24;
  font-size: 0.95rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
}

.author-loc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   FAQ
   ============================================================ */
#faq {
  background: var(--off-white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
  min-width: 0;
}

.faq-intro .section-header {
  text-align: left;
}

.faq-intro .section-subtitle {
  margin-left: 0;
}

.faq-highlight {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.faq-stat {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
}

.faq-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--orange);
}

.faq-stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  transition: var(--transition);
  text-align: left;
}

.faq-question > span:first-child {
  flex: 1;
  min-width: 0;
}

.faq-question:hover {
  color: var(--orange);
}

.faq-question.active {
  color: var(--orange);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--orange);
  font-weight: 300;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer.open {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   BLOG PREVIEW
   ============================================================ */
#blog {
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  min-width: 0;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-thumb {
  height: 190px;
  object-fit: cover;
  width: 100%;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-body {
  padding: 24px 22px;
}

.blog-cat {
  display: inline-block;
  background: rgba(244, 114, 30, 0.10);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 14px;
  transition: var(--transition);
}

.read-more:hover {
  gap: 10px;
}

.blog-view-all {
  text-align: center;
  margin-top: 40px;
}

/* Blog page - banner, tabs, grid */
.blog-banner {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 120px 0;
  overflow: hidden;
}

.blog-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.blog-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.92) 0%, rgba(26, 54, 82, 0.78) 100%);
}

.blog-banner .container {
  position: relative;
  z-index: 2;
  flex: 1;
}

.blog-banner-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.blog-banner-tag {
  display: inline-block;
  background: rgba(244, 114, 30, 0.2);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.blog-banner-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.blog-banner-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.blog-content-section {
  padding: 60px 0 80px;
  background: var(--section-bg);
}

.blog-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.blog-tab {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-tab:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.blog-tab.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.blog-card .blog-thumb-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--orange);
}

.blog-card .blog-thumb {
  height: 200px;
}

/* Blog detail page */
.blog-detail-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}

.blog-detail-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.blog-detail-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.92) 0%, rgba(26, 54, 82, 0.78) 100%);
}

.blog-detail-banner .container {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
}

.blog-detail-banner h1 {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-detail-banner .breadcrumb {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.blog-detail-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.blog-detail-banner .breadcrumb a:hover {
  color: var(--orange);
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
  padding: 48px 0 80px;
}

.blog-detail-main {
  min-width: 0;
}

.blog-detail-featured {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.blog-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-detail-meta a {
  color: var(--orange);
  text-decoration: none;
}

.blog-detail-meta a:hover {
  text-decoration: underline;
}

.blog-detail-title {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 24px;
}

.blog-detail-content,
.legal-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.blog-detail-content p,
.legal-content p {
  margin-bottom: 18px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0 80px;
}

.legal-updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.blog-detail-content h2,
.legal-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.blog-detail-content h3,
.legal-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
}

.blog-detail-content ul,
.blog-detail-content ol,
.legal-content ul,
.legal-content ol {
  margin: 0 0 20px 24px;
}

.blog-detail-content li,
.legal-content li {
  margin-bottom: 8px;
}

.blog-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}

.blog-detail-content th,
.blog-detail-content td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}

.blog-detail-content th {
  background: var(--section-bg);
  font-weight: 600;
  color: var(--navy);
}

.blog-detail-content a,
.legal-content a {
  color: var(--orange);
  text-decoration: none;
}

.blog-detail-content a:hover,
.legal-content a:hover {
  text-decoration: underline;
}

.blog-detail-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.sidebar-widget h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--orange);
}

.sidebar-newsletter .newsletter-field-wrap {
  margin-top: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.sidebar-newsletter .newsletter-field-wrap:hover,
.sidebar-newsletter .newsletter-field-wrap:focus-within {
  border-color: #94a3b8;
  background: var(--white);
}

.sidebar-newsletter .newsletter-input {
  padding: 12px 100px 12px 16px;
  font-size: 0.9rem;
  color: var(--navy);
  background: transparent;
}

.sidebar-newsletter .newsletter-input::placeholder {
  color: #94a3b8;
}

.sidebar-newsletter .newsletter-btn {
  padding: 10px 16px;
  font-size: 0.88rem;
}

.recent-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.recent-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.recent-post-item a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.4;
  display: block;
}

.recent-post-item a:hover {
  color: var(--orange);
}

.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-tags a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.82rem;
  background: var(--section-bg);
  color: var(--navy);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-tags a:hover {
  background: var(--orange);
  color: var(--white);
}

.sidebar-categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-categories li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-categories a {
  display: block;
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-categories a:hover {
  color: var(--orange);
}

.faq-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 2px solid var(--border);
}

.faq-section h2 {
  margin-top: 0;
}

.faq-item-detail {
  margin-bottom: 20px;
}

.faq-item-detail h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.faq-item-detail p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

@media (max-width: 992px) {
  .blog-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0 60px;
  }

  .blog-detail-main {
    order: 1;
  }

  .blog-detail-sidebar {
    position: static;
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .blog-detail-featured {
    height: 300px;
  }

  .blog-detail-title {
    font-size: 1.75rem;
  }

  .blog-detail-content h2 {
    font-size: 1.3rem;
  }

  .blog-detail-content h3 {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .blog-detail-layout {
    gap: 28px;
    padding: 24px 0 48px;
  }

  .blog-detail-banner {
    min-height: 240px;
    padding: 48px 0;
  }

  .blog-detail-banner .container {
    padding-top: 24px;
  }

  .blog-detail-banner h1 {
    font-size: 1.4rem;
    line-height: 1.35;
  }

  .blog-detail-banner .breadcrumb {
    font-size: 0.82rem;
    margin-bottom: 8px;
  }

  .blog-detail-sidebar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-detail-featured {
    height: 260px;
  }

  .blog-detail-meta {
    gap: 12px;
    font-size: 0.84rem;
  }

  .blog-detail-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .blog-detail-content {
    font-size: 1rem;
  }

  .blog-detail-content h2 {
    font-size: 1.2rem;
    margin: 28px 0 12px;
  }

  .blog-detail-content h3 {
    font-size: 1rem;
    margin: 22px 0 10px;
  }

  .blog-detail-content p,
  .blog-detail-content ul,
  .blog-detail-content ol {
    margin-bottom: 16px;
  }

  .blog-detail-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .blog-detail-content th,
  .blog-detail-content td {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .sidebar-widget {
    padding: 20px;
    margin-bottom: 20px;
  }

  .sidebar-widget h3 {
    font-size: 1rem;
    margin-bottom: 14px;
  }

  .recent-post-item {
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .recent-post-thumb {
    width: 56px;
    height: 56px;
  }

  .recent-post-item a {
    font-size: 0.88rem;
  }

  .faq-item-detail {
    margin-bottom: 16px;
  }

  .faq-item-detail h4 {
    font-size: 0.95rem;
  }

  .faq-item-detail p {
    font-size: 0.94rem;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--navy);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.60);
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.50);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.35);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--orange);
}

/* Footer newsletter */
.footer-newsletter {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer-newsletter:hover {
  border-color: rgba(249, 115, 30, 0.3);
  box-shadow: 0 8px 32px rgba(249, 115, 30, 0.08);
}

.newsletter-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 30, 0.15);
  border-radius: 14px;
  margin-bottom: 18px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.footer-newsletter:hover .newsletter-icon {
  transform: scale(1.05);
  background: rgba(249, 115, 30, 0.22);
}

.newsletter-icon svg {
  width: 32px;
  height: 32px;
}

.newsletter-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.newsletter-form {
  margin-top: 0;
}

.newsletter-message {
  font-size: 0.9rem;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  display: none;
}

.newsletter-message:not(:empty) {
  display: block;
}

.newsletter-message--success {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.sidebar-newsletter .newsletter-message--success {
  background: rgba(34, 197, 94, 0.12);
}

.newsletter-message--error {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.sidebar-newsletter .newsletter-message--error {
  background: rgba(239, 68, 68, 0.08);
}

.newsletter-field-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.newsletter-field-wrap:hover,
.newsletter-field-wrap:focus-within {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 14px 110px 14px 18px;
  font-size: 0.95rem;
  color: var(--white);
  background: transparent;
  border: none;
  box-sizing: border-box;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
  outline: none;
}

.newsletter-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-lt) 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-btn:hover {
  transform: translateY(-50%) scale(1.02);
  box-shadow: 0 4px 16px rgba(249, 115, 30, 0.4);
}

.newsletter-btn:active {
  transform: translateY(-50%) scale(0.98);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
  }

  .calc-result-panel {
    position: static;
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .blog-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
  }

  section {
    padding: 65px 0;
  }

  /* Header mobile — unified responsive */
  #main-header {
    padding: 16px 0;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(12px);
  }

  #main-header.scrolled {
    background: rgba(13, 27, 42, 0.98);
  }

  #main-header .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-links {
    display: none;
  }

  .logo-svg {
    height: 28px;
    width: auto;
  }

  .hamburger {
    display: flex;
    padding: 12px;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu {
    display: none;
    left: 0;
    right: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 24px 28px;
  }

  .mobile-menu a,
  .mobile-dropdown-trigger {
    padding: 14px 0;
    font-size: 1rem;
  }

  .mobile-dropdown-menu {
    padding: 8px 0 12px 20px;
  }

  .mobile-dropdown-menu a {
    padding: 10px 0;
  }

  .mobile-cta {
    margin-top: 16px;
    padding: 16px 24px !important;
  }

  .carousel-viewport {
    padding: 0 48px;
  }

  .carousel-prev {
    left: 8px;
  }

  .carousel-next {
    right: 8px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-page-grid {
    grid-template-columns: 1fr;
  }

  .blog-banner-title {
    font-size: 1.9rem;
  }

  .blog-banner {
    min-height: 380px;
    padding: 80px 0;
  }

  .blog-tabs {
    gap: 8px;
    margin-bottom: 28px;
  }

  .blog-tab {
    padding: 10px 18px;
    font-size: 0.88rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .tips-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .addons-grid {
    grid-template-columns: 1fr;
  }

  .ad-unit-inner {
    min-width: 280px;
  }

  /* Hero banner — contained and responsive */
  #hero > .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-bg {
    background-attachment: scroll;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 120px 0 80px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
    line-height: 1.25;
  }

  .hero-stats-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .stat-item {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }

  /* Calculator — keep inside container */
  .calc-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .calc-card {
    padding: 24px 20px;
  }

  /* Services carousel — mobile: 1 card full width, no arrows */
  #services .container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
  }

  .services-carousel-wrap {
    overflow: hidden;
    width: 100%;
  }

  /* No gap between cards on mobile — ensures cards 2–4 align like the first */
  #services .services-carousel {
    gap: 0;
  }

  .carousel-viewport {
    padding: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .carousel-track {
    max-width: 100%;
    width: 100%;
  }

  .carousel-btn {
    display: none !important;
  }

  /* All service cards: same layout as first card on mobile */
  #services .services-carousel .service-card.service-slide {
    flex: 0 0 auto;
    min-height: 420px;
    align-self: stretch;
  }

  #services .services-carousel .service-card .service-header {
    min-height: 180px;
  }

  #services .services-carousel .service-card .service-body {
    padding: 20px 24px 24px;
  }

  #services .services-carousel .service-header {
    padding: 32px 24px 28px;
  }

  /* Prevent ad unit overflow */
  .ad-unit-inner {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  /* Section headers */
  .section-title {
    font-size: 1.6rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Steps, tips, accordion */
  .step-card,
  .accordion-item,
  .faq-item {
    min-width: 0;
  }

  /* Result panel */
  .calc-result-panel {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  /* Container — extra small screens */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Header — extra small screens */
  #main-header .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo-svg {
    height: 26px;
  }

  .hamburger {
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-menu {
    padding: 16px 20px 24px;
  }

  /* Hero — extra small screens */
  #hero > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-inner {
    padding: 100px 0 60px;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Calculator */
  .calc-card {
    padding: 20px 16px;
  }

  /* Carousel — keep full width, no arrows (inherited from 768px) */

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-newsletter {
    min-width: 0;
  }

  .newsletter-input {
    padding-right: 100px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Blog detail — extra small screens */
  .blog-detail-layout {
    padding: 20px 0 40px;
    gap: 24px;
  }

  .blog-detail-banner {
    min-height: 200px;
    padding: 40px 0;
  }

  .blog-detail-banner .container {
    padding-top: 90px;
  }

  .blog-detail-banner h1 {
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .blog-detail-banner .breadcrumb {
    font-size: 0.78rem;
  }

  .blog-detail-featured {
    height: 220px;
  }

  .blog-detail-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
  }

  .blog-detail-content {
    font-size: 0.95rem;
  }

  .blog-detail-content h2 {
    font-size: 1.1rem;
    margin: 24px 0 10px;
  }

  .blog-detail-content h3 {
    font-size: 0.95rem;
    margin: 20px 0 8px;
  }

  .sidebar-widget {
    padding: 18px;
  }

  .sidebar-newsletter .newsletter-field-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .sidebar-newsletter .newsletter-input {
    padding: 12px 16px;
    border-radius: 8px;
  }

  .sidebar-newsletter .newsletter-btn {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 8px;
  }

  .hero-stats-sidebar {
    display: none;
  }

  .hero-scroll {
    display: none;
  }
}