:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --surface-2: #f7faff;
  --text: #3d5a68;
  --muted: #667892;
  --line: #d8e2ee;
  --accent: #00c2e7;
  --accent-2: #3d5a68;
  --dark: #2f4956;
  --radius: 12px;
  --shadow-sm: 0 8px 20px rgba(22, 45, 74, 0.06);
  --shadow-md: 0 18px 40px rgba(19, 42, 69, 0.1);

  /* Global font controls */
  --font-body-family: Inter, Arial, sans-serif;
  --font-heading-family: Rajdhani, Inter, sans-serif;
  --font-body-size: 16px;
  --font-body-color: #3d5a68;

  /* Product model table controls */     
  --model-table-font-family: Inter, Arial, sans-serif;
  --model-table-font-size: 0.92rem;
  --model-table-font-color: #3d5a68;
  --model-table-header-font-family: Rajdhani, Inter, sans-serif;
  --model-table-header-font-size: 0.86rem;
  --model-table-header-font-color: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body-family);
  font-size: var(--font-body-size);
  color: var(--font-body-color);
  background: linear-gradient(180deg, #f7faff 0%, #eef3fa 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading-family);
  letter-spacing: 0.3px;
  line-height: 1.15;
}

.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--muted);
  padding: 10px 0;
}

.top-left {
  display: flex;
  gap: 18px;
}

.top-right a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(30, 53, 85, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  text-decoration: none;
}

