/* =========================================================
   PropTrack — Professional GPS Tracking & Fleet Management
   Complete Stylesheet with Mobile Menu
   ========================================================= */

/* ============ VARIABLES ============ */
:root {
  --navy: #071525;
  --blue: #1477ff;
  --blue-dark: #0d63d9;
  --blue-light: #1aaee8;
  --text: #122033;
  --muted: #687789;
  --line: #e4ebf3;
  --light: #f5f8fc;
  --success: #4bd69b;
  --danger: #a22;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ============ RESET ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

::selection {
  background: var(--blue);
  color: #fff;
}

/* ============ CONTAINER ============ */
.container {
  width: min(1160px, 92%);
  margin: auto;
}

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideFromBottom {
  from { opacity: 0; transform: translateY(80px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 #4bd69b50; }
  70%  { box-shadow: 0 0 0 8px #4bd69b00; }
  100% { box-shadow: 0 0 0 0 #4bd69b00; }
}

@keyframes rotateRoute {
  from { transform: rotate(20deg); }
  to   { transform: rotate(380deg); }
}

@keyframes pulseDot {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%      { transform: translate(-50%, -50%) scale(1.15); opacity: .85; }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.15); opacity: .7; }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  height: 90px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all .3s ease;
}

.site-header.scrolled {
  height: 80px;
  box-shadow: 0 10px 40px rgba(7, 21, 37, .08);
}

.site-header .nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ============ LOGO ============ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform .3s ease;
  padding: 4px 0;
}

.logo:hover { transform: translateY(-1px); }

.logo-img {
  height: 80px;
  width: 80px;
  object-fit: contain;
  display: block;
  transition: transform .3s ease;
  flex-shrink: 0;
}

.logo:hover .logo-img { transform: scale(1.05); }

.logo-name {
  font-size: 10px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .3px;
  line-height: 1;
}

.logo-name strong {
  color: var(--blue);
  font-weight: 900;
}

/* ============ NAV DESKTOP ============ */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 10px 15px;
  color: #475569;
  text-decoration: none;
  border-radius: 8px;
  transition: all .25s ease;
  white-space: nowrap;
}

.main-nav a::before {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .3s cubic-bezier(.4, 0, .2, 1);
}

.main-nav a:hover {
  color: var(--blue);
  background: #f0f7ff;
}

.main-nav a:hover::before { width: 60%; }

.main-nav a.active {
  color: var(--blue) !important;
  background: #f0f7ff !important;
  font-weight: 700;
}

.main-nav a.active::before { width: 60%; }

/* ============ NAV BUTTON ============ */
.navbtn {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 11px 22px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  margin-left: 8px;
  box-shadow: 0 4px 12px rgba(7, 21, 37, .15);
  transition: all .3s ease !important;
}

.navbtn::before { display: none; }

.navbtn:hover {
  background: var(--blue) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(20, 119, 255, .35);
}

.navbtn.active {
  background: var(--blue) !important;
  color: #fff !important;
}

/* ============ HAMBURGER ============ */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .3s ease;
}

.nav-toggle:hover { background: #e2e8f0; }

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: all .3s ease;
}

.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
  background: var(--blue);
}
.nav-toggle.open span::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
  background: var(--blue);
}

/* ============ MOBILE MENU ============ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background: #fff;
  box-shadow: -20px 0 60px rgba(7, 21, 37, .15);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  z-index: 9999;
  overflow-y: auto;
  padding: 100px 30px 40px;
  visibility: hidden;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu a {
  display: block;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 600;
  color: #475569;
  border-radius: 10px;
  margin-bottom: 4px;
  transition: all .25s ease;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.mobile-menu a:hover {
  background: #f0f7ff;
  color: var(--blue);
  border-left-color: var(--blue);
  padding-left: 22px;
}

.mobile-menu a.active {
  background: #f0f7ff;
  color: var(--blue);
  font-weight: 700;
  border-left-color: var(--blue);
}

.mobile-menu .navbtn-mobile {
  display: block;
  background: var(--navy);
  color: #fff !important;
  text-align: center;
  margin-top: 20px;
  padding: 16px;
  border-radius: 10px;
  font-weight: 700;
}

.mobile-menu .navbtn-mobile:hover {
  background: var(--blue);
  color: #fff !important;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 37, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 9998;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* =========================================================
   TOP GALLERY
   ========================================================= */
