/* ========== VARIABLES ========== */
:root {
  --blue: #2874F0;
  --blue-dark: #1A5FD6;
  --yellow: #FFD700;
  --yellow-dark: #F0C000;
  --bg: #F0F5FF;
  --bg-stat: #EEF4FF;
  --card: #FFFFFF;
  --text-dark: #212121;
  --text-muted: #535665;
  --green: #26A541;
  --orange: #FF7A00;
  --red: #E53935;
  --border: #E0E7FF;
  --shadow: 0 4px 20px rgba(40, 116, 240, 0.1);
  --shadow-lg: 0 12px 32px rgba(40, 116, 240, 0.16);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--card);
}

h1, h2, h3, h4 {
  font-family: 'Sora', 'DM Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
}

ul {
  list-style: none;
}

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== FADE-IN ON SCROLL ========== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.03);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--text-dark);
}

.btn-yellow:hover {
  background: var(--yellow-dark);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.35);
}

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

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

.btn-blue {
  background: var(--blue);
  color: var(--card);
}

.btn-blue:hover {
  background: var(--blue-dark);
  box-shadow: 0 8px 20px rgba(40, 116, 240, 0.35);
}

.btn-blue-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-blue-outline:hover {
  background: var(--blue);
  color: var(--card);
}

.btn-dark-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-dark-outline:hover {
  background: var(--text-dark);
  color: var(--card);
}

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blue);
  transition: box-shadow 0.25s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.logo-biz {
  font-weight: 800;
  color: var(--card);
}

.logo-formation {
  font-weight: 500;
  color: var(--card);
}

.logo-bd {
  font-weight: 800;
  color: var(--yellow);
}

.logo-footer .logo-biz,
.logo-footer .logo-formation {
  color: var(--card);
}

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

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--card);
  padding-bottom: 4px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.nav-links a.active {
  border-bottom-color: var(--yellow);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--card);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 90px 0 140px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: particleFloat var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.25;
  }
  50% {
    transform: translate(8px, -18px);
    opacity: 0.6;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 24px;
}

.hero-left {
  color: var(--card);
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--card);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.js-anim .hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
}

.js-anim .hero.in-view .hero-title .word {
  animation: wordReveal 0.6s ease forwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}

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

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.visual-circle {
  position: relative;
  width: 320px;
  height: 320px;
  max-width: 80vw;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  z-index: 1;
}

.visual-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(10, 20, 50, 0.25);
}

.badge-1 {
  top: 6%;
  left: -6%;
  background: var(--card);
  color: var(--blue);
  animation: badgeFloat 4s ease-in-out infinite;
}

.badge-2 {
  top: 6%;
  right: -6%;
  background: var(--yellow);
  color: var(--text-dark);
  animation: badgeFloat 5s ease-in-out infinite;
  animation-delay: 0.7s;
}

.badge-3 {
  bottom: -4%;
  left: 50%;
  background: var(--card);
  color: var(--green);
  animation: badge3Float 4.5s ease-in-out infinite;
  animation-delay: 1.4s;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes badge3Float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

.order-card {
  position: relative;
  z-index: 3;
  background: var(--card);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(10, 20, 50, 0.35);
  padding: 28px 26px;
  width: 100%;
  max-width: 340px;
  margin-top: -70px;
  animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.order-card-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.order-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(40, 116, 240, 0.18);
}

.order-card-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.order-card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.order-card-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.order-card-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.order-processing {
  color: var(--yellow-dark);
  font-weight: 700;
}

.order-done {
  color: var(--green);
  font-weight: 700;
}

/* ========== STATS BAR ========== */
.stats-bar {
  background: var(--card);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  padding: 24px 12px 20px;
  border-left: 4px solid var(--blue);
  background: var(--bg-stat);
  border-radius: 10px;
}

.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--blue);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ========== SECTION HEADING ========== */
.section-heading {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2 {
  position: relative;
  display: inline-block;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 16px;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: var(--yellow);
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ========== SERVICES ========== */
.services {
  padding: 90px 0;
  background: var(--bg);
}

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

.service-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--card);
  border: 2px solid var(--border);
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  padding: 26px 24px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 0 0;
  border-color: var(--yellow) transparent transparent transparent;
  transition: border-width 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--yellow);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  border-width: 34px 34px 0 0;
}

.js-anim .service-card {
  opacity: 0;
  transform: translateY(30px);
}

.js-anim .service-card.in-view {
  animation: cardSlideUp 0.6s ease forwards;
  animation-delay: calc(var(--i, 0) * 100ms);
}

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

.service-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--blue);
  border-radius: 10px;
}

.service-text h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.service-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
  padding: 90px 0;
  background: var(--card);
}

.timeline {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}

.timeline-step {
  display: flex;
  gap: 26px;
  position: relative;
  padding-bottom: 48px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 23px;
  width: 2px;
  height: calc(100% - 48px);
  background: var(--border);
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--card);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.js-anim .timeline-step {
  opacity: 0;
  transform: translateX(-30px);
}

.js-anim .timeline-step.in-view {
  animation: stepSlideIn 0.6s ease forwards;
  animation-delay: calc(var(--i, 0) * 150ms);
}

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