.brand-mark {
  background: linear-gradient(135deg, #00c2e7, #00a6c7);
  color: #083946;
  font-weight: 800;
  padding: 8px 11px;
  border-radius: 8px;
}

.brand-text {
  font-weight: 700;
  font-size: 1.14rem;
}

.brand-logo {
  height: 38px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-links a,
.mega-trigger {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  border-radius: 10px;
  padding: 11px 18px;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #00c2e7, #00a8cb);
  color: #053743;
  box-shadow: 0 10px 22px rgba(0, 194, 231, 0.28);
  border: none;
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: #f5f9ff;
}

.btn-link {
  color: var(--accent-2);
  border: none;
  background: transparent;
  padding-inline: 0;
}

.full {
  width: 100%;
}

.nav-btn {
  padding: 10px 14px;
}

.lang-toggle {
  min-width: 54px;
}

.has-mega {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -120px;
  width: 860px;
  max-width: calc(100vw - 24px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: 0.2s ease;
}

.has-mega.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-col h4 {
  color: var(--dark);
  margin-bottom: 10px;
}

.mega-col a {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.mega-col p {
  color: var(--muted);
  margin-bottom: 10px;
}

.hero.section {
  min-height: calc(100vh - 122px);
  display: flex;
  align-items: center;
  padding: 36px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.1vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.subtext {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-stats div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.hero-stats strong {
  display: block;
  color: var(--dark);
  font-size: 1.24rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.hero-slider {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  background: #eaf1fa;
}

.hero-slide {
  display: none;
  position: relative;
}

.hero-slide.active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: clamp(210px, 28vw, 290px);
  object-fit: cover;
  display: block;
}

.hero-slide-caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: rgba(12, 20, 34, 0.62);
  color: #fff;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
}

.hero-slide-caption p {
  margin: 0;
}

.hero-slide-details-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-slider-dots {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  gap: 6px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.hero-dot.active {
  background: var(--accent);
}

.hero-panel h3 {
  margin-bottom: 12px;
}

.about-hero .subtext {
  max-width: 74ch;
  font-size: 1.03rem;
}

.about-hero-media {
  margin-top: 8px;
  padding: 12px;
  box-shadow: var(--shadow-md);
}

.about-hero-image {
  width: 100%;
  margin: 0;
  height: clamp(260px, 34vw, 420px);
  border: 0;
  border-radius: 10px;
}

.about-page .section:first-of-type {
  padding-top: 64px;
}

.about-page h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 10px;
}

.inquiry-mini,
.inquiry-form {
  display: grid;
  gap: 10px;
}

label {
  font-size: 0.87rem;
  color: var(--muted);
  display: grid;
  gap: 5px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 8px;
  padding: 11px 12px;
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus,
.filter-btn:focus {
  outline: 2px solid #8fe8f7;
  border-color: #00c2e7;
}

textarea {
  min-height: 110px;
}

.partners {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7faff 0%, #f2f7fd 100%);
}

.logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 18px 0;
}

.logos p {
  color: #36516a;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #cfe4f2;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.87rem;
}

.partners-head {
  display: grid;
  gap: 3px;
}

.partners-head span {
  color: var(--dark);
  font-weight: 700;
}

.partners-head small {
  color: var(--muted);
  font-size: 0.8rem;
}

.partners-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partners-proof {
  color: #2e5767;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid #b7eaf4;
  background: #eaf8fc;
  padding: 6px 10px;
  border-radius: 999px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.9vw, 2.25rem);
}

.text-link {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 700;
}

.catalog .section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  background: #eaf8fc;
  color: var(--dark);
  border: 1px solid #b6eaf4;
  border-radius: 999px;
  padding: 7px 12px;
  margin-bottom: 8px;
}

.about .eyebrow {
  display: inline-flex;
  align-items: center;
  background: #eaf8fc;
  color: var(--dark);
  border: 1px solid #b6eaf4;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.inquiry .eyebrow {
  display: inline-flex;
  align-items: center;
  background: #eaf8fc;
  color: var(--dark);
  border: 1px solid #b6eaf4;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #053743;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: 0.22s ease;
}

.product-image {
  width: calc(100% + 36px);
  margin: -18px -18px 4px;
  height: 170px;
  object-fit: cover;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  border-bottom: 1px solid var(--line);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-card.hidden {
  display: none;
}

.tag {
  width: fit-content;
  background: #edf4ff;
  border: 1px solid #b7cfef;
  color: #2a4e80;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.78rem;
}

.product-card p,
.product-card li,
.about p,
.site-footer p {
  color: var(--muted);
}

.product-card ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.trust {
  background: linear-gradient(180deg, #f7faff 0%, #f3f8fe 100%);
}

.trust-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  margin-bottom: 16px;
}

.trust-head {
  margin-bottom: 16px;
}

.trust-head .eyebrow {
  font-size: 0.92rem;
  padding: 8px 14px;
  border: 1px solid #b6eaf4;
  background: #eaf8fc;
  border-radius: 999px;
  width: fit-content;
}

.trust-head h2 {
  font-size: clamp(1.45rem, 3.1vw, 2.2rem);
  line-height: 1.05;
  color: var(--dark);
  margin-top: 10px;
}

.trust-intro {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 18px;
}

.trust-lead {
  color: var(--muted);
  margin-bottom: 14px;
}

.trust-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.trust-kpis div {
  background: #f4fbff;
  border: 1px solid #cceef6;
  border-radius: 10px;
  padding: 10px;
}

.trust-kpis strong {
  display: block;
  color: var(--dark);
  font-size: 1.2rem;
}

.trust-kpis span {
  color: var(--muted);
  font-size: 0.85rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 0;
}

.trust-grid article,
.metric-cards div,
.inquiry-wrap {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.trust-grid article {
  padding: 18px;
}

.certificate-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.certificate-strip span {
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f8ff;
  font-size: 0.85rem;
  font-weight: 600;
  color: #47617f;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
}

.about-gallery-image {
  width: 100%;
  margin: 0;
  height: 150px;
  border-radius: 10px;
}

.about-page .trust-grid article {
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.about-page .trust-grid article h3 {
  color: var(--dark);
  font-size: 1.38rem;
}

.about-page .about-grid > div:first-child {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.about-page .metric-cards div {
  min-height: 108px;
}

.about-page .inquiry-wrap {
  box-shadow: var(--shadow-md);
}

.metric-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-cards div {
  padding: 16px;
}

.metric-cards strong {
  display: block;
  color: var(--dark);
  font-size: 1.42rem;
}

.metric-cards span {
  color: var(--muted);
}

.inquiry-wrap {
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f9fbff;
  padding: 36px 0 20px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.footer-brand h3 {
  margin-bottom: 8px;
}

.footer-brand p {
  margin-bottom: 12px;
}

.footer-col {
  display: grid;
  gap: 8px;
}

.footer-col h4 {
  color: var(--dark);
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--accent-2);
}

.inquiry-mini a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.floating-inquiry {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  background: linear-gradient(135deg, #25d366, #1fb455);
  color: #08321a;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 14px 26px rgba(37, 211, 102, 0.35);
}

@media (min-width: 1280px) {
  .container {
    width: min(1280px, 90%);
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
  }

  .product-grid {
    gap: 18px;
  }
}

@media (max-width: 1180px) {
  .mega-menu {
    width: min(760px, 92vw);
    left: -250px;
  }

  [dir="rtl"] .mega-menu {
    left: auto;
    right: -250px;
  }
}

[dir="rtl"] body,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] button {
  font-family: Inter, Arial, sans-serif;
}

[dir="rtl"] .top-left {
  flex-direction: row-reverse;
}

[dir="rtl"] .mega-menu {
  left: auto;
  right: -120px;
}

[dir="rtl"] .floating-inquiry {
  right: auto;
  left: 16px;
}

[dir="rtl"] .hero-slider-dots {
  right: auto;
  left: 10px;
}

@media (max-width: 1000px) {
  .hero.section {
    min-height: auto;
    padding: 60px 0;
  }

  .hero-grid,
  .about-grid,
  .inquiry-wrap,
  .footer-main,
  .trust-layout {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega-menu {
    width: min(760px, 94vw);
    left: -200px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [dir="rtl"] .mega-menu {
    left: auto;
    right: -200px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }

  .top-bar {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 4%;
    width: min(360px, 92%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  [dir="rtl"] .nav-links {
    right: auto;
    left: 4%;
  }

  .mega-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    transform: none;
    border-radius: 8px;
    grid-template-columns: 1fr;
    box-shadow: none;
  }

  .has-mega {
    display: grid;
    gap: 8px;
  }

  .hero-stats,
  .product-grid,
  .metric-cards,
  .trust-kpis,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .about-page .trust-grid article {
    min-height: auto;
  }

  .about-page .about-grid > div:first-child {
    padding: 14px;
  }

  .logos {
    justify-content: flex-start;
  }

  .product-image {
    height: 190px;
  }

  .card-actions {
    flex-wrap: wrap;
  }

  .inquiry-wrap {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .nav-wrap {
    min-height: 68px;
  }

  .brand-text {
    font-size: 0.98rem;
  }

  .brand-logo {
    height: 32px;
    max-width: 145px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .hero-cta .btn,
  .nav-btn {
    width: 100%;
  }

  .floating-inquiry {
    left: 12px;
    right: 12px;
    bottom: 10px;
    text-align: center;
  }
}

/* Product model comparison table */
.model-compare-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: auto;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.model-compare-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--model-table-font-family);
  font-size: var(--model-table-font-size);
  color: var(--model-table-font-color);
}

.model-compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(135deg, #0f3d4a 0%, #1b5c6d 100%);
  color: var(--model-table-header-font-color);
  text-align: left;
  padding: 14px 12px;
  font-family: var(--model-table-header-font-family);
  font-size: var(--model-table-header-font-size);
  letter-spacing: 0.5px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.model-compare-table thead th:first-child {
  border-top-left-radius: 10px;
}

.model-compare-table thead th:last-child {
  border-top-right-radius: 10px;
}

.model-compare-table tbody td {
  padding: 12px;
  border-bottom: 1px solid #e7eef7;
  color: var(--model-table-font-color);
  white-space: nowrap;
}

.model-compare-table tbody tr:nth-child(even) td {
  background: #f7fbff;
}

.model-compare-table tbody tr:hover td {
  background: #ebf6ff;
}

.model-compare-table tbody td:first-child {
  font-weight: 700;
  color: var(--dark);
}

[dir="rtl"] .model-compare-table thead th,
[dir="rtl"] .model-compare-table tbody td {
  text-align: right;
}
