/* =====================================================
   تاج الحياء | Taj Alhaya — Premium Medical Corporate
   ===================================================== */

/* GE SS Two — جميع الأوزان المتوفرة */
@font-face {
  font-family: "GE SS Two";
  src: url("../assets/fonts/gess-two-light.woff2") format("woff2"),
       url("../assets/fonts/gess-two-light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GE SS Two";
  src: url("../assets/fonts/gess-two-medium.woff2") format("woff2"),
       url("../assets/fonts/gess-two-medium.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GE SS Two";
  src: url("../assets/fonts/gess-two-medium.woff2") format("woff2"),
       url("../assets/fonts/gess-two-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GE SS Two";
  src: url("../assets/fonts/gess-two-bold.woff2") format("woff2"),
       url("../assets/fonts/gess-two-bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GE SS Two";
  src: url("../assets/fonts/gess-two-bold.woff2") format("woff2"),
       url("../assets/fonts/gess-two-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GE SS Two";
  src: url("../assets/fonts/gess-two-bold.woff2") format("woff2"),
       url("../assets/fonts/gess-two-bold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* إبقاء الأرقام إنجليزية (0-9) وليس عربية (٠-٩) */
@font-face {
  font-family: "GE SS Two";
  src: local("Tahoma"), local("Arial"), local("Helvetica Neue"), local("Helvetica");
  unicode-range: U+0030-0039, U+002B, U+002F, U+0025, U+002E, U+002C, U+003A;
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #1a9ee8;
  --primary-dark: #0d7fc0;
  --primary-light: #5dbcff;
  --primary-soft: rgba(26, 158, 232, 0.08);
  --primary-glow: rgba(26, 158, 232, 0.25);
  --charcoal: #3d3d3d;
  --charcoal-deep: #2a2a2a;
  --text: #3a4650;
  --text-muted: #5a6670;
  --white: #ffffff;
  --off-white: #f7fafc;
  --bg-soft: #f0f7fc;
  --border: rgba(26, 158, 232, 0.12);
  --shadow-sm: 0 4px 20px rgba(13, 50, 80, 0.06);
  --shadow-md: 0 12px 40px rgba(13, 50, 80, 0.1);
  --shadow-lg: 0 24px 60px rgba(13, 50, 80, 0.14);
  --shadow-glow: 0 8px 32px rgba(26, 158, 232, 0.3);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: "GE SS Two", "Tahoma", sans-serif;
}

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

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

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* منع تحويل الأرقام إلى الشكل العربي داخل خط GE SS Two */
  font-feature-settings: "locl" 0;
  -webkit-font-feature-settings: "locl" 0;
}

/* أرقام إنجليزية دائماً */
.latin-nums,
.stat-num,
.counter,
.suffix,
.step-num,
.about-exp-badge .num,
#year {
  font-variant-numeric: lining-nums;
  font-feature-settings: "locl" 0;
  -webkit-font-feature-settings: "locl" 0;
  unicode-bidi: isolate;
  direction: ltr;
}

p,
.lead,
.section-header p,
.product-card p,
.why-card p,
.about-content p,
.timeline-item p,
.cta-content p,
.footer-brand p {
  color: var(--text);
  opacity: 1;
  visibility: visible;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--charcoal-deep);
  line-height: 1.35;
}

.section-padding {
  padding: 100px 0;
}

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

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  width: 80px;
  height: auto;
  margin: 0 auto 20px;
  animation: pulse-logo 1.4s ease-in-out infinite;
}

.loader-bar {
  width: 120px;
  height: 3px;
  background: var(--bg-soft);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  animation: load-slide 1.2s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

@keyframes load-slide {
  0% { transform: translateX(200%); }
  100% { transform: translateX(-250%); }
}

/* ---------- Navbar ---------- */
.navbar-premium {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 8px 0;
  min-height: 64px;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.navbar-premium.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 18px rgba(13, 50, 80, 0.06);
  padding: 6px 0;
  min-height: 58px;
  border-bottom: 1px solid var(--border);
}

.navbar-premium .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  min-height: 48px;
}

.navbar-premium .navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  z-index: 2;
  position: relative;
}

.navbar-premium .brand-logo {
  height: 40px;
  width: auto;
  transition: var(--transition);
}

.navbar-premium.scrolled .brand-logo {
  height: 36px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text .ar {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal-deep);
  white-space: nowrap;
}

.navbar-premium .navbar-collapse {
  flex-grow: 1;
}

.navbar-premium .navbar-nav {
  gap: 2px;
  align-items: center;
  justify-content: center;
}

.navbar-premium .nav-item {
  margin: 0;
}

.navbar-premium .nav-link {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--charcoal) !important;
  padding: 6px 10px !important;
  position: relative;
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
}

.navbar-premium .nav-link::after {
  content: "";
  position: absolute;
  bottom: 1px;
  right: 10px;
  left: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-premium .nav-link:hover::after,
.navbar-premium .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-premium .nav-link:hover,
.navbar-premium .nav-link.active {
  color: var(--primary) !important;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 16px !important;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 14px rgba(26, 158, 232, 0.25);
  transition: var(--transition);
  line-height: 1.3;
  white-space: nowrap;
  z-index: 2;
  position: relative;
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(26, 158, 232, 0.35);
  color: var(--white) !important;
}

.btn-nav::after {
  display: none !important;
}

.navbar-toggler {
  border: none;
  padding: 4px;
  margin: 0;
  box-shadow: none !important;
  z-index: 2;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 1.3em;
  height: 1.3em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233d3d3d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Desktop: brand right, links center, CTA left */
@media (min-width: 992px) {
  .navbar-premium .navbar-collapse {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    flex-grow: 0;
    display: flex !important;
    justify-content: center;
  }

  .navbar-premium .navbar-nav {
    flex-direction: row;
    width: auto;
  }

  .navbar-premium .nav-cta-desktop {
    margin: 0;
  }
}

/* ---------- Buttons ---------- */
.btn-primary-grad {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary-grad::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.btn-primary-grad:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(26, 158, 232, 0.45);
  color: var(--white);
}

.btn-primary-grad:hover::before {
  opacity: 1;
}

.btn-outline-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  color: var(--charcoal-deep);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid rgba(26, 158, 232, 0.25);
  transition: var(--transition);
}

.btn-outline-premium:hover {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-badge i {
  font-size: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text) !important;
  margin: 0;
  opacity: 1 !important;
}

.section-header .divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 3px;
  margin: 0 auto 18px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 72px;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.92) 42%,
      rgba(240, 248, 255, 0.75) 65%,
      rgba(26, 158, 232, 0.15) 100%);
  z-index: 1;
}

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

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