.top-gallery {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #f8fbff, #fff);
  position: relative;
  overflow: hidden;
}

.top-gallery::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1477ff0d, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.gallery-slider {
  position: relative;
  height: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 30px 70px #07152525;
  animation: slideFromBottom .9s ease .2s both;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
  display: block;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.gallery-slide.active img {
  animation: kenBurns 6s ease-out forwards;
}

.gallery-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--blue);
  z-index: 10;
  width: 0;
  transition: width .3s linear;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff20;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #ffffff30;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 5;
  opacity: 0;
}

.gallery-slider:hover .gallery-nav { opacity: 1; }

.gallery-nav:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav.prev { left: 20px; }
.gallery-nav.next { right: 20px; }

.gallery-dots-nav {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.gallery-dots-nav .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff50;
  border: 0;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.gallery-dots-nav .dot:hover { background: #ffffff90; }

.gallery-dots-nav .dot.active {
  background: var(--blue);
  width: 26px;
  border-radius: 5px;
}

.gallery-empty {
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  background: #fff;
}

.gallery-empty svg { color: var(--line); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 95px 0;
  background: linear-gradient(135deg, #f4f8ff, #fff);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #1477ff12, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero-grid,
.split,
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
}

.hero .eyebrow      { animation: fadeUp .7s ease .3s both; }
.hero h1            { animation: fadeUp .8s ease .45s both; }
.hero p             { animation: fadeUp .8s ease .6s both; }
.hero .actions      { animation: fadeUp .8s ease .75s both; }

.hero-panel {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: #fff;
  box-shadow: 0 25px 60px #07152522;
  animation: fadeLeft .9s ease .5s both;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--blue);
  display: inline-block;
  margin-bottom: 6px;
}

h1 {
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 14px 0;
}

.hero h1 strong { color: var(--blue); }

.hero p {
  color: var(--muted);
  font-size: 17px;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  padding: 13px 20px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn svg {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.btn:hover svg { transform: translateX(3px); }

.primary {
  background: var(--blue);
  color: #fff;
}

.primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #1477ff40;
}

.ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

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

.light {
  background: #fff;
  color: var(--navy);
}

.light:hover {
  background: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #07152520;
}

/* =========================================================
   HERO PANEL (fake map)
   ========================================================= */
.live {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #a8bad0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live svg {
  color: var(--success);
  animation: livePulse 1.8s infinite;
}

.map {
  height: 310px;
  border-radius: var(--radius);
  margin: 15px 0;
  background: repeating-linear-gradient(45deg, #10263d, #10263d 20px, #0d2136 21px, #0d2136 40px);
  position: relative;
  overflow: hidden;
}

.map::after {
  content: '';
  position: absolute;
  inset: 15% 20%;
  border: 2px dashed var(--blue-light);
  border-radius: 50%;
  transform: rotate(20deg);
  animation: rotateRoute 20s linear infinite;
}

.map .vehicle-icon {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: drop-shadow(0 0 12px var(--blue-light));
  animation: pulseDot 1.8s ease-in-out infinite;
}

.map-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.map-row em {
  color: var(--success);
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-row em::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: livePulse 1.8s infinite;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: 90px 0; }

.dark {
  background: var(--navy);
  color: #fff;
}

.heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 45px;
}

.heading.left {
  text-align: left;
  margin-left: 0;
}

.heading h2,
.split h2 {
  font-size: 38px;
  line-height: 1.15;
  margin: 10px 0;
}

.heading p,
.section p { color: var(--muted); }

.dark p { color: #a9b8ca; }

/* ============ GRID ============ */
.grid {
  display: grid;
  gap: 20px;
}

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

/* =========================================================
   FEATURE CARDS
   ========================================================= */
.grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px;
  background: #fff;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px #07152515;
  border-color: var(--blue);
}

.grid article:hover::before { transform: scaleX(1); }

/* =========================================================
   ICON — BLUE VERSION (like the reference image but blue)
   ========================================================= */
.icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 18px;
  transition: var(--transition);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}

.grid article:hover .icon {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  color: #ffffff;
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.55);
}

.grid h3 {
  font-size: 17px;
  margin: 10px 0;
}

/* =========================================================
   CHECKS
   ========================================================= */
.checks {
  display: grid;
  gap: 13px;
}

.checks div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid #1c3855;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: #fff;
  font-weight: 500;
}

