/* Regular */
@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium (strong) */
@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ExtraBold */
@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Black */
@font-face {
  font-family: 'Tajawal';
  src: url('../fonts/Tajawal-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --tp-common-white: #ffffff;
  --tp-common-black: #070707;
  --tp-theme-redical: #007bff;
}

/* =========================================================
   RMK Header / Footer Scoped Styles
   ========================================================= */
.rmk-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #ececec;
}

.rmk-header-main {
  width: min(1280px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.rmk-header-logo img {
  width: 150px;
  height: auto;
  display: block;
}

.rmk-nav {
  margin-right: 20px;
  margin-left: 40px;
}

.rmk-nav>ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rmk-nav a,
.rmk-dropdown-toggle {
  color: #111;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 0;
}

.rmk-dropdown-toggle::after {
  content: "▾";
  font-size: 12px;
  margin-inline-start: 6px;
}

.rmk-has-dropdown {
  position: relative;
}

.rmk-submenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #111;
  border-radius: 10px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 20;
}

.rmk-submenu li a {
  display: block;
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
}

.rmk-submenu li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.rmk-has-dropdown:hover>.rmk-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rmk-header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rmk-btn {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 14px;
}

.rmk-btn-primary {
  background: #3cb252;
  color: #fff;
}

.rmk-btn-outline {
  border-color: #3cb252;
  color: #3cb252;
  background: #fff;
}

.rmk-mobile-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
}

.rmk-mobile-toggle span {
  display: block;
  height: 2px;
  background: #111;
  margin: 5px 0;
}

.rmk-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 998;
}

.rmk-mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100%;
  background: #fff;
  z-index: 999;
  transition: right 0.25s ease;
  overflow-y: auto;
  padding: 16px;
}

.rmk-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.rmk-mobile-head img {
  width: 130px;
}

.rmk-mobile-close {
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.rmk-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rmk-mobile-nav li {
  border-bottom: 1px solid #efefef;
}

.rmk-mobile-nav a,
.rmk-mobile-nav .rmk-dropdown-toggle {
  display: block;
  width: 100%;
  text-align: right;
  padding: 12px 2px;
  color: #111;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: 0;
}

.rmk-mobile-nav .rmk-submenu {
  position: static;
  background: #f7f7f7;
  border-radius: 8px;
  margin: 0 0 10px;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: max-height 0.25s ease;
}

.rmk-mobile-nav .rmk-submenu li a {
  color: #111;
}

.rmk-mobile-nav .rmk-has-dropdown.rmk-open>.rmk-submenu {
  max-height: 300px;
  padding: 8px 0;
}

.rmk-mobile-cta {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.rmk-mobile-open .rmk-mobile-drawer {
  right: 0;
}

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

.rmk-footer {
  background: linear-gradient(90deg, #262626 0%, #3f3f3f 100%);
  color: #fff;
  margin-top: 60px;
}

.rmk-footer-top,
.rmk-footer-main,
.rmk-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 20px;
}

.rmk-footer-top {
  padding-top: 24px;
  padding-bottom: 16px;
}

.rmk-footer-logo img {
  width: 155px;
  height: auto;
}

.rmk-footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  padding-bottom: 28px;
}

.rmk-footer-col h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 14px;
}

.rmk-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rmk-footer-col li {
  margin-bottom: 8px;
}

.rmk-footer-col a {
  color: #fff;
  text-decoration: none;
}

.rmk-footer-col a:hover {
  color: #0dcaf0;
}

.rmk-newsletter-form {
  display: flex;
  gap: 8px;
  margin: 12px 0 20px;
}

.rmk-newsletter-form input {
  flex: 1;
  min-width: 0;
  min-height: 44px !important;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 0 12px;
  text-align: right;
}

.rmk-newsletter-form button {
  height: 44px;
  border-radius: 8px;
  border: 1px solid #ed5f07;
  background: #ed5f07;
  color: #fff;
  padding: 0 14px;
  font-weight: 700;
}

.rmk-social h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.rmk-social a {
  margin-inline-end: 10px;
  font-size: 14px;
}

.rmk-footer-bottom {
  padding-top: 18px;
  padding-bottom: 20px;
  text-align: center;
}

.rmk-footer-bottom a {
  color: #4ea3ff;
  text-decoration: none;
  font-weight: 700;
}

.rmk-footer-bottom p {
  margin: 12px 0 0;
  color: #f2f6f8;
  font-size: 14px;
}