.hero-shapes .s1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  top: -100px;
  left: -80px;
  animation: float-shape 12s ease-in-out infinite;
}

.hero-shapes .s2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(93, 188, 255, 0.3), transparent 70%);
  bottom: 10%;
  right: 5%;
  animation: float-shape 15s ease-in-out infinite reverse;
}

.hero-shapes .s3 {
  width: 160px;
  height: 160px;
  border: 2px solid rgba(26, 158, 232, 0.15);
  top: 30%;
  left: 40%;
  animation: float-shape 10s ease-in-out infinite 2s;
}

@keyframes float-shape {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -25px); }
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--charcoal-deep);
  margin-bottom: 20px;
  max-width: 620px;
}

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

.hero .lead {
  font-size: 1.1rem;
  color: var(--charcoal) !important;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.9;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

.hero-trust-item i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 10px;
  font-size: 0.9rem;
}

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

.hero-glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  position: relative;
}

.hero-glass-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(26,158,232,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-illustration {
  width: 100%;
  height: auto;
}

.hero-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--charcoal-deep);
  animation: float-badge 4s ease-in-out infinite;
}

.hero-float-badge i {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 10px;
  font-size: 0.85rem;
}

.hero-float-badge.b1 {
  top: 8%;
  right: -10px;
  animation-delay: 0s;
}

.hero-float-badge.b2 {
  bottom: 18%;
  left: -20px;
  animation-delay: 1.5s;
}

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

/* ---------- About ---------- */
.about {
  background: var(--white);
  position: relative;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrap .about-img-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #e8f4fc 0%, #c5e6f8 40%, #8fd0f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image-wrap svg {
  width: 70%;
  max-width: 280px;
  opacity: 0.95;
}

.about-exp-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border);
}

.about-exp-badge .num {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.about-exp-badge .lbl {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-content .section-badge {
  margin-bottom: 14px;
}

.about-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 18px;
}

.about-content > p {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: var(--text);
}

.about-content .about-extra {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding: 16px 18px;
  background: var(--primary-soft);
  border-right: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--transition);
}

.about-feat:hover {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.about-feat .icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 12px;
  font-size: 1rem;
}

.about-feat h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.about-feat p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Products ---------- */
.products {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
  position: relative;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  height: 100%;
  border: 1px solid rgba(26, 158, 232, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 158, 232, 0.2);
}

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

.product-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  border-radius: 18px;
  margin-bottom: 22px;
  transition: var(--transition);
}

.product-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card:hover .product-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: var(--shadow-glow);
}

.product-card:hover .product-icon svg {
  stroke: white;
}

.product-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

/* ---------- Why Choose Us ---------- */
.why-us {
  background: var(--white);
}

.why-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--off-white);
  border-radius: var(--radius);
  height: 100%;
  border: 1px solid transparent;
  transition: var(--transition);
}

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

.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--primary-soft), rgba(93, 188, 255, 0.15));
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.5rem;
  transition: var(--transition);
  position: relative;
}

.why-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(26, 158, 232, 0.2);
  animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: var(--shadow-glow);
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Stats ---------- */
.stats {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a6fa8 0%, #1a9ee8 50%, #5dbcff 100%);
  z-index: 0;
}

.stats-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%);
}

.stats-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: 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='1'%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");
  z-index: 1;
}

.stats .container {
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-item .stat-num {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-item .stat-num .suffix {
  font-size: 0.7em;
}

.stat-item .stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Partners ---------- */
.partners {
  background: var(--off-white);
  padding: 70px 0;
}

.partner-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  padding: 0 20px;
}

.partner-logo {
  width: 140px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding: 12px 16px;
}

.partner-logo:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--border);
}