.checks div svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  padding: 4px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  transition: var(--transition);
}

.checks div:hover {
  border-color: var(--blue);
  background: #0d2136;
  transform: translateX(5px);
}

.checks div:hover svg {
  background: var(--blue-light);
  transform: scale(1.1);
}

/* =========================================================
   PRODUCT CARDS
   ========================================================= */
.product {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: var(--transition);
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px #07152515;
  border-color: var(--blue);
}

.product-img {
  height: 210px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eaf3fc, #f8fbff);
  color: var(--blue);
  transition: var(--transition);
  overflow: hidden;
}

.product-img svg {
  opacity: .75;
  transition: var(--transition);
}

.product:hover .product-img {
  background: linear-gradient(135deg, #d8e6f7, #eaf3fc);
}

.product:hover .product-img svg {
  transform: scale(1.1) rotate(3deg);
  opacity: 1;
  filter: drop-shadow(0 8px 20px #1477ff40);
}

.product-body { padding: 22px; }

.product-body small {
  color: var(--blue);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-body h3 { margin: 8px 0; }
.product-body p  { font-size: 13px; color: var(--muted); }

.product-body a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  margin-top: 6px;
}

.product-body a svg { transition: transform var(--transition); }
.product-body a:hover { color: var(--blue-dark); }
.product-body a:hover svg { transform: translateX(4px); }

/* =========================================================
   CTA
   ========================================================= */
.cta { padding: 60px 0; }

.cta-box {
  padding: 40px 48px;
  background: linear-gradient(135deg, #edf5ff, #f8fbff);
  border: 1px solid #d8e6f7;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-box h2 {
  margin: 10px 0 0;
  font-size: 32px;
}

/* =========================================================
   PANELS & INNER PAGES
   ========================================================= */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px;
  background: var(--light);
  transition: var(--transition);
}

.panel a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.panel a:hover { color: var(--blue-dark); }

.pagehero {
  background: var(--navy);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.pagehero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1477ff20, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pagehero h1 {
  max-width: 850px;
  position: relative;
  animation: fadeUp .8s ease .2s both;
}

.pagehero p {
  max-width: 700px;
  color: #aab9ca;
  position: relative;
  animation: fadeUp .8s ease .35s both;
}

.large-image {
  height: 360px;
  background: linear-gradient(135deg, #eaf3fc, #f8fbff);
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 800;
  color: #819ab5;
  border-radius: 14px;
}

/* =========================================================
   FORMS
   ========================================================= */
.contact { align-items: start; }

.contact form,
.login form {
  display: grid;
  gap: 13px;
}

.contact input,
.contact textarea,
.login input {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  transition: var(--transition);
  background: #fff;
}

.contact input:focus,
.contact textarea:focus,
.login input:focus {
  outline: none;
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px #1477ff20, 0 8px 20px #1477ff15;
}

.contact textarea {
  min-height: 160px;
  resize: vertical;
}

.success {
  padding: 12px;
  background: #e8fff4;
  color: #147451;
  border-radius: 7px;
}

.error {
  background: #fff0f0;
  color: var(--danger);
  padding: 12px;
  border-radius: 7px;
}

.login {
  max-width: 420px;
  margin: 10vh auto;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 14px;
  animation: slideFromBottom .7s ease both;
}

.big {
  font-size: 40px;
  color: var(--blue);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: #07111e;
  color: #aab9ca;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr .8fr 1fr;
  gap: 35px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  font-size: 12px;
  margin: 7px 0;
}

.footer-grid a {
  transition: color var(--transition), padding-left var(--transition);
}

.footer-grid a:hover {
  color: var(--blue);
  padding-left: 5px;
}

.footer-grid h4 { color: #fff; }
.white { color: #fff; }

.copyright {
  text-align: center;
  border-top: 1px solid #17283b;
  margin-top: 40px;
  padding: 20px;
  font-size: 11px;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px #1477ff40;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
  border: 0;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px #07152540;
}

/* =========================================================
   ACCESSIBILITY & SCROLLBAR
   ========================================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb {
  background: var(--navy);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.4, 0, .2, 1),
              transform .8s cubic-bezier(.4, 0, .2, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up    { opacity: 0; transform: translateY(40px); }
.reveal-down  { opacity: 0; transform: translateY(-40px); }
.reveal-left  { opacity: 0; transform: translateX(-50px); }
.reveal-right { opacity: 0; transform: translateX(50px); }
.reveal-zoom  { opacity: 0; transform: scale(.9); }
.reveal-blur  { opacity: 0; filter: blur(12px); transform: translateY(30px); }

.reveal-up.visible,
.reveal-down.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-zoom.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.reveal-blur.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* =========================================================
   DARK MODE
   ========================================================= */
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e5edf7;
    --muted: #94a3b8;
    --line: #1e2c40;
    --light: #0f1c2d;
  }

  body { background: #0a1421; }
  .site-header { background: #0a1421; }

  .grid article,
  .product,
  .panel { background: #0f1c2d; }

  .ghost {
    background: #0f1c2d;
    color: #e5edf7;
  }

  .btn.light {
    background: #1a2740;
    color: #fff;
  }

  .contact input,
  .contact textarea,
  .login input {
    background: #0f1c2d;
    color: #e5edf7;
  }

  .mobile-menu { background: #0f1c2d; }
  .mobile-menu a { color: #cbd5e1; }
  .mobile-menu a:hover,
  .mobile-menu a.active {
    background: #1a2740;
    color: var(--blue);
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* TABLET */
@media (max-width: 1100px) {
  .main-nav a { padding: 10px 11px; font-size: 13px; }
  .logo-img { height: 72px; width: 72px; }
  .logo-name { font-size: 9px; }
}

@media (max-width: 1000px) {
  .main-nav a { padding: 9px 9px; font-size: 12.5px; }
  .logo-img { height: 66px; width: 66px; }
  .logo-name { font-size: 8.5px; }
}

/* MOBILE */
@media (max-width: 850px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }

  .site-header { height: 80px; }
  .site-header.scrolled { height: 72px; }

  .logo-img { height: 62px; width: 62px; }
  .logo-name { font-size: 8px; }

  .hero-grid,
  .split,
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .four,
  .three { grid-template-columns: 1fr 1fr; }

  h1 { font-size: 44px; }

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

  .heading h2,
  .split h2 { font-size: 30px; }

  .cta-box h2 { font-size: 26px; }

  .top-gallery { padding: 40px 0 30px; }
  .gallery-slider { height: 420px; }

  .gallery-nav {
    opacity: 1;
    width: 42px;
    height: 42px;
  }

  .gallery-nav.prev { left: 12px; }
  .gallery-nav.next { right: 12px; }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* SMALL MOBILE */
@media (max-width: 520px) {
  .site-header { height: 70px; }
  .site-header.scrolled { height: 64px; }

  .logo-img { height: 54px; width: 54px; }
  .logo-name { font-size: 7.5px; }
  .logo { gap: 10px; }

  .four,
  .three,
  .footer-grid { grid-template-columns: 1fr; }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 30px 24px;
  }

  .cta-box .btn { width: 100%; }

  h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }

  .hero-panel { padding: 18px; }
  .map { height: 220px; }

  .heading h2,
  .split h2 { font-size: 26px; }

  .top-gallery { padding: 30px 0 20px; }
  .gallery-slider {
    height: 260px;
    border-radius: 14px;
  }

  .gallery-nav {
    width: 36px;
    height: 36px;
  }

  .gallery-dots-nav {
    bottom: 14px;
    gap: 6px;
  }

  .gallery-dots-nav .dot.active { width: 20px; }
}

/* TINY MOBILE */
@media (max-width: 380px) {
  .logo-img { height: 48px; width: 48px; }
  .logo-name { font-size: 7px; }
  .logo { gap: 8px; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
/* =========================================================
   TESTIMONIALS — د مشتریانو نظریات
   ========================================================= */
.testimonials-section {
  background: linear-gradient(180deg, #fff, #f8fbff);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #1477ff0d, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.testimonial-card {
  height: 100%;
}

.testimonial-card .tilt-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.testimonial-card:hover .tilt-card-inner {
  border-color: var(--blue);
  box-shadow: 0 20px 45px #07152515;
  transform: translateY(-5px);
}

.testimonial-quote {
  color: var(--blue);
  opacity: .15;
  margin-bottom: 10px;
  line-height: 1;
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  color: #f5a623;
  margin-bottom: 14px;
}

.testimonial-message {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 24px;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  border: 2px solid #eaf3ff;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.testimonial-info strong {
  font-size: 14px;
  color: var(--navy);
  font-weight: 700;
}

.testimonial-info small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .testimonials-section { background: #0a1421; }
  .testimonial-card .tilt-card-inner { background: #0f1c2d; }
  .testimonial-message { color: #cbd5e1; }
  .testimonial-info strong { color: #e5edf7; }
  .testimonial-avatar { border-color: #1e2c40; }
}
/* =========================================================
   PRODUCT CARDS
   ========================================================= */
.product {
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: var(--transition);
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px #07152515;
  border-color: var(--blue);
}

.product-img {
  height: 210px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eaf3fc, #f8fbff);
  color: var(--blue);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

/* ✅ د عکس لپاره */
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product:hover .product-img img {
  transform: scale(1.05);
}

/* ✅ د SVG لپاره */
.product-img svg {
  opacity: .75;
  transition: var(--transition);
}

.product:hover .product-img {
  background: linear-gradient(135deg, #d8e6f7, #eaf3fc);
}

.product:hover .product-img svg {
  transform: scale(1.1) rotate(3deg);
  opacity: 1;
  filter: drop-shadow(0 8px 20px #1477ff40);
}

.product-body { padding: 22px; }

.product-body small {
  color: var(--blue);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 4px;
}

.product-body h3 { 
  margin: 8px 0; 
  font-size: 17px;
}

.product-model {
  display: inline-block;
  font-size: 11px;
  color: var(--muted);
  background: var(--light);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-body p { 
  font-size: 13px; 
  color: var(--muted); 
  margin: 8px 0 12px;
}

.product-body a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  margin-top: 6px;
}

.product-body a svg { transition: transform var(--transition); }
.product-body a:hover { color: var(--blue-dark); }
.product-body a:hover svg { transform: translateX(4px); }

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .product { background: #0f1c2d; }
  .product-model { background: #1a2740; }
}
/* ============================================================
   HERO PANEL - BOOTSTRAP CAROUSEL
   ============================================================ */

.hero-panel-bs {
  position: relative;
  background: linear-gradient(160deg, #0a1420 0%, #0f1e30 60%, #0a1928 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 30px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(35, 184, 232, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-panel-bs::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(35, 184, 232, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-panel-bs::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-panel-bs .carousel,
.hero-panel-bs .carousel-inner {
  position: relative;
  z-index: 1;
}

.hero-panel-bs .carousel-item {
  transition: opacity 0.8s ease-in-out;
}

/* --- محتوای اسلاید --- */
.slide-content {
  padding: 40px 36px 60px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.carousel-item.active .slide-badge    { animation: bsSlideIn 0.6s ease 0.2s both; }
.carousel-item.active .slide-title    { animation: bsSlideIn 0.6s ease 0.3s both; }
.carousel-item.active .slide-desc     { animation: bsSlideIn 0.6s ease 0.4s both; }
.carousel-item.active .slide-features .col-12:nth-child(1) .feature-item { animation: bsSlideIn 0.5s ease 0.5s both; }
.carousel-item.active .slide-features .col-12:nth-child(2) .feature-item { animation: bsSlideIn 0.5s ease 0.6s both; }
.carousel-item.active .slide-stats    { animation: bsSlideIn 0.6s ease 0.7s both; }

@keyframes bsSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- برچسب اسلاید --- */
.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #23b8e8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  background: rgba(35, 184, 232, 0.12);
  border: 1px solid rgba(35, 184, 232, 0.25);
  border-radius: 50px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.slide-badge .dot {
  width: 8px;
  height: 8px;
  background: #23b8e8;
  border-radius: 50%;
  box-shadow: 0 0 10px #23b8e8;
  animation: bsPulse 1.5s infinite;
}

@keyframes bsPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

/* --- تیتر --- */
.slide-title {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 14px;
}

.slide-title .highlight {
  background: linear-gradient(135deg, #23b8e8 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- توضیحات --- */
.slide-desc {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 22px;
}

/* --- ویژگی‌ها --- */
.slide-features {
  margin-bottom: 24px;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(35, 184, 232, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-item:hover {
  background: rgba(35, 184, 232, 0.08);
  border-color: rgba(35, 184, 232, 0.3);
  transform: translateX(4px);
}

.feature-item .icon-box {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #fff;
}

.icon-box.blue   { background: linear-gradient(135deg, #23b8e8, #1a7ab5); }
.icon-box.green  { background: linear-gradient(135deg, #22c55e, #15803d); }
.icon-box.orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.icon-box.purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }

.feature-item strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-item small {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* --- آمار --- */
.slide-stats {
  padding-top: 18px;
  border-top: 1px solid rgba(35, 184, 232, 0.15);
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #23b8e8;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item small {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  letter-spacing: 0.3px;
}

/* ============================================================
   ناوبری Carousel
   ============================================================ */

.hero-indicators {
  position: absolute;
  bottom: 24px;
  left: 36px;
  right: auto;
  margin: 0;
  justify-content: flex-start;
  z-index: 10;
}

.hero-indicators [data-bs-target] {
  width: 28px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 4px;
  margin: 0 4px;
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-indicators [data-bs-target]:hover {
  background-color: rgba(35, 184, 232, 0.5);
}

.hero-indicators .active {
  background: linear-gradient(90deg, #23b8e8, #22c55e);
  width: 40px;
  box-shadow: 0 0 12px rgba(35, 184, 232, 0.6);
}

/* --- دکمه‌های ناوبری --- */
.hero-ctrl {
  position: absolute;
  bottom: 16px;
  top: auto;
  width: 40px;
  height: 40px;
  opacity: 1;
  z-index: 10;
}

.hero-ctrl.carousel-control-prev {
  right: 70px;
  left: auto;
}

.hero-ctrl.carousel-control-next {
  right: 20px;
  left: auto;
}

.hero-ctrl .ctrl-btn {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(35, 184, 232, 0.1);
  border: 1px solid rgba(35, 184, 232, 0.3);
  border-radius: 50%;
  color: #23b8e8;
  transition: all 0.3s ease;
}

.hero-ctrl:hover .ctrl-btn {
  background: #23b8e8;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(35, 184, 232, 0.6);
}

.hero-ctrl:hover,
.hero-ctrl:focus {
  opacity: 1;
}

/* ============================================================
   ریسپانسیو
   ============================================================ */

@media (max-width: 992px) {
  .slide-content {
    padding: 32px 28px 60px;
    min-height: 480px;
  }
  .hero-indicators { left: 28px; }
  .hero-ctrl.carousel-control-prev { right: 62px; }
  .hero-ctrl.carousel-control-next { right: 16px; }
}

@media (max-width: 576px) {
  .slide-content {
    padding: 28px 22px 60px;
    min-height: 520px;
  }
  .slide-title { font-size: 1.2rem; }
  .slide-desc  { font-size: 0.85rem; }
  .feature-item { padding: 10px 12px; }
  .stat-item strong { font-size: 1.2rem; }
  .hero-indicators { left: 22px; }
  .hero-ctrl { width: 36px; height: 36px; }
  .hero-ctrl.carousel-control-prev { right: 56px; }
  .hero-ctrl.carousel-control-next { right: 14px; }
}
/* ============================================================
   HERO SECTION - IMAGE + TEXT
   ============================================================ */

.hero-image {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 50%, #f8fbff 100%);
}

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

.hero-image-bg span {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: bgFloat 12s infinite alternate ease-in-out;
}

.hero-image-bg span:nth-child(1) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(20, 119, 255, 0.35) 0%, transparent 70%);
  top: -150px; left: -150px;
}

.hero-image-bg span:nth-child(2) {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(35, 184, 232, 0.3) 0%, transparent 70%);
  bottom: -100px; right: -80px;
  animation-delay: -4s;
}

@keyframes bgFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, 30px) scale(1.15); }
  100% { transform: translate(-30px, -20px) scale(0.9); }
}

.hero-image-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-image-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
}

.hero-text-content { max-width: 560px; }

@media (max-width: 992px) {
  .hero-text-content { max-width: 100%; margin: 0 auto; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(20, 119, 255, 0.08);
  border: 1px solid rgba(20, 119, 255, 0.2);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #1477ff;
  margin-bottom: 24px;
  animation: fadeDown 0.6s ease both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #1477ff;
  border-radius: 50%;
  animation: badgePulse 1.8s infinite;
}

@keyframes badgePulse {
  0%   { box-shadow: 0 0 0 0 rgba(20, 119, 255, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(20, 119, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 119, 255, 0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-15px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-main-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #071525;
  margin: 0 0 24px;
  animation: fadeUp 0.7s ease 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, #1477ff 0%, #23b8e8 50%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-text-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #475569;
  margin: 0 0 28px;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeUp 0.7s ease 0.3s both;
}

@media (max-width: 992px) {
  .hero-benefits { align-items: center; }
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #334155;
  font-weight: 500;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.35);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeUp 0.7s ease 0.4s both;
}

@media (max-width: 992px) {
  .hero-actions { justify-content: center; }
}

.btn-primary-hero,
.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-primary-hero {
  background: linear-gradient(135deg, #1477ff 0%, #23b8e8 100%);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(20, 119, 255, 0.55);
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px -8px rgba(20, 119, 255, 0.7);
  color: #fff;
}

.btn-primary-hero svg { transition: transform 0.3s ease; }
.btn-primary-hero:hover svg { transform: translateX(4px); }

.btn-secondary-hero {
  background: #fff;
  color: #071525;
  border: 1.5px solid #e4ebf3;
  box-shadow: 0 4px 12px rgba(7, 21, 37, 0.05);
}

.btn-secondary-hero:hover {
  border-color: #1477ff;
  color: #1477ff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(20, 119, 255, 0.25);
}

.hero-mini-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid #e4ebf3;
  animation: fadeUp 0.7s ease 0.5s both;
}

@media (max-width: 992px) {
  .hero-mini-stats { justify-content: center; }
}

.hero-mini-stats > div strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: #071525;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-mini-stats > div small {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

.mini-divider {
  width: 1px;
  height: 40px;
  background: #e4ebf3;
}

.hero-image-visual {
  position: relative;
  animation: fadeUp 0.9s ease 0.3s both;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 
    0 40px 100px -30px rgba(7, 21, 37, 0.35),
    0 0 0 1px rgba(20, 119, 255, 0.12);
  background: #0a1420;
}

.hero-main-image {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover .hero-main-image {
  transform: scale(1.03);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(20, 119, 255, 0.15);
  border-radius: 14px;
  box-shadow: 0 20px 40px -12px rgba(7, 21, 37, 0.25);
  z-index: 5;
  animation: cardFloat 4s ease-in-out infinite;
}

.fc-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.fc-icon.green  { background: rgba(34, 197, 94, 0.12);  color: #22c55e; }
.fc-icon.blue   { background: rgba(20, 119, 255, 0.12); color: #1477ff; }
.fc-icon.orange { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }

.floating-card strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #071525;
  line-height: 1.2;
}

.floating-card small {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 2px;
}

.card-1 { top: 8%;  left: -30px; animation-delay: 0s; }
.card-2 { top: 45%; right: -30px; animation-delay: -1.5s; }
.card-3 { bottom: 8%; left: -30px; animation-delay: -3s; }

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

@media (max-width: 1200px) {
  .card-1 { left: -15px; }
  .card-2 { right: -15px; }
  .card-3 { left: -15px; }
}

@media (max-width: 992px) {
  .hero-image { padding: 60px 0 50px; }
  .floating-card { padding: 10px 14px; }
  .fc-icon { width: 32px; height: 32px; }
  .card-1 { top: 5%;  left: -10px; }
  .card-2 { top: 48%; right: -10px; }
  .card-3 { bottom: 5%; left: -10px; }
  .floating-card strong { font-size: 0.8rem; }
  .floating-card small { font-size: 0.65rem; }
}

@media (max-width: 576px) {
  .hero-main-title { font-size: 2rem; }
  .hero-mini-stats { flex-wrap: wrap; gap: 16px; }
  .mini-divider { display: none; }
  .floating-card { padding: 8px 10px; gap: 8px; }
  .fc-icon { width: 28px; height: 28px; }
  .card-1,
  .card-2,
  .card-3 {
    position: static;
    margin: 10px auto 0;
    width: fit-content;
  }
  .hero-image-wrapper {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
  }
}
/* =========================================================
   SERVICE CARD — Large Image
========================================================= */

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e3ecf7;
  box-shadow: 0 4px 18px rgba(11,99,246,.05);
  transition: all .35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #b9d5ff;
  box-shadow: 0 20px 40px rgba(11,99,246,.15);
}

/* د عکس لوی ځای */
.service-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f7ff, #e8f3ff);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.06);
}

/* که عکس نه وي */
.service-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f7ff, #e8f3ff);
}

/* متن د عکس لاندې */
.service-card .tilt-card-inner {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .service-image { height: 180px; }
  .service-card .tilt-card-inner { padding: 18px 20px 22px; }
}