.js-anim .timeline-step::before {
  transform: scaleY(0);
  transform-origin: top;
}

.js-anim .timeline-step.in-view::before {
  animation: lineGrow 0.6s ease forwards;
  animation-delay: calc(var(--i, 0) * 150ms + 300ms);
}

@keyframes lineGrow {
  to {
    transform: scaleY(1);
  }
}

/* ========== PRICING ========== */
.pricing {
  padding: 90px 0;
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.price-card {
  --final-scale: 1;
  background: var(--card);
  border: 2px solid var(--border);
  border-left: 4px solid transparent;
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price-stripe-blue {
  border-left-color: var(--blue);
}

.price-stripe-yellow {
  border-left-color: var(--yellow);
}

.price-stripe-dark {
  border-left-color: var(--text-dark);
}

.price-card-featured {
  --final-scale: 1.04;
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}

.price-card-featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--yellow);
  color: var(--text-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}

.price-usd {
  font-family: 'Sora', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.price-bdt {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.price-card ul li {
  font-size: 0.92rem;
  color: var(--text-dark);
}

.highlight-note {
  color: var(--text-muted) !important;
  font-weight: 700;
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.js-anim .price-card {
  opacity: 0;
  transform: scale(0.92);
}

.js-anim .price-card.in-view {
  animation: cardZoomIn 0.6s ease forwards;
  animation-delay: calc(var(--i, 0) * 120ms);
}

@keyframes cardZoomIn {
  to {
    opacity: 1;
    transform: scale(var(--final-scale, 1));
  }
}

/* ========== WHY US ========== */
.why-us {
  padding: 90px 0;
  background: var(--card);
}

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

.why-box {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.25s ease;
}

.why-box:hover {
  transform: translateY(-4px);
}

.why-icon {
  font-size: 2.3rem;
  margin-bottom: 16px;
  color: var(--blue);
}

.why-box h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 90px 0;
  background: var(--bg);
}

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

.testimonial-card {
  position: relative;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.quote-mark {
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.15;
  line-height: 1;
}

.stars {
  color: var(--yellow-dark);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.98rem;
  color: var(--text-dark);
  margin-bottom: 20px;
}

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

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--card);
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 0;
  border-top: 3px solid var(--yellow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 56px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 220px;
}

.footer-col h4 {
  color: var(--card);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

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

.footer-col a {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--yellow);
}

.payment-list li {
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
}

/* ========== WHATSAPP FLOAT BUTTON ========== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--text-dark);
  color: var(--card);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.9rem;
  }

  .services-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .price-card-featured {
    transform: none;
  }

  .price-card-featured:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-right {
    margin-top: 40px;
  }

  .order-card {
    max-width: 380px;
  }

  .visual-circle {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--blue);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .navbar-actions .btn-sm {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .services-grid,
  .pricing-grid,
  .testimonials-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .services,
  .how-it-works,
  .pricing,
  .why-us,
  .testimonials,
  .cta-banner {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0 60px;
  }

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

  .order-card {
    padding: 22px 20px;
  }

  .visual-circle {
    width: 220px;
    height: 220px;
    margin-bottom: 20px;
  }

  .visual-badge {
    padding: 8px 12px;
    font-size: 0.72rem;
  }

  .badge-1 {
    left: -4%;
  }

  .badge-2 {
    right: -4%;
  }

  .order-card {
    margin-top: -50px;
  }
}

/* ========== AUTH PAGES ========== */
.auth-section {
  background: var(--bg);
  padding: 70px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-shell {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-form-pane {
  padding: 48px 40px;
}

.auth-form-inner {
  max-width: 420px;
  margin: 0 auto;
}

.auth-heading {
  margin-bottom: 28px;
}

.auth-heading h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.auth-heading p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--card);
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--card);
  resize: vertical;
  transition: border-color 0.2s ease;
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group input[type='file'] {
  padding: 10px;
  border: 2px dashed var(--border);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  cursor: pointer;
}

.form-checkbox input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.form-checkbox a {
  color: var(--blue);
  font-weight: 700;
}

.auth-links-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.auth-links-row .form-checkbox {
  margin-bottom: 0;
}

.auth-links-row a {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.form-message {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.form-message.error {
  display: block;
  background: #FDECEC;
  color: #C0392B;
}

.form-message.success {
  display: block;
  background: #E9F9EE;
  color: var(--green);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.auth-switch {
  margin-top: 22px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--blue);
  font-weight: 700;
}

.auth-side-pane {
  position: relative;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--card);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.auth-side-pane h3 {
  position: relative;
  z-index: 1;
  color: var(--card);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.auth-benefits {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.98rem;
}

.auth-benefit .check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--yellow);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .auth-shell {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .auth-side-pane {
    display: none;
  }
}

@media (max-width: 480px) {
  .auth-form-pane {
    padding: 40px 24px;
  }

  .auth-section {
    padding: 40px 0;
  }
}

/* ========== DASHBOARD ========== */
.dashboard-section {
  background: var(--bg);
  padding: 48px 0 90px;
  min-height: 60vh;
}

.welcome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--card);
  margin-bottom: 32px;
}

.welcome-bar h1 {
  color: var(--card);
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.welcome-bar p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.welcome-bar .btn {
  flex-shrink: 0;
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.dash-stat-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.dash-stat-pending {
  border-left-color: var(--yellow-dark);
}

.dash-stat-progress {
  border-left-color: var(--blue);
}

.dash-stat-completed {
  border-left-color: var(--green);
}

.dash-stat-number {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.dash-stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.dash-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 32px;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.dash-card-header h2 {
  font-size: 1.3rem;
}

.dash-table-wrapper {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.dash-table th {
  text-align: left;
  padding: 12px 14px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.dash-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  white-space: nowrap;
}

.dash-table tr:last-child td {
  border-bottom: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-pending {
  background: var(--yellow);
  color: var(--text-dark);
}

.status-payment_review {
  background: var(--orange);
  color: var(--card);
}

.status-in_progress {
  background: var(--blue);
  color: var(--card);
}

.status-completed {
  background: var(--green);
  color: var(--card);
}

.status-cancelled {
  background: var(--red);
  color: var(--card);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
}

.empty-state-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 20px;
}

.dash-loading {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .dash-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .welcome-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-stats-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    flex-direction: column;
  }

  .quick-actions .btn {
    width: 100%;
  }

  .dash-card {
    padding: 22px;
  }
}

/* ========== ORDER & PAYMENT ========== */
.order-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.order-service-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.order-service-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
}

.order-service-card.selected {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.25);
}

.order-service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.order-service-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  color: var(--blue);
}

.order-service-price .bdt {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.82rem;
  font-family: 'DM Sans', sans-serif;
}

.order-service-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.order-summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--bg);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.order-summary-box .name {
  font-weight: 700;
  color: var(--text-dark);
}

.order-summary-box .price {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  color: var(--blue);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.payment-method-card {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.payment-method-card:hover {
  border-color: var(--blue);
}

.payment-method-card.selected {
  border-color: var(--yellow);
  background: #FFFBEA;
}

.payment-details-box {
  display: none;
  background: var(--bg);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.payment-details-box.active {
  display: block;
}

.payment-details-box .detail-row {
  margin-bottom: 12px;
}

.payment-details-box .detail-row:last-child {
  margin-bottom: 0;
}

.payment-details-box .detail-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.payment-details-box .detail-value {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--blue);
  font-size: 1.02rem;
  word-break: break-all;
}

@media (max-width: 768px) {
  .order-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== ADMIN PANEL ========== */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 24px;
}

.admin-login-card {
  width: 100%;
  max-width: 400px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
}

.admin-login-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--card);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.admin-login-card h1 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.admin-login-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 26px;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #1A1A2E;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
}

.admin-sidebar-header {
  padding: 0 8px 24px;
}

.admin-sidebar-header .admin-title {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  color: var(--card);
  font-size: 1.1rem;
}

.admin-sidebar-header .admin-subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
}

.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--card);
}