.partner-logo svg {
  max-width: 100%;
  max-height: 40px;
  opacity: 0.55;
  transition: var(--transition);
}

.partner-logo:hover svg {
  opacity: 0.9;
}

.partners .swiper {
  padding: 10px 0 20px;
}

/* ---------- Process Timeline ---------- */
.process {
  background: var(--white);
  position: relative;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 48px;
  right: 8%;
  left: 8%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
  border-radius: 3px;
  z-index: 0;
}

.timeline-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 3px solid var(--primary-light);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.timeline-dot .step-num {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.timeline-item:hover .timeline-dot {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: var(--shadow-glow);
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a5080 0%, #1a9ee8 60%, #4db8f0 100%);
  z-index: 0;
}

.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(255,255,255,0.12) 0%, transparent 55%),
    radial-gradient(circle at 90% 20%, rgba(255,255,255,0.1) 0%, transparent 40%);
}

.cta-shapes svg {
  position: absolute;
  opacity: 0.1;
  z-index: 1;
}

.cta-shapes .c1 {
  width: 300px;
  top: -40px;
  left: -40px;
  animation: float-shape 14s ease-in-out infinite;
}

.cta-shapes .c2 {
  width: 200px;
  bottom: -30px;
  right: 10%;
  animation: float-shape 11s ease-in-out infinite reverse;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
  color: var(--primary);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
  transform: translateY(-3px);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
}

.footer-brand .footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
  background: transparent;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 2px;
  background: var(--primary-light);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-links a i {
  font-size: 0.65rem;
  color: var(--primary-light);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.footer-contact li i {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 158, 232, 0.15);
  color: var(--primary-light);
  border-radius: 10px;
  font-size: 0.9rem;
}

.footer-contact a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 50px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom span {
  color: var(--primary-light);
}

/* ---------- Floating Buttons ---------- */
.float-btns {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.whatsapp-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-wa 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  color: white;
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.15); }
}

.back-to-top {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  font-size: 1rem;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  color: white;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 16px;
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 70px 0;
  }

  .hero {
    padding: 96px 0 60px;
    min-height: auto;
  }

  .hero-visual {
    margin-top: 48px;
  }

  .hero-float-badge.b1 {
    right: 0;
  }

  .hero-float-badge.b2 {
    left: 0;
  }

  .navbar-premium .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    margin-top: 8px;
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
  }

  .navbar-premium .navbar-nav {
    gap: 2px;
    align-items: stretch !important;
    flex-direction: column;
  }

  .navbar-premium .nav-link {
    padding: 10px 12px !important;
    font-size: 0.92rem;
  }

  .navbar-premium .nav-link::after {
    display: none;
  }

  .navbar-premium .nav-cta-mobile {
    display: flex !important;
    width: 100%;
    margin-top: 8px;
    padding: 10px 16px !important;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-image-wrap {
    margin-bottom: 40px;
    max-width: 420px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn-primary-grad,
  .hero-btns .btn-outline-premium {
    width: 100%;
    justify-content: center;
  }

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

  .float-btns {
    bottom: 20px;
    left: 16px;
  }

  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .about-exp-badge {
    bottom: 16px;
    left: 16px;
    padding: 14px 18px;
  }

  .cta {
    padding: 70px 0;
  }

  .cta-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-cta-white,
  .btn-cta-outline {
    justify-content: center;
  }

  .footer {
    text-align: center;
  }

  .footer-col-links,
  .footer-col-products {
    display: none !important;
  }

  .footer h4::after {
    right: 50%;
    transform: translateX(50%);
  }

  .footer-contact li {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links a {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .timeline {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .brand-text {
    display: none;
  }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

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

/* English mode helpers */
body[dir="ltr"] .footer h4::after {
  right: auto;
  left: 0;
}

body[dir="ltr"] .about-content .about-extra {
  border-right: none;
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

body[dir="ltr"] .footer-links a:hover {
  padding-right: 0;
  padding-left: 4px;
}

body[dir="ltr"] .timeline-dot .step-num {
  left: auto;
  right: -6px;
}

body[dir="ltr"] .float-btns {
  left: auto;
  right: 28px;
}

@media (max-width: 767.98px) {
  body[dir="ltr"] .float-btns {
    right: 16px;
  }
}

/* ---------- Force readable content (AOS must never hide body text) ---------- */
[data-aos] {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Keep a light entrance motion without hiding text */
[data-aos="fade-up"] {
  transform: translate3d(0, 0, 0) !important;
}
[data-aos="fade-down"] {
  transform: translate3d(0, 0, 0) !important;
}
[data-aos="fade-left"],
[data-aos="fade-right"],
[data-aos="zoom-in"] {
  transform: none !important;
}

html.aos-fallback [data-aos],
html.aos-fallback [data-aos][data-aos] {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

.product-card p,
.why-card p,
.timeline-item p,
.about-feat p,
.about-extra,
.hero .lead,
.section-header p,
.about-content > p,
.cta-content p,
.footer-brand p {
  color: #3a4650 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Never leave preloader stuck forever */
#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
