/* ==========================================================================
   Boss Laundry — Master Design System & Website Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;

  --accent-teal: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;

  --border-color: #e2e8f0;
  --border-dark: #334155;
  --border-focus: #0284c7;

  /* Typography */
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Shadows & Radius */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.section-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   3. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(2, 132, 199, 0.4);
  color: #38bdf8;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.pill-dot {
  width: 8px;
  height: 8px;
  background-color: #38bdf8;
  border-radius: 50%;
}

.sub-heading {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.sub-heading.white {
  color: #38bdf8;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
}

.section-header.center {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   4. Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 0;
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  background-color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.brand-name-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  color: #cbd5e1;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background-color: rgba(2, 132, 199, 0.2);
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  color: #ffffff;
  padding: 0.5rem;
}

/* --------------------------------------------------------------------------
   5. Hero Section (With boss_laundry_banner.png as Background Image)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 9.5rem 0 6rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-banner-image {
  position: absolute;
  inset: 0;
  background: url('assets/boss_laundry_banner.png') center center / cover no-repeat;
  filter: brightness(0.6) contrast(1.1);
  transform: scale(1.02);
}

.hero-dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(15, 23, 42, 0.88) 0%, 
    rgba(15, 23, 42, 0.78) 50%, 
    rgba(15, 23, 42, 0.95) 100%
  );
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.35) 0%, rgba(15, 23, 42, 0) 70%);
  filter: blur(80px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  font-size: 1.4rem;
}

.trust-item strong {
  display: block;
  font-size: 0.85rem;
  color: #ffffff;
}

.trust-item span {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Hero Showcase Glass Card */
.visual-card-glass {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.brand-badge-mini {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mini-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  padding: 4px 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mini-title {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
}

.mini-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #38bdf8;
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
}

.visual-banner-box {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-md);
}

.visual-banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.visual-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.6);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.metric-val {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #38bdf8;
}

.metric-lbl {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   6. Stats Counter Bar
   -------------------------------------------------------------------------- */
.stats-bar {
  background-color: #0b1329;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  padding: 2.5rem 0;
  color: var(--text-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   7. Services Section
   -------------------------------------------------------------------------- */
.services-section {
  padding: 6rem 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.service-card.highlight {
  border: 2px solid var(--primary);
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15);
}

.service-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: #e2e8f0;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.service-badge.gold {
  background-color: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-features svg {
  color: var(--accent-green);
}

.service-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
}

/* --------------------------------------------------------------------------
   8. How It Works Section
   -------------------------------------------------------------------------- */
.process-section {
  padding: 6rem 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.process-step {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all var(--transition-normal);
}

.process-step:hover {
  background: rgba(30, 41, 59, 0.9);
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.4);
}

.step-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Why Choose Us Section
   -------------------------------------------------------------------------- */
.why-section {
  padding: 6rem 0;
  background-color: var(--bg-card);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-card {
  padding: 2rem 1.5rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. Testimonials Section
   -------------------------------------------------------------------------- */
.reviews-section {
  padding: 6rem 0;
  background-color: #0f172a;
  color: var(--text-light);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-row {
  color: var(--accent-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 0.98rem;
  color: #cbd5e1;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.reviewer-profile strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
}

.reviewer-profile span {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   11. Contact Form Section
   -------------------------------------------------------------------------- */
.booking-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: var(--text-light);
}

.booking-card-wrapper {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  max-width: 850px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.booking-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.booking-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.booking-subtitle {
  color: #94a3b8;
  font-size: 1.05rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: #0f172a;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
  outline: none;
}

/* --------------------------------------------------------------------------
   12. Standard Main Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #0b1329;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid #1e293b;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  background-color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  color: #cbd5e1;
}

.footer-contact-info p svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-menu a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-menu a:hover {
  color: #38bdf8;
}

.footer-bottom-bar {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom-links a {
  color: #94a3b8;
}

.footer-bottom-links a:hover {
  color: #38bdf8;
}

.footer-bottom-links .dot {
  color: #334155;
}

/* --------------------------------------------------------------------------
   13. Standalone Policy Pages (privacy-policy.html, terms-conditions.html, refund-policy.html)
   -------------------------------------------------------------------------- */
.policy-page-body {
  background-color: var(--bg-light);
}

.policy-standalone-header {
  background-color: #0f172a;
  border-bottom: 1px solid #1e293b;
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.policy-header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.policy-header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.back-to-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.back-to-home-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.policy-brand-tag {
  display: flex;
  align-items: center;
}

.policy-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  background-color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.policy-tab-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #1e293b;
  padding: 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid #334155;
}

.policy-tab-nav .nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.policy-tab-nav .nav-tab:hover {
  color: #ffffff;
}

.policy-tab-nav .nav-tab.active {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.policy-main-container {
  max-width: 960px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.policy-document-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

/* Document Header inside Page */
.doc-header {
  border-bottom: 2px solid var(--bg-subtle);
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
}

.doc-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.doc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(16, 185, 129, 0.15);
  color: #059669;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.doc-version-badge {
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.doc-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.doc-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.meta-divider {
  margin: 0 0.5rem;
}

/* Table of Contents */
.doc-toc-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.toc-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.toc-link {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
}

.toc-link:hover {
  text-decoration: underline;
}

/* Document Sections */
.doc-body {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.doc-section {
  scroll-margin-top: 100px;
}

.doc-section-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.doc-p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.doc-list {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.doc-list li {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.doc-contact-card {
  background-color: var(--primary-light);
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1rem;
}

.contact-card-title {
  font-weight: 700;
  color: var(--primary-hover);
  margin-bottom: 0.5rem;
}

.contact-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.85rem 0;
}

.contact-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--primary);
}

.contact-address {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. Success Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.success-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.modal-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.modal-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   15. Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .services-grid,
  .why-grid,
  .reviews-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

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

  .services-grid,
  .why-grid,
  .reviews-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

  .form-group.full-width {
    grid-column: span 1;
  }

  .footer-content-grid {
    grid-template-columns: 1fr;
  }

  .policy-header-container {
    flex-direction: column;
    align-items: stretch;
  }

  .policy-tab-nav {
    overflow-x: auto;
  }

  .policy-document-card {
    padding: 1.75rem;
  }

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