/* ================================================
   DENTAL TECH â€” Main Stylesheet
   ================================================ */

/* ===== RESET & BASE ===== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0a6eb4;
  --primary-dark: #084d80;
  --primary-light: #e8f4fd;
  --accent: #00c2cb;
  --accent-dark: #009ea6;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Vazirmatn", sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 99px;
}

/* ===== CONTAINER ===== */

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

/* ===== SECTION BADGE ===== */

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.section-badge--light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.section-badge--glass {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ===== SECTION TITLE & DESC ===== */

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  text-align: justify;
}

.section-desc--light {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: "Vazirmatn", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(10, 110, 180, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(10, 110, 180, 0.45);
}

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

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

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 194, 203, 0.35);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

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

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

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===== SCROLL ANIMATION ===== */

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ================================================
   NAVBAR
   ================================================ */

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

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

/* Logo */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(10, 110, 180, 0.3);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.1;
}

.logo-text span {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
}

/* Nav Links */

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Nav CTA */

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--gray-800);
  font-size: 1.3rem;
}

/* Mobile Menu */

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  right: 0;
  left: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: var(--transition);
}

.mobile-menu.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.mobile-menu ul a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-menu ul a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-cta {
  display: flex;
  gap: 12px;
}

.mobile-cta .btn {
  flex: 1;
  justify-content: center;
}

/* ================================================
   HERO
   ================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f4fd 40%, #f0fdfe 100%);
}

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

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  left: -200px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  right: -100px;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--primary);
  top: 60%;
  left: 30%;
}

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

.hero-content {
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-light), #e0f8fa);
  border: 1px solid rgba(10, 110, 180, 0.2);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}

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

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero Visual */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card-main {
  /* background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl); */
  width: 100%;
  max-width: 380px;
  position: relative;
  z-index: 2;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.hero-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
}

.hero-card-sub {
  font-size: 0.78rem;
  color: var(--gray-400);
}

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

.appointment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.appointment-item:hover {
  background: var(--primary-light);
}

.appointment-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green {
  background: #22c55e;
}

.dot-blue {
  background: var(--primary);
}

.dot-orange {
  background: #f59e0b;
}

.dot-purple {
  background: #a855f7;
}

.appointment-info {
  flex: 1;
}

.appointment-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
}

.appointment-time {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.appointment-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.status-confirmed {
  background: #dcfce7;
  color: #16a34a;
}

.status-pending {
  background: #fef3c7;
  color: #d97706;
}

.status-waiting {
  background: #ede9fe;
  color: #7c3aed;
}

/* Floating Cards */

.hero-floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.float-card-1 {
  top: -20px;
  left: -60px;
  animation: floatAnim 3s ease-in-out infinite;
}

.float-card-2 {
  bottom: -20px;
  left: -40px;
  animation: floatAnim 3s ease-in-out infinite 0.5s;
}

.float-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.fi-green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.fi-purple {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
}

.float-info strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-900);
  display: block;
}

.float-info span {
  font-size: 0.72rem;
  color: var(--gray-400);
}

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

/* ================================================
   SERVICES
   ================================================ */