.admin-nav-link.active {
  background: var(--blue);
  color: var(--card);
}

.admin-logout {
  margin-top: auto;
  color: #FF8A8A;
}

.admin-logout:hover {
  background: rgba(255, 107, 107, 0.12);
  color: #FF8A8A;
}

.admin-main {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  padding: 32px 36px;
}

.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.admin-page-header h1 {
  font-size: 1.6rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.admin-stat-card.revenue {
  border-left-color: var(--green);
}

.admin-stat-card.pending {
  border-left-color: var(--yellow-dark);
}

.admin-stat-card.progress {
  border-left-color: var(--blue);
}

.admin-stat-number {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-dark);
}

.admin-stat-number .sub {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

.admin-stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-tab {
  padding: 9px 16px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--card);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.filter-tab:hover {
  border-color: var(--blue);
}

.filter-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--card);
}

.admin-search {
  margin-bottom: 20px;
}

.admin-search input {
  width: 100%;
  max-width: 360px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
}

.admin-search input:focus {
  outline: none;
  border-color: var(--blue);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 8px;
}

.detail-item .detail-item-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.detail-item .detail-item-value {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.payment-proof-image {
  max-width: 320px;
  width: 100%;
  border-radius: 10px;
  border: 2px solid var(--border);
  margin-bottom: 16px;
  display: block;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.doc-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 8px;
  font-size: 0.9rem;
}

.doc-list-item .doc-name {
  font-weight: 700;
  color: var(--text-dark);
}

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

@media (max-width: 900px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    overflow-x: auto;
  }

  .admin-sidebar-header {
    display: none;
  }

  .admin-nav {
    flex-direction: row;
  }

  .admin-logout {
    margin-top: 0;
    margin-left: auto;
  }

  .admin-main {
    padding: 24px 20px;
  }

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

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

@media (max-width: 480px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  .hero-particles span,
  .order-card,
  .visual-badge {
    animation: none !important;
  }

  .js-anim .hero-title .word,
  .js-anim .service-card,
  .js-anim .price-card,
  .js-anim .timeline-step,
  .js-anim .timeline-step::before {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