@media (max-width: 1199px) {

  .rmk-nav,
  .rmk-header-cta {
    display: none;
  }

  .rmk-mobile-toggle {
    display: block;
    margin-inline-start: auto;
  }

  .rmk-footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .rmk-header-main {
    padding: 10px 12px;
  }

  .rmk-header-logo img {
    width: 120px;
  }

  .rmk-footer-main {
    grid-template-columns: 1fr;
  }

  .rmk-newsletter-form {
    flex-direction: column;
  }

  .rmk-mobile-drawer {
    width: min(90vw, 320px);
  }
}

/* =========================================================
   QForm Landing Page (lqf-) Styles
   ========================================================= */
:root {
  --primary-blue: #005bbb;
  --secondary-blue: #0c5fb1;
  --accent-orange: #f97316;
  --success-green: #3cb252;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f3f4f6;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

body.landing-qform-body {
  font-family: 'Tajawal', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  margin: 0;
  line-height: 1.6;
}

.lqf-hero {
  background: linear-gradient(180deg, #005bbb 0%, #0a67c4 60%, #1a75cf 100%);
  color: white;
  padding: 60px 20px 100px;
  text-align: center;
  position: relative;
}

.lqf-hero .RemarkLogo {
  max-width: 180px;
  margin-bottom: 20px;
}

.lqf-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.lqf-hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 800px;
  margin: 0 auto 40px;
}

.lqf-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.lqf-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
  background: var(--success-green);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
}

.lqf-main {
  margin-top: -60px;
  padding-bottom: 80px;
  position: relative;
  z-index: 10;
}

.lqf-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--card-shadow);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.lqf-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 30px;
  text-align: center;
}

.lqf-form-label {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: block;
  font-size: 0.95rem;
}

.lqf-input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid #edf2f7;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f8fafc;
  color: var(--text-dark);
}

.lqf-input:focus {
  border-color: var(--primary-blue);
  background-color: white;
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 91, 187, 0.1);
}

.lqf-submit {
  width: 100%;
  background: var(--accent-orange);
  color: white;
  border: none;
  padding: 18px;
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 20px;
}

.lqf-submit:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3);
}

.lqf-helper {
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
  margin-top: 15px;
}

.preview-badge {
  background: #eef2ff;
  color: var(--primary-blue);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 991.98px) {
  .lqf-hero-title {
    font-size: 2.2rem;
  }

  .lqf-hero {
    padding: 40px 15px 80px;
  }

  .lqf-card {
    padding: 30px 20px;
  }

  .lqf-main {
    margin-top: -40px;
  }

  .lqf-badge {
    min-width: auto;
    width: 100%;
    max-width: 320px;
  }
}

/* =========================================================
   QForm Thank You Page (qf-) Styles
   ========================================================= */
.qf-thankyou-body {
  background: linear-gradient(180deg, #005bbb 0%, #0a67c4 60%, #1a75cf 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  font-family: 'Tajawal', sans-serif;
}

.qf-thankyou-body .RemarkLogo {
  max-width: 180px;
}

.qf-thankyou-shell {
  width: 100%;
  max-width: 800px;
  margin-top: 20px;
}

.qf-thankyou-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 50px 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.qf-thankyou-title {
  color: #005bbb;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.qf-thankyou-lead {
  color: #f97316;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.qf-thankyou-block {
  margin-bottom: 25px;
}

.qf-thankyou-text {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 10px;
}

.qf-feature-box {
  background: #f8fafc;
  border-radius: 16px;
  padding: 30px;
  margin: 30px 0;
  border: 1px solid #e2e8f0;
}

.qf-thankyou-list-title {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.qf-thankyou-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 90%;
  text-align: right;
  display: grid;
  gap: 12px;
}

.qf-thankyou-list li {
  position: relative;
  padding-right: 30px;
  color: #4b5563;
  font-weight: 500;
}

.qf-thankyou-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: #3cb252;
  font-weight: 800;
}

.qf-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 40px 0;
}

.qf-thankyou-cta {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.qf-thankyou-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.qf-thankyou-cta.whatsapp {
  background: #25d366;
  color: white;
}

.qf-thankyou-cta.download {
  background: #005bbb;
  color: white;
}

.qf-social-title {
  font-size: 1.1rem;
  color: #6b7280;
  margin-bottom: 20px;
  font-weight: 600;
}

.qf-social-box {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.qf-social-icon-img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s;
}

.qf-social-icon-img:hover {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .qf-thankyou-card {
    padding: 30px 20px;
  }

  .qf-thankyou-title {
    font-size: 1.75rem;
  }

  .qf-thankyou-lead {
    font-size: 1.25rem;
  }

  .qf-thankyou-list {
    max-width: 100%;
  }
}