.services {
  padding: 100px 0;
  background: var(--white);
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-desc {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 24px;
}

.si-blue {
  background: linear-gradient(135deg, #0a6eb4, #0ea5e9);
}

.si-teal {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.si-violet {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.si-green {
  background: linear-gradient(135deg, #059669, #10b981);
}

.si-orange {
  background: linear-gradient(135deg, #ea580c, #f97316);
}

.si-pink {
  background: linear-gradient(135deg, #db2777, #ec4899);
}

.si-indigo {
  background: linear-gradient(135deg, #4338ca, #6366f1);
}

.si-cyan {
  background: linear-gradient(135deg, #0e7490, #00c2cb);
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef3c7;
  color: #d97706;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-desc {
  text-align: justify;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-600);
}

.service-features li i {
  color: var(--primary);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.service-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.service-cta:hover {
  gap: 10px;
}

.service-cta i {
  font-size: 0.75rem;
}

/* ================================================
   WHY US
   ================================================ */

.why-us {
  padding: 100px 0;
  background: linear-gradient(135deg, #0a6eb4, #0284c7, #0891b2);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.resume {
  padding: 100px 0;
  background: linear-gradient(135deg, #0b0ab4, #022dc7, #084bb2);
  position: relative;
  overflow: hidden;
}

.resume::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-us-content .section-title {
  color: #fff;
}

.why-us-content .section-title span {
  color: var(--accent);
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.why-list li .check {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
  font-size: 0.8rem;
}

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.why-card-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.why-card-num {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.why-card-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ================================================
   PROCESS
   ================================================ */

.process {
  padding: 100px 0;
  background: var(--gray-50);
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-header .section-desc {
  margin: 0 auto;
}

.process-steps {
  display: flex;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step-num {
  width: 72px;
  height: 72px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.process-step:hover .step-num {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.step-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ================================================
   TESTIMONIALS
   ================================================ */

.testimonials {
  padding: 100px 0;
  background: var(--white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-header .section-desc {
  margin: 0 auto;
}

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

.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.testimonial-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.av-blue {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.av-green {
  background: linear-gradient(135deg, #059669, #10b981);
}

.av-violet {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.author-info strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-900);
  display: block;
}

.author-info span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ================================================
   CTA
   ================================================ */

.cta-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.cta-box {
  background: linear-gradient(135deg, var(--gray-900), #1a2e4a);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(0, 194, 203, 0.15) 0%,
    transparent 70%
  );
}

.cta-box::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(10, 110, 180, 0.2) 0%,
    transparent 70%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}

.cta-title span {
  background: linear-gradient(135deg, var(--accent), #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

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

.footer-brand .logo-text strong {
  color: #fff;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-right: 4px;
}

.footer-links a i {
  font-size: 0.65rem;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
}

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--transition);
}

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

.hero-img {
  width: 100vh;
}

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

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-img {
    width: 100%;
  }
  .why-us-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .process-steps {
    flex-direction: column;
  }
  .process-steps::before {
    display: none;
  }
  .why-cards {
    grid-template-columns: 1fr 1fr;
  }
  .cta-box {
    padding: 48px 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 20px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/*  */

/* ================================================
   PRICING SECTION (Ø¨Ø®Ø´ ØªØ¹Ø±ÙÙ‡â€ŒÙ‡Ø§)
   ================================================ */

.pricing-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-header .section-desc {
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: center;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.pricing-card--pro {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.pricing-card--pro:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 16px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 16px;
}

.pricing-price span {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
  text-align: right;
}

.pricing-features li {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li i {
  color: #10b981;
  /* Green Check */
}

.pricing-features li.disabled {
  color: var(--gray-400);
  text-decoration: line-through;
}

.pricing-features li.disabled i {
  color: var(--gray-400);
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ================================================
   FAQ SECTION (Ø³ÙˆØ§Ù„Ø§Øª Ù…ØªØ¯Ø§ÙˆÙ„)
   ================================================ */

.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--gray-900);
  font-size: 1.05rem;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 0.95rem;
  transition: all 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
  opacity: 1;
  /* Ø¯Ø± Ø¬Ø§ÙˆØ§ Ø§Ø³Ú©Ø±ÛŒÙ¾Øª Ø¨Ø§ Ù…Ø­Ø§Ø³Ø¨Ù‡ Ø§Ø±ØªÙØ§Ø¹ØŒ max-height Ù…Ù‚Ø¯Ø§Ø±Ø¯Ù‡ÛŒ Ù…ÛŒâ€ŒØ´ÙˆØ¯ Ø§Ù…Ø§ ÛŒÚ© Ù…Ù‚Ø¯Ø§Ø± Ù¾ÛŒØ´â€ŒÙØ±Ø¶ Ø²ÛŒØ§Ø¯ Ù‡Ù… Ú©Ø§Ø± Ù…ÛŒâ€ŒÚ©Ù†Ø¯ */
  max-height: 500px;
}

/* Ø±ÙØ¹ Ù…Ø´Ú©Ù„ Ù…Ù‚ÛŒØ§Ø³ Ø¯Ø± Ù…ÙˆØ¨Ø§ÛŒÙ„ Ø¨Ø±Ø§ÛŒ Ø¨Ø®Ø´ Ù‚ÛŒÙ…Øªâ€ŒÙ‡Ø§ */

@media (max-width: 768px) {
  .pricing-card--pro {
    transform: scale(1);
  }
  .pricing-card--pro:hover {
    transform: translateY(-8px);
  }
}

/*  */

/* ================================================
   NEW MODERN ADDITIONS & FIXES
   ================================================ */

/* Service Cards - Hover Effect Enhancement */

.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 110, 180, 0.1);
}

/* Colors for new service icons */

.si-orange {
  color: #f97316;
  background: rgba(249, 115, 22, 0.1);
}

.si-pink {
  color: #ec4899;
  background: rgba(236, 72, 153, 0.1);
}

/* Why Us - 4 Grid Layout Fix */

.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 576px) {
  .why-cards {
    grid-template-columns: 1fr;
    /* Ø¯Ø± Ù…ÙˆØ¨Ø§ÛŒÙ„ Ø²ÛŒØ± Ù‡Ù… Ù‚Ø±Ø§Ø± Ù…ÛŒÚ¯ÛŒØ±Ù†Ø¯ */
  }
}

/* ================================================
   Ø§ØµÙ„Ø§Ø­ Ø¨Ø®Ø´ Ø®Ø¨Ø±Ù†Ø§Ù…Ù‡ Ø¯Ø± ÙÙˆØªØ±
   ================================================ */

/* Footer Newsletter (Modern Glassmorphism) */

.footer-newsletter {
  /* Ù…Ù‚Ø§Ø¯ÛŒØ± Ù…Ø®Ø±Ø¨ transform Ùˆ margin Ù…Ù†ÙÛŒ Ø­Ø°Ù Ø´Ø¯Ù†Ø¯ */
  margin-top: -10px;
  /* Ú©Ù…ÛŒ Ú©Ø´Ø´ Ù†Ø±Ù… Ø¨Ù‡ Ø¨Ø§Ù„Ø§ Ø¯Ø± ÙØ¶Ø§ÛŒ Ø®Ø§Ù„ÛŒ Ù¾Ø¯ÛŒÙ†Ú¯ ÙÙˆØªØ± */
  margin-bottom: 60px;
  /* Ø§ÛŒØ¬Ø§Ø¯ ÙØ¶Ø§ÛŒ ØªÙ†ÙØ³ Ø¯Ù‚ÛŒÙ‚ Ø¨ÛŒÙ† Ø®Ø¨Ø±Ù†Ø§Ù…Ù‡ Ùˆ Ù„ÛŒÙ†Ú©â€ŒÙ‡Ø§ÛŒ ÙÙˆØªØ± */
  position: relative;
  z-index: 10;
}

.newsletter-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.newsletter-text h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.newsletter-text p {
  color: var(--gray-300);
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-grow: 1;
  max-width: 500px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: none;
  outline: none;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-900);
  /* Ø§Ø¶Ø§ÙÙ‡ Ø´Ø¯Ù† Ø±Ù†Ú¯ Ù…ØªÙ† Ø¨Ø±Ø§ÛŒ Ø®ÙˆØ§Ù†Ø§ÛŒÛŒ Ø¨Ù‡ØªØ± */
}

.newsletter-form input::placeholder {
  color: var(--gray-500);
}

/* Ø±ÙØ¹ Ù…Ø´Ú©Ù„ ÙˆØ§Ú©Ù†Ø´â€ŒÚ¯Ø±Ø§ÛŒÛŒ Ø®Ø¨Ø±Ù†Ø§Ù…Ù‡ Ø¯Ø± Ù…ÙˆØ¨Ø§ÛŒÙ„ */

@media (max-width: 768px) {
  .newsletter-box {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .newsletter-form {
    width: 100%;
    flex-direction: column;
    max-width: 100%;
  }
  .newsletter-form .btn {
    width: 100%;
    /* Ø¯Ø± Ù…ÙˆØ¨Ø§ÛŒÙ„ Ø¯Ú©Ù…Ù‡ Ù‡Ù…â€ŒØ¹Ø±Ø¶ Ø§ÛŒÙ†Ù¾ÙˆØª Ù…ÛŒâ€ŒØ´ÙˆØ¯ */
  }
}

/* Footer Social Icons */

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  font-size: 1.2rem;
  text-decoration: none !important;
}

.footer-socials a:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

/* Floating WhatsApp Button (Modern Glass) */

.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  /* Ø¯Ú©Ù…Ù‡ Ø¨Ø§Ù„Ø§ Ø±ÙØªÙ† Ø³Ù…Øª Ú†Ù¾ Ø¨ÙˆØ¯ØŒ Ø§ÛŒÙ† Ø±Ø§ Ø³Ù…Øª Ø±Ø§Ø³Øª Ú¯Ø°Ø§Ø´ØªÙ… */
  width: 56px;
  height: 56px;
  background: rgba(37, 211, 102, 0.85);
  /* Ø³Ø¨Ø² ÙˆØ§ØªØ³Ø§Ù¾ Ø´ÙØ§Ù */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-whatsapp:hover {
  background: #25d366;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
  color: #fff;
}

/* Ø§Ù†ÛŒÙ…ÛŒØ´Ù† Ù¾Ø§Ù„Ø³ Ø¨Ø±Ø§ÛŒ ÙˆØ§ØªØ³Ø§Ù¾ */

.floating-whatsapp::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/*  */

/* ================================================
   FUN BANNER (Ø§Ù†ÛŒÙ…ÛŒØ´Ù† ØªØ¹Ø§Ù…Ù„ÛŒ Ø¯Ù†Ø¯Ø§Ù† ÙØ±Ø§Ø±ÛŒ)
   ================================================ */

.fun-banner {
  padding: 80px 0;
  background: var(--gray-50);
}

.fun-banner-inner {
  background: linear-gradient(
    135deg,
    var(--white) 0%,
    var(--primary-light) 100%
  );
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.fun-content {
  position: relative;
  z-index: 2;
}

.fun-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.4;
}

.fun-title span {
  color: #ef4444;
  /* Ø±Ù†Ú¯ Ù‚Ø±Ù…Ø² Ø¨Ø±Ø§ÛŒ Ú©Ù„Ù…Ù‡ ÙØ±Ø§Ø± */
  position: relative;
  display: inline-block;
}

.fun-title span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #ef4444;
  border-radius: 4px;
  opacity: 0.3;
}

.fun-desc {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 15px;
  line-height: 1.8;
}

/* Ø¨Ø§Ú©Ø³ Ù…Ø­ÛŒØ· Ø§Ù†ÛŒÙ…ÛŒØ´Ù† */

.fun-animation-box {
  position: relative;
  height: 200px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  direction: ltr;
  /* LTR Ø§Ø¬Ø¨Ø§Ø±ÛŒ Ø¨Ø±Ø§ÛŒ Ø§Ù†ÛŒÙ…ÛŒØ´Ù† ØªØ§ Ø¯Ø± ØªÙ…Ø§Ù… Ù…Ø±ÙˆØ±Ú¯Ø±Ù‡Ø§ ÛŒÚ©Ø³Ø§Ù† Ú†Ù¾â€ŒØ¨Ù‡â€ŒØ±Ø§Ø³Øª Ø¨Ø±ÙˆØ¯ */
  box-shadow: inset 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 2px solid var(--gray-100);
}

/* Ø®Ø· Ø²Ù…ÛŒÙ† (Ù…Ø³ÛŒØ± Ø¯ÙˆÛŒØ¯Ù†) */

.ground-line {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  border-bottom: 3px dashed var(--gray-300);
}

/* ØµØ­Ù†Ù‡ ØªØ¹Ù‚ÛŒØ¨ Ùˆ Ú¯Ø±ÛŒØ² */

.chase-scene {
  position: absolute;
  bottom: 30px;
  /* Ù…Ù…Ø§Ø³ Ø±ÙˆÛŒ Ø®Ø· Ø²Ù…ÛŒÙ† */
  left: 100%;
  /* Ø´Ø±ÙˆØ¹ Ø§Ø² Ø®Ø§Ø±Ø¬ Ú©Ø§Ø¯Ø± Ø³Ù…Øª Ø±Ø§Ø³Øª */
  display: flex;
  align-items: baseline;
  gap: 35px;
  /* ÙØ§ØµÙ„Ù‡ Ø¨ÛŒÙ† Ø¯Ù†Ø¯Ø§Ù†ØŒ Ø¢Ù…Ù¾ÙˆÙ„ Ùˆ Ø¯Ú©ØªØ± */
  animation: run-across 6s linear infinite;
  z-index: 2;
  white-space: nowrap;
}

/* Ø§Ø³ØªØ§ÛŒÙ„ Ù¾Ø§ÛŒÙ‡ Ø¢ÛŒÚ©ÙˆÙ†â€ŒÙ‡Ø§ */

.run-icon {
  position: relative;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.15));
}

/* 1. Ø¯Ù†Ø¯Ø§Ù† Ø¯Ø± Ø­Ø§Ù„ ÙØ±Ø§Ø± */

.runner-tooth {
  font-size: 3.5rem;
  color: var(--primary);
  animation: panic-bounce 0.3s ease infinite alternate;
}

/* Ù‚Ø·Ø±Ù‡ Ø¹Ø±Ù‚ Ø±ÙˆÛŒ Ø¯Ù†Ø¯Ø§Ù† */

.sweat-drop {
  position: absolute;
  top: -10px;
  right: -15px;
  color: #0ea5e9;
  font-size: 1.2rem;
  animation: sweat-fly 0.3s ease infinite alternate;
}

/* 2. Ø¢Ù…Ù¾ÙˆÙ„ */

.chaser-syringe {
  font-size: 2.8rem;
  color: #ef4444;
  transform: scaleX(-1);
  animation: stab-bounce 0.4s ease infinite alternate 0.1s;
}

/* 3. Ù¾Ø²Ø´Ú© */

.chaser-doctor {
  font-size: 3.8rem;
  color: var(--gray-800);
  animation: doctor-run 0.4s ease infinite alternate 0.2s;
}

/* ================= Keyframes (Ù…ÙˆØªÙˆØ± Ø§Ù†ÛŒÙ…ÛŒØ´Ù†â€ŒÙ‡Ø§) ================= */

/* Ø­Ø±Ú©Øª Ú©Ù„ Ú¯Ø±ÙˆÙ‡ Ø§Ø² Ø±Ø§Ø³Øª Ø¨Ù‡ Ú†Ù¾ */

@keyframes run-across {
  0% {
    left: 100%;
  }
  100% {
    left: -70%;
  }
  /* Ø®Ø±ÙˆØ¬ Ú©Ø§Ù…Ù„ Ø§Ø² Ú©Ø§Ø¯Ø± Ø³Ù…Øª Ú†Ù¾ */
}

/* Ù¾Ø±Ø´ ÙˆØ­Ø´Øªâ€ŒØ²Ø¯Ù‡ Ø¯Ù†Ø¯Ø§Ù† */

@keyframes panic-bounce {
  0% {
    transform: translateY(0) rotate(15deg);
  }
  100% {
    transform: translateY(-30px) rotate(25deg);
  }
}

/* Ù¾Ø±ØªØ§Ø¨ Ù‚Ø·Ø±Ù‡ Ø¹Ø±Ù‚ Ø¨Ù‡ Ø¹Ù‚Ø¨ */

@keyframes sweat-fly {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(15px, -20px) scale(0.5);
    opacity: 0;
  }
}

/* Ù¾Ø±Ø´ Ùˆ ØªÚ©Ø§Ù† Ø®ÙˆØ±Ø¯Ù† Ø¢Ù…Ù¾ÙˆÙ„ */

@keyframes stab-bounce {
  0% {
    transform: scaleX(-1) rotate(-120deg) translateY(0);
  }
  100% {
    transform: scaleX(-1) rotate(-120deg) translateY(-15px);
  }
}

/* Ø¯ÙˆÛŒØ¯Ù† Ù¾Ø²Ø´Ú© */

@keyframes doctor-run {
  0% {
    transform: translateY(0) rotate(-5deg);
  }
  100% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* ================= ÙˆØ§Ú©Ù†Ø´â€ŒÚ¯Ø±Ø§ÛŒÛŒ (Mobile) ================= */

@media (max-width: 992px) {
  .fun-banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 24px;
    gap: 32px;
  }
  .fun-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .fun-animation-box {
    height: 160px;
    /* Ø¯Ø± Ù…ÙˆØ¨Ø§ÛŒÙ„ Ú©Ù…ÛŒ Ø¬Ù…Ø¹â€ŒÙˆØ¬ÙˆØ±ØªØ± */
  }
  .runner-tooth {
    font-size: 2.8rem;
  }
  .chaser-syringe {
    font-size: 2.2rem;
  }
  .chaser-doctor {
    font-size: 3rem;
  }
}

/*  */

/* ================================================
   MAGIC FACTORY (Ø§Ù†ÛŒÙ…ÛŒØ´Ù† ØªØ¨Ø¯ÛŒÙ„ Ù…Ø´Ú©Ù„Ø§Øª Ø¨Ù‡ Ø±Ø§Ù‡ Ø­Ù„)
   ================================================ */

.magic-factory-banner {
  padding: 80px 0;
  background: var(--white);
}

.factory-inner {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: 48px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.factory-header {
  margin-bottom: 40px;
}

.factory-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.factory-header h2 span {
  color: var(--primary);
}

.factory-header p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Ù…Ø­ÛŒØ· Ø§Ù†ÛŒÙ…ÛŒØ´Ù† */

.factory-animation-box {
  position: relative;
  height: 220px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-100);
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  direction: rtl;
  /* Ø¬Ø±ÛŒØ§Ù† Ø§Ø² Ø±Ø§Ø³Øª Ø¨Ù‡ Ú†Ù¾ */
}

/* Ù†ÙˆØ§Ø± Ù†Ù‚Ø§Ù„Ù‡ */

.conveyor-belt {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gray-300) 50%, transparent 50%);
  background-size: 30px 4px;
  animation: belt-move 1s linear infinite;
  z-index: 1;
}

/* Ø¯Ø³ØªÚ¯Ø§Ù‡ Ù…Ø±Ú©Ø²ÛŒ (Ù„Ù¾â€ŒØªØ§Ù¾) */

.central-machine {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Ù…Ø±Ú©Ø² Ø¯Ù‚ÛŒÙ‚ */
  z-index: 10;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(12, 139, 136, 0.2);
}

.machine-main {
  font-size: 4.5rem;
  color: var(--primary);
  position: relative;
  z-index: 2;
}

/* Ú†Ø±Ø®â€ŒØ¯Ù†Ø¯Ù‡â€ŒÙ‡Ø§ */

.central-machine .gear {
  position: absolute;
  color: var(--secondary);
  opacity: 0.8;
  z-index: 1;
}

.gear-left {
  font-size: 1.5rem;
  top: 15px;
  left: 10px;
  animation: spin 3s linear infinite reverse;
}

.gear-right {
  font-size: 2rem;
  bottom: 20px;
  right: 5px;
  animation: spin 4s linear infinite;
}

.machine-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.1;
  animation: pulse-glow 1.5s ease-in-out infinite alternate;
}

/* Ø¢ÛŒØªÙ…â€ŒÙ‡Ø§ÛŒ Ø±ÙˆÛŒ Ù†ÙˆØ§Ø± Ù†Ù‚Ø§Ù„Ù‡ */

.factory-item {
  position: absolute;
  top: 50%;
  right: -10%;
  /* Ø´Ø±ÙˆØ¹ Ø§Ø² Ø¨ÛŒØ±ÙˆÙ† Ú©Ø§Ø¯Ø± Ø³Ù…Øª Ø±Ø§Ø³Øª */
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  z-index: 5;
  /* Ø¹Ø¨ÙˆØ± Ø¢ÛŒØªÙ… Ø§Ø² Ø±Ø§Ø³Øª Ø¨Ù‡ Ú†Ù¾ Ø¯Ø± 9 Ø«Ø§Ù†ÛŒÙ‡ */
  animation: move-on-belt 9s linear infinite;
}

/* Ø²Ù…Ø§Ù†â€ŒØ¨Ù†Ø¯ÛŒ ÙˆØ±ÙˆØ¯ Ø¢ÛŒØªÙ…â€ŒÙ‡Ø§ Ø¨Ø§ ÙØ§ØµÙ„Ù‡ 3 Ø«Ø§Ù†ÛŒÙ‡ Ø§Ø² Ù‡Ù… */

.item-1 {
  animation-delay: 0s;
}

.item-2 {
  animation-delay: -3s;
}

.item-3 {
  animation-delay: -6s;
}

/* Ø¢ÛŒÚ©ÙˆÙ†â€ŒÙ‡Ø§ÛŒ Ø¯Ø§Ø®Ù„ Ø¢ÛŒØªÙ… (Ø­Ø§Ù„Øª Ø¨Ø¯ Ùˆ Ø®ÙˆØ¨ Ø±ÙˆÛŒ Ù‡Ù… Ù‚Ø±Ø§Ø± Ø¯Ø§Ø±Ù†Ø¯) */

.factory-item i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
}

/* Ø­Ø§Ù„Øª Ù…Ø´Ú©Ù„ (Ø³Ù…Øª Ø±Ø§Ø³Øª Ø¯Ø³ØªÚ¯Ø§Ù‡) */

.bad-side {
  color: #ef4444;
  /* Ù‚Ø±Ù…Ø² Ù‡Ø´Ø¯Ø§Ø± */
  animation: switch-to-bad 9s infinite;
}

/* Ø­Ø§Ù„Øª Ù…ÙˆÙÙ‚ÛŒØª (Ø³Ù…Øª Ú†Ù¾ Ø¯Ø³ØªÚ¯Ø§Ù‡) */

.good-side {
  color: #10b981;
  /* Ø³Ø¨Ø² Ù…ÙˆÙÙ‚ÛŒØª */
  animation: switch-to-good 9s infinite;
}

.item-1 .bad-side {
  animation-delay: 0s;
}

.item-1 .good-side {
  animation-delay: 0s;
}

.item-2 .bad-side {
  animation-delay: -3s;
}

.item-2 .good-side {
  animation-delay: -3s;
}

.item-3 .bad-side {
  animation-delay: -6s;
}

.item-3 .good-side {
  animation-delay: -6s;
}

/* ================= KEYFRAMES Ø§ÛŒØ¯Ù‡ Ø¯ÙˆÙ… ================= */

/* Ø­Ø±Ú©Øª Ù†ÙˆØ§Ø± Ù†Ù‚Ø§Ù„Ù‡ Ø¨Ù‡ Ø³Ù…Øª Ú†Ù¾ */

@keyframes belt-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -30px 0;
  }
}

/* Ú†Ø±Ø®Ø´ Ú†Ø±Ø®â€ŒØ¯Ù†Ø¯Ù‡â€ŒÙ‡Ø§ */

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Ù‡Ø§Ù„Ù‡ Ø¯Ø±Ø®Ø´Ø§Ù† Ø¯Ø³ØªÚ¯Ø§Ù‡ */

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    opacity: 0.1;
  }
  100% {
    transform: scale(1.3);
    opacity: 0.25;
  }
}

/* Ø­Ø±Ú©Øª Ú©Ù„ÛŒ Ø¢ÛŒØªÙ… Ø§Ø² Ø±Ø§Ø³Øªâ€ŒØªØ±ÛŒÙ† Ù†Ù‚Ø·Ù‡ Ø¨Ù‡ Ú†Ù¾â€ŒØªØ±ÛŒÙ† Ù†Ù‚Ø·Ù‡ */

@keyframes move-on-belt {
  0% {
    right: -10%;
  }
  100% {
    right: 110%;
  }
}

/* Ù†Ù…Ø§ÛŒØ´ Ø¢ÛŒÚ©ÙˆÙ† Ø¨Ø¯ ÙÙ‚Ø· ØªØ§ Ù‚Ø¨Ù„ Ø§Ø² Ø±Ø³ÛŒØ¯Ù† Ø¨Ù‡ Ø¯Ø³ØªÚ¯Ø§Ù‡ (Ø¯Ø± 50% Ù…Ø­Ùˆ Ù…ÛŒâ€ŒØ´ÙˆØ¯) */

@keyframes switch-to-bad {
  0%,
  45% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
}

/* Ù†Ù…Ø§ÛŒØ´ Ø¢ÛŒÚ©ÙˆÙ† Ø®ÙˆØ¨ ÙÙ‚Ø· Ø¨Ø¹Ø¯ Ø§Ø² Ø®Ø±ÙˆØ¬ Ø§Ø² Ø¯Ø³ØªÚ¯Ø§Ù‡ (Ø¯Ø± 50% Ø¸Ø§Ù‡Ø± Ù…ÛŒâ€ŒØ´ÙˆØ¯) */

@keyframes switch-to-good {
  0%,
  48% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  52%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ÙˆØ§Ú©Ù†Ø´â€ŒÚ¯Ø±Ø§ÛŒÛŒ Ø¨Ø±Ø§ÛŒ Ù…ÙˆØ¨Ø§ÛŒÙ„ */

@media (max-width: 768px) {
  .factory-animation-box {
    height: 160px;
  }
  .central-machine {
    width: 90px;
    height: 90px;
  }
  .machine-main {
    font-size: 3rem;
  }
  .factory-item i {
    font-size: 2rem;
  }
}
