/* ==========================================================================
   BASMA PRINTING PRESS - PIXEL PERFECT FIGMA STYLES
   Figma File: Basma Website (Node: 1:2 / 1:3)
   ========================================================================== */

/* ---------- Arabic Font Declaration (Matching TaifNest: Cairo) ---------- */
/* Using Google Fonts Cairo with weights 300 to 900 */

/* ---------- CSS Reset & Variables ---------- */
:root {
  /* Colors */
  --color-primary: #0F298F;
  --color-primary-rgb: 15, 41, 143;
  --color-dark-purple: #210247;
  --color-body-text: #717171;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-whatsapp: #228948;
  --color-copyright: #1C1C57;
  --color-divider: rgba(33, 2, 71, 0.2);

  /* Gradients */
  --gradient-hero: linear-gradient(99deg, rgba(227, 254, 239, 1) 3%, rgba(254, 241, 235, 1) 86%, rgba(226, 227, 255, 1) 100%);
  --gradient-ticker: linear-gradient(90deg, rgba(226, 227, 255, 1) 0%, rgba(254, 241, 235, 1) 47%, rgba(227, 254, 239, 1) 100%);
  --gradient-footer: linear-gradient(99deg, rgba(227, 254, 239, 1) 3%, rgba(254, 241, 235, 1) 86%, rgba(226, 227, 255, 1) 100%);

  /* Fonts */
  --font-oswald: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-manrope: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-open-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-cairo: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-al-quds: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container-max-width: 1140px;
  --header-height: 72px;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-open-sans);
  color: var(--color-body-text);
  background-color: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-height);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
}

/* ==========================================================================
   HEADER / NAVBAR
   Figma: Nodes 1:224, 1:203, 1:209 (y: 29-44)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-white);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.header-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo (Sleek proportional fit for 72px header) */
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  width: 135px;
  height: 30px;
  object-fit: contain;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 22px);
}

.nav-link {
  font-family: var(--font-open-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--color-black);
  text-transform: capitalize;
  padding: 6px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 700;
}

/* Header Right: Flag & Company Profile CTA */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.flag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 3px 6px;
  background: rgba(15, 41, 143, 0.04);
  border: 1px solid rgba(15, 41, 143, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.flag-btn:hover,
.flag-btn[aria-expanded="true"] {
  background: rgba(15, 41, 143, 0.09);
  border-color: rgba(15, 41, 143, 0.25);
  transform: translateY(-1px);
}

.flag-btn img {
  width: 32px;
  height: 23px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.dropdown-caret {
  transition: transform 0.25s ease;
}

.flag-btn[aria-expanded="true"] .dropdown-caret {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 155px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 41, 143, 0.14);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 41, 143, 0.14);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
  z-index: 1005;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--color-black);
  font-family: var(--font-open-sans);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-option:hover {
  background: rgba(15, 41, 143, 0.07);
  color: var(--color-primary);
}

.lang-option.active {
  background: rgba(15, 41, 143, 0.1);
  color: var(--color-primary);
  font-weight: 700;
}

.lang-option img {
  width: 28px;
  height: 20px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.lang-option-text {
  flex: 1;
}

.lang-check {
  font-size: 14px;
  color: var(--color-primary);
  opacity: 0;
  font-weight: bold;
}

.lang-option.active .lang-check {
  opacity: 1;
}

.company-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 38px;
  padding: 0 16px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-open-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(15, 41, 143, 0.18);
  white-space: nowrap;
  transition: all 0.25s ease;
}

.company-profile-btn:hover {
  background-color: #0c2070;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 41, 143, 0.3);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: transparent;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   HERO SECTION
   Figma: Nodes 1:177, 1:180 (y: 103-738, h: 635)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 635px;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Pixel-perfect alignment matching Figma 1440 canvas background */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1440px;
  height: 635px;
  background-image: url('assets/hero-bg-1440.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1440px 635px;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 535px;
}

/* Badge (Figma: w=226, h=32, rx=7, fill=rgba(15, 41, 143, 0.1), stroke=1px) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(15, 41, 143, 0.1);
  border: 1px solid rgba(15, 41, 143, 0.1);
  border-radius: 7px;
  backdrop-filter: blur(12.35px);
  -webkit-backdrop-filter: blur(12.35px);
  margin-bottom: 24px;
}

.hero-badge span {
  font-family: var(--font-open-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Headline (Figma: Oswald, 60px, weight 600, lh 75px, UPPERCASE) */
.hero-title {
  font-family: var(--font-oswald);
  font-size: 60px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-title .text-purple {
  color: var(--color-dark-purple);
}

.hero-title .text-blue {
  color: var(--color-primary);
}

/* Description (Figma: Open Sans, 20px, Regular, color #717171, w=463, h=68) */
.hero-description {
  font-family: var(--font-open-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-body-text);
  max-width: 463px;
  margin-bottom: 35px;
}

/* Actions Row (Figma: w=409, h=55) */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-open-sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 0;
  height: 55px;
  border-radius: 10px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

/* Get a Quote Button (Figma: w=162, h=55, rx=10, fill #0F298F) */
.btn-quote {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0 24px;
  min-width: 162px;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(15, 41, 143, 0.25);
}

.btn-quote:hover {
  background-color: #0b2075;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 41, 143, 0.35);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.btn-quote:hover .btn-arrow {
  transform: translateX(4px);
}

/* WhatsApp Button (Figma: w=231, h=55, stroke #228948 2px, text #228948) */
.btn-whatsapp {
  background-color: transparent;
  color: var(--color-whatsapp);
  border: 2px solid var(--color-whatsapp);
  padding: 0 20px;
  min-width: 231px;
  gap: 10px;
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34, 137, 72, 0.25);
}

.btn-whatsapp:hover .whatsapp-icon {
  filter: brightness(0) invert(1);
}

/* Dedicated mobile media containers (hidden on desktop >=1025px) */
.hero-mobile-media {
  display: none;
}

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

.testi-mobile-controls {
  display: none;
}

/* ==========================================================================
   SUB-HERO TICKER / MARQUEE
   Figma: Node 1:165 (y: 738, h: 110)
   ========================================================================== */
.ticker-section {
  width: 100%;
  height: 110px;
  background: var(--gradient-ticker);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  flex-shrink: 0;
}

.ticker-text {
  font-family: var(--font-oswald), var(--font-cairo), sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--color-dark-purple);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  user-select: none;
}

.ticker-star {
  width: 20px;
  height: 18px;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   OUR SERVICES SECTION
   Figma: Nodes 1:255 (y: 928, w: 370, h: 75), 1:609 (y: 1058, w: 1134, h: 470)
   ========================================================================== */
.services-section {
  width: 100%;
  padding: 80px 0 80px 0;
  background-color: var(--color-white);
  position: relative;
}

.services-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header (Figma: y: 928, w: 370, h: 75) */
.services-header {
  text-align: center;
  margin-bottom: 55px;
}

.services-subtitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-open-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 14px;
}

.services-deco {
  width: 37px;
  height: 9px;
  object-fit: contain;
  flex-shrink: 0;
}

.services-title {
  font-family: var(--font-oswald);
  font-size: 45px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--color-dark-purple);
  letter-spacing: 0;
}

/* 8 Services Cards Grid (Clean 4-col desktop, 2-col tablet, 1-col mobile) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

/* Service Card (Custom Style with Gradient Background, Top Row Number & Icon, Title, Desc, and Arrow) */
.service-card.svc,
.svc {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 230px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(227, 254, 239, 0.7) 0%, rgba(254, 241, 235, 0.45) 50%, rgba(226, 227, 255, 0.7) 100%);
  background-color: #FFFFFF;
  padding: 24px 22px;
  position: relative;
  border: 1px solid rgba(226, 227, 255, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  scroll-margin-top: 110px;
}

.service-card.svc:hover,
.svc:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(15, 41, 143, 0.12);
  border-color: rgba(15, 41, 143, 0.35);
}

.svc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.svc .num {
  font-family: var(--font-oswald), sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.svc-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.service-card.svc:hover .svc-ic,
.svc:hover .svc-ic {
  transform: scale(1.1);
}

.svc-ic svg {
  width: 28px;
  height: 28px;
}

.svc-title {
  font-family: var(--font-oswald), sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--color-dark-purple);
  margin: 0;
  transition: color 0.25s ease;
}

.service-card.svc:hover .svc-title,
.svc:hover .svc-title {
  color: var(--color-primary);
}

.svc-desc {
  font-family: var(--font-open-sans), sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-body-text);
  margin: 0;
  min-height: 44px;
}

.svc .ar {
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  justify-self: start;
  transition: transform 0.25s ease, color 0.25s ease;
  margin-top: 4px;
  display: inline-block;
}

.service-card.svc:hover .ar,
.svc:hover .ar {
  transform: translateX(6px);
  color: var(--color-primary);
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   Figma: Node 1:80 (y: 1608, w: 1440, h: 763.8)
   ========================================================================== */
.why-choose-section {
  width: 100%;
  padding: 80px 0 80px 0;
  background-color: #FAF5FF;
  position: relative;
}

.why-choose-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 466px 1fr;
  gap: 45px;
  align-items: center;
}

/* Left Column: Artwork Image Collage (Figma: w: 466, h: 604) */
.why-choose-media {
  width: 466px;
  max-width: 100%;
}

.why-choose-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.why-choose-media:hover .why-choose-img {
  transform: scale(1.02);
}

/* Right Column: Content (Figma: w: 629) */
.why-choose-content {
  width: 100%;
  max-width: 629px;
}

.why-choose-title {
  font-family: var(--font-oswald);
  font-size: 45px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-dark-purple);
  margin-bottom: 24px;
}

/* Feature Points (Figma: Node 1:96) */
.why-choose-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.feature-item {
  font-family: var(--font-open-sans);
  font-size: 18px;
  line-height: 1.45;
}

.feature-title {
  font-weight: 600;
  color: var(--color-dark-purple);
  margin-right: 4px;
}

.feature-desc {
  font-weight: 400;
  color: var(--color-body-text);
}

/* Metric / Skill Bars (Figma: Node 1:109, w: 626, h: 91) */
.why-choose-metrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  width: 100%;
}

.metric-bar {
  position: relative;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
}

.metric-time {
  width: 0%;
  max-width: 626px;
  background: linear-gradient(90deg, rgba(52, 165, 156, 1) 0%, rgba(52, 165, 156, 0) 100%);
  opacity: 0;
  transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.metric-satisfaction {
  width: 0%;
  max-width: 564px;
  background: linear-gradient(90deg, rgba(15, 41, 143, 1) 0%, rgba(15, 41, 143, 0) 100%);
  opacity: 0;
  transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.3s ease 0.15s;
}

.metric-time.animated {
  width: 100%;
  opacity: 1;
}

.metric-satisfaction.animated {
  width: 90%;
  opacity: 1;
}

.metric-label {
  font-family: var(--font-open-sans);
  font-size: 17px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  flex-shrink: 0;
}

.metric-percentage {
  font-family: var(--font-open-sans);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 16px;
}

.metric-time .metric-percentage {
  color: #34A59C;
}

.metric-satisfaction .metric-percentage {
  color: #0F298F;
}

/* Contact CTA (Figma: Node 1:101, w: 220, h: 56) */
.why-choose-contact {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.contact-call-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.why-choose-contact:hover .contact-call-icon {
  transform: scale(1.08);
}

.contact-call-info {
  display: flex;
  flex-direction: column;
}

.call-caption {
  font-family: var(--font-open-sans);
  font-size: 14px;
  color: var(--color-body-text);
  line-height: 1.2;
  margin-bottom: 3px;
}

.call-number {
  font-family: var(--font-open-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-black);
  transition: color 0.2s ease;
}

.call-number:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   OUR LATEST WORK / PORTFOLIO SECTION
   Figma: Node 1:17 (y: 2451.8, w: 1134, h: 1127)
   ========================================================================== */
.portfolio-section {
  width: 100%;
  padding: 80px 0 40px 0;
  background-color: #FFFFFF;
  position: relative;
}

.portfolio-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Header (Figma: Node 1:54, w: 755, h: 189) */
.portfolio-header {
  text-align: center;
  max-width: 755px;
  margin: 0 auto 50px auto;
}

.portfolio-title {
  font-family: var(--font-oswald);
  font-size: 45px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--color-dark-purple);
  margin-bottom: 16px;
  letter-spacing: 0;
}

.portfolio-title .text-blue {
  color: var(--color-primary);
}

.portfolio-desc {
  font-family: var(--font-open-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-body-text);
  margin-bottom: 34px;
}

/* Category Filter Tabs (Figma: Node 1:57, w: 708, h: 42) */
.portfolio-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.portfolio-tab {
  font-family: var(--font-open-sans);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 10px;
  border: 1px solid rgba(33, 2, 71, 0.15);
  background-color: transparent;
  color: var(--color-dark-purple);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.portfolio-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.portfolio-tab.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(15, 41, 143, 0.2);
}

/* 6 Portfolio Cards Grid (Figma: Node 1:19, w: 1134, h: 773) */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px 30px;
  width: 100%;
  max-width: 1134px;
  margin: 0 auto;
}

/* Portfolio Card (Figma: w: 358, h: 374, rx: 15) */
.portfolio-card {
  border-radius: 15px;
  background: linear-gradient(90deg, rgba(227, 254, 239, 0.6) 0%, rgba(254, 241, 235, 0.45) 50%, rgba(226, 227, 255, 0.6) 100%), #FFFFFF;
  border: 1px solid rgba(226, 227, 255, 0.65);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(15, 41, 143, 0.12);
  border-color: rgba(15, 41, 143, 0.25);
}

.portfolio-card.fade-out {
  opacity: 0;
  transform: scale(0.95);
}

.portfolio-card.hidden {
  display: none;
}

/* Media (Image 358x282, top corners rounded 15px) */
.portfolio-card-media {
  width: 100%;
  height: 282px;
  overflow: hidden;
  background-color: #F8F9FA;
  border-radius: 15px 15px 0 0;
}

.portfolio-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-card-media img {
  transform: scale(1.04);
}

/* Info Text (Figma: y: 307, h: 42) */
.portfolio-card-info {
  padding: 18px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.portfolio-card-title {
  font-family: var(--font-open-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-black);
  transition: color 0.2s ease;
}

.portfolio-card:hover .portfolio-card-title {
  color: var(--color-primary);
}

.portfolio-card-subtitle {
  font-family: var(--font-open-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-body-text);
}

/* Bottom CTA Button (Figma: Node 1:72, w: 177, h: 55, rx: 10) */
.portfolio-cta {
  display: flex;
  justify-content: center;
  margin-top: 55px;
}

.btn-portfolio-quote {
  background-color: var(--color-primary);
  color: var(--color-white);
  min-width: 177px;
  height: 55px;
  border-radius: 10px;
  font-family: var(--font-open-sans);
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(15, 41, 143, 0.25);
  transition: all 0.25s ease;
}

.btn-portfolio-quote:hover {
  background-color: #0b2075;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 41, 143, 0.35);
}

/* ==========================================================================
   3 EASY STEPS / WORK PROCESS SECTION
   Figma: Node 1:120 (y: 3658.8, h: 472)
   ========================================================================== */
.steps-section {
  width: 100%;
  padding: 40px 0 80px 0;
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.steps-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.steps-header {
  text-align: center;
  max-width: 755px;
  margin: 0 auto 52px auto;
}

.steps-title {
  font-family: var(--font-oswald);
  font-size: 45px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-purple);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.steps-title .text-blue {
  color: var(--color-primary);
}

.steps-desc {
  font-family: var(--font-open-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #717171;
  margin: 0 auto;
  max-width: 755px;
}

.steps-flow-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.steps-cards-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.step-card {
  width: 358px;
  height: 300px;
  min-height: 300px;
  background: linear-gradient(90deg, rgba(227, 254, 239, 0.5) 0%, rgba(254, 241, 235, 0.5) 53%, rgba(226, 227, 255, 0.5) 100%);
  border-radius: 25px;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: visible;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(15, 41, 143, 0.08);
}

/* Dots on card borders & inside cards (12px solid blue circle, exact to Figma & user markup) */
.step-card-dot {
  position: absolute;
  top: 150px;
  width: 12px;
  height: 12px;
  background-color: #0F298F;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

/* Outer edge dots on Card 1 left & Card 3 right (connecting to curved entering/exiting lines) */
.step-card-dot.dot-outer-left {
  left: -6px;
}

.step-card-dot.dot-outer-right {
  right: -6px;
}

/* Inner dots placed inside the cards matching Figma nodes 1:157 & 1:161 and user red markings */
.step-card-dot.dot-inner-right {
  right: 38px;
  transform: translate(50%, -50%);
}

.step-card-dot.dot-inner-left {
  left: 38px;
  transform: translate(-50%, -50%);
}

/* Card 2 dots inset 40px */
.step-card[data-step="2"] .step-card-dot.dot-inner-left {
  left: 40px;
  transform: translate(-50%, -50%);
}

.step-card[data-step="2"] .step-card-dot.dot-inner-right {
  right: 40px;
  transform: translate(50%, -50%);
}

.step-icon-wrap {
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.step-icon-img {
  height: 106px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.step-card:hover .step-icon-img {
  transform: scale(1.06);
}

.step-content {
  width: 100%;
}

.step-title {
  font-family: var(--font-open-sans);
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  line-height: 1.25;
  margin-bottom: 8px;
}

.step-desc {
  font-family: var(--font-open-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: #717171;
  max-width: 282px;
  margin: 0 auto;
}

/* Straight horizontal dashed connector line directly linking inner dots across cards */
.step-line-to-next {
  position: absolute;
  top: 150px;
  transform: translateY(-50%);
  width: 108px;
  height: 4px;
  z-index: 4;
  pointer-events: none;
  display: block;
}

.step-card[data-step="1"] .step-line-to-next {
  left: calc(100% - 38px);
}

.step-card[data-step="2"] .step-line-to-next {
  left: calc(100% - 40px);
}

/* Curved dotted line on left (1:147) and right (1:152) */
.step-curve-line {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: 170px;
  height: 55px;
}

.step-curve-left {
  right: 100%;
  top: 100px;
}

.step-curve-left img {
  width: 170px;
  height: 55px;
  display: block;
}

.step-curve-right {
  left: 100%;
  top: 145px;
}

.step-curve-right img {
  width: 170px;
  height: 55px;
  display: block;
}

/* RTL for 3 Easy Steps: In Figma artboard, flow and curves match English */
html[dir="rtl"] .steps-cards-grid {
  direction: ltr;
}

html[dir="rtl"] .step-title {
  font-family: 'Cairo', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

html[dir="rtl"] .step-desc {
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 290px;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .step-curve-left,
  .step-curve-right,
  .step-card-dot.dot-outer-left,
  .step-card-dot.dot-outer-right {
    display: none;
  }
}

@media (max-width: 1180px) and (min-width: 992px) {
  .steps-flow-wrapper {
    transform: scale(0.85);
    transform-origin: center center;
    margin: -25px 0;
  }
}

@media (max-width: 991px) {
  .steps-flow-wrapper {
    transform: none;
    margin: 0;
  }
  .steps-cards-grid {
    flex-direction: column;
    gap: 32px;
  }
  .step-card {
    width: 100%;
    max-width: 360px;
    height: auto;
    min-height: auto;
    padding: 28px 20px;
  }
  .step-card-dot,
  .step-line-to-next,
  .step-curve-line {
    display: none;
  }
}

@media (max-width: 576px) {
  .steps-section {
    padding: 55px 0 65px 0;
  }
  .steps-title {
    font-size: 30px;
  }
  .steps-desc {
    font-size: 16px;
  }
  .steps-header {
    margin-bottom: 35px;
  }
  .step-card {
    padding: 24px 16px;
    border-radius: 20px;
  }
  .step-title {
    font-size: 20px;
  }
  .step-desc {
    font-size: 14.5px;
  }
}

/* ==========================================================================
   TESTIMONIALS / CLIENT FEEDBACK SECTION
   Figma: Node 1:262 (y: 4210.8, h: 699.9)
   ========================================================================== */
.testimonials-section {
  width: 100%;
  padding: 80px 0;
  background-color: #FAF5FF;
  position: relative;
  overflow: hidden;
}

.testimonials-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.testimonials-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px auto;
}

.testimonials-subtitle-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.subtitle-flourish {
  width: 37px;
  height: 9px;
  display: block;
}

.testimonials-subtitle {
  font-family: var(--font-open-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonials-title {
  font-family: var(--font-oswald);
  font-size: 45px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: #210247;
  letter-spacing: 0.5px;
}

.testimonials-title .text-blue {
  color: var(--color-primary);
}

.testimonials-slider-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 290px;
  overflow: visible;
}

.testimonials-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 10px 0;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card-wrap {
  position: relative;
  width: 552px;
  min-width: 552px;
  height: 289px;
  min-height: 289px;
  flex-shrink: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Floating Avatar Badge on Card Left Edge (Figma: 153x231, r=20px) */
.testimonial-avatar-wrap {
  position: absolute;
  left: 0;
  top: 29px;
  width: 153px;
  height: 231px;
  border-radius: 20px;
  overflow: hidden;
  z-index: 3;
}

.testimonial-avatar-wrap.border-green {
  box-shadow: -4px 8px 24px rgba(99, 186, 152, 0.4);
  border: none;
}

.testimonial-avatar-wrap.border-purple {
  box-shadow: -4px 8px 24px rgba(207, 181, 240, 0.45);
  border: none;
}

.testimonial-avatar-wrap.border-blue {
  box-shadow: -4px 8px 24px rgba(165, 213, 241, 0.45);
  border: none;
}

.testimonial-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

/* Card Body (Figma: 474x289, r=20px) */
.testimonial-card {
  width: 474px;
  height: 289px;
  margin-left: 78px;
  border-radius: 20px;
  padding: 29px 24px 29px 105px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
}

.testimonial-card.bg-green {
  background-color: rgba(99, 186, 152, 0.15);
}

.testimonial-card.bg-purple {
  background-color: rgba(207, 181, 240, 0.15);
}

.testimonial-card.bg-blue {
  background-color: rgba(165, 213, 241, 0.15);
}

.testimonial-quote-wrap {
  margin-bottom: 8px;
}

.testimonial-quote-img {
  width: 45px;
  height: 33px;
  display: block;
}

.testimonial-text {
  font-family: var(--font-open-sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 28px;
  color: #2B2F3E;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-author {
  margin-top: auto;
}

.testimonial-name {
  font-family: var(--font-open-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 18px;
  color: var(--color-primary);
  margin: 0 0 4px 0;
}

.testimonial-role {
  font-family: var(--font-open-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  color: #2B2F3E;
  display: block;
  margin: 0;
}

/* Floating Round Navigation Buttons on Card Boundaries (Figma: 68x68, Node 1:300 & 1:303) */
.testi-nav-btn {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  color: #0F298F;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.testi-nav-btn.prev-btn {
  left: calc(50% - 286px);
}

.testi-nav-btn.next-btn {
  left: calc(50% + 286px);
}

.testi-nav-btn:hover {
  background-color: #0F298F;
  color: #FFFFFF;
  box-shadow: 0 6px 22px rgba(15, 41, 143, 0.28);
  transform: translate(-50%, -50%) scale(1.06);
}

.testi-nav-btn svg {
  stroke: currentColor;
}

/* RTL for Testimonials */
html[dir="rtl"] .testimonial-avatar-wrap {
  left: auto;
  right: 0;
}

html[dir="rtl"] .testimonial-avatar-wrap.border-green {
  box-shadow: 4px 8px 24px rgba(99, 186, 152, 0.4);
}

html[dir="rtl"] .testimonial-avatar-wrap.border-purple {
  box-shadow: 4px 8px 24px rgba(207, 181, 240, 0.45);
}

html[dir="rtl"] .testimonial-avatar-wrap.border-blue {
  box-shadow: 4px 8px 24px rgba(165, 213, 241, 0.45);
}

html[dir="rtl"] .testimonial-card {
  margin-left: 0;
  margin-right: 78px;
  padding: 29px 105px 29px 24px;
  text-align: right;
}

html[dir="rtl"] .testimonial-author {
  text-align: right;
}

html[dir="rtl"] .testimonials-subtitle {
  font-family: 'Cairo', sans-serif;
  font-size: 20px;
}

html[dir="rtl"] .testimonials-title {
  font-family: 'Cairo', sans-serif;
  font-size: 38px;
}

html[dir="rtl"] .testimonial-text {
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

html[dir="rtl"] .testimonial-name {
  font-family: 'Cairo', sans-serif;
  font-size: 19px;
  font-weight: 700;
}

html[dir="rtl"] .testimonial-role {
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
}

html[dir="rtl"] .testi-nav-btn.prev-btn {
  left: calc(50% + 286px);
}

html[dir="rtl"] .testi-nav-btn.next-btn {
  left: calc(50% - 286px);
}

/* Responsive Testimonials Carousel */
@media (max-width: 1240px) and (min-width: 992px) {
  .testi-nav-btn.prev-btn {
    left: 20px;
    transform: translateY(-50%);
  }
  .testi-nav-btn.next-btn {
    left: auto;
    right: 20px;
    transform: translateY(-50%);
  }
  .testi-nav-btn.prev-btn:hover {
    transform: translateY(-50%) scale(1.06);
  }
  .testi-nav-btn.next-btn:hover {
    transform: translateY(-50%) scale(1.06);
  }
}

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

  .testimonials-header {
    margin-bottom: 40px;
    padding: 0 16px;
  }

  .testimonials-title {
    font-size: clamp(28px, 6vw, 38px);
  }

  /* Hide desktop floating boundary arrows on mobile/tablet */
  .testi-nav-btn {
    display: none !important;
  }

  /* Mobile viewport container with hidden overflow for smooth slide */
  .testimonials-slider-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    overflow: hidden;
    padding: 10px 16px;
    min-height: auto;
    position: relative;
  }

  .testimonials-track {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .testimonial-card-wrap {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
    min-height: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 4px;
    box-sizing: border-box;
  }

  /* Centered circular avatar badge on mobile */
  .testimonial-avatar-wrap {
    position: static;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto -50px auto;
    z-index: 5;
    border: 3.5px solid #FFFFFF;
    box-shadow: 0 8px 24px rgba(33, 2, 71, 0.12);
    overflow: hidden;
  }

  .testimonial-card {
    width: 100%;
    height: auto;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 64px 22px 24px 22px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(33, 2, 71, 0.05);
    border: 1px solid rgba(15, 41, 143, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .testimonial-quote-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
  }

  .testimonial-quote-img {
    width: 38px;
    height: auto;
    opacity: 0.85;
  }

  .testimonial-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: #4A4A68;
    margin-bottom: 18px;
    text-align: center;
  }

  .testimonial-author {
    text-align: center;
    margin-top: auto;
  }

  .testimonial-name {
    font-size: 18px;
    font-weight: 700;
    color: #1C2059;
    margin-bottom: 2px;
  }

  .testimonial-role {
    font-size: 13.5px;
    color: #717171;
  }

  /* Mobile Bottom Navigation Controls */
  .testi-mobile-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 24px auto 0 auto;
    position: relative;
    z-index: 6;
  }

  .testi-mobile-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid rgba(15, 41, 143, 0.15);
    color: #0F298F;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 41, 143, 0.08);
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
  }

  .testi-mobile-nav-btn:hover,
  .testi-mobile-nav-btn:active {
    background: #0F298F;
    color: #FFFFFF;
    border-color: #0F298F;
    transform: scale(1.05);
  }

  .testi-mobile-dots {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .testi-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: rgba(15, 41, 143, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
  }

  .testi-dot.active {
    width: 26px;
    background: #0F298F;
    border-radius: 5px;
  }

  html[dir="rtl"] .testimonial-card {
    margin-right: 0 !important;
    text-align: center;
  }

  html[dir="rtl"] .testimonial-author {
    text-align: center;
  }

  html[dir="rtl"] .testimonial-text {
    text-align: center;
  }

  html[dir="rtl"] .testi-mobile-nav-btn svg {
    transform: scaleX(-1);
  }
}

/* ==========================================================================
   CONTACT / REQUEST A QUOTE SECTION
   Exact Minimalist Inspection-Table Layout from Custom Code & Screenshot
   ========================================================================== */
.sec.s-light#contact,
.contact-quote-sec {
  padding: clamp(72px, 8.5vw, 115px) 0;
  background-color: #F4F5F6 !important;
  color: #111315;
  position: relative;
  width: 100%;
}

.wrap.cgrid {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  display: grid;
  gap: 44px;
}

@media (min-width: 992px) {
  .wrap.cgrid {
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
  }
}

/* Left Column: Contact Channels & Business Details */
.cinfo {
  display: grid;
  gap: 32px;
  align-content: start;
}

.cinfo .shead {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.cinfo .label {
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
}

.cinfo .shead h2 {
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #111315;
  margin: 0;
  max-width: 440px;
}

.cinfo dl {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.cinfo dl > div {
  display: grid;
  gap: 5px;
  padding: 16px 0;
  border-top: 1px solid #DCE0E3;
}

.cinfo dl > div:last-child {
  border-bottom: 1px solid #DCE0E3;
}

.cinfo dt {
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

.cinfo dd {
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: #111315;
  margin: 0;
  overflow-wrap: anywhere;
}

.cinfo-link {
  color: #111315;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cinfo-link:hover {
  color: var(--color-primary);
}

/* Right Column: Clean White Form Card */
.form {
  background: #FFFFFF;
  border: 1px solid #DCE0E3;
  border-radius: 12px;
  padding: clamp(22px, 3.5vw, 38px);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  min-width: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

@media (min-width: 600px) {
  .form {
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
  }
}

.fld {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.fld.full {
  grid-column: 1 / -1;
}

.fld label {
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  color: #111315;
}

.fld input,
.fld select,
.fld textarea {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  background: #FFFFFF;
  border: 1px solid #C9CFD4;
  border-radius: 6px;
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-size: 14.5px;
  color: #111315;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.fld select {
  cursor: pointer;
}

.fld textarea {
  height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.fld input:hover,
.fld select:hover,
.fld textarea:hover {
  border-color: #8E969D;
}

.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 41, 143, 0.18);
}

/* Styled Drop / File Upload */
.drop {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px dashed #98A0A7;
  border-radius: 6px;
  cursor: pointer;
  background: #FFFFFF;
  color: #4A5157;
  font-size: 14px;
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  transition: border-color 0.2s ease, background 0.2s ease;
  overflow-wrap: anywhere;
}

.drop:hover {
  border-color: #111315;
  background: #FAFAFA;
}

.drop input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.drop:focus-within {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.drop b {
  display: inline-block;
  background: #ECEFF1;
  border: 1px solid #CFD8DC;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #111315;
  white-space: nowrap;
}

/* Submit Button & Status */
.form-submit-btn,
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 6px;
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--color-primary);
  color: #FFFFFF;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background 0.25s ease;
}

.form-submit-btn:hover,
.btn-gold:hover {
  background: var(--color-dark-purple);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 41, 143, 0.35);
  color: #FFFFFF;
}

.form-submit-btn:active,
.btn-gold:active {
  transform: translateY(0);
  filter: brightness(0.96);
  box-shadow: none;
}

.form-submit-btn .ar {
  display: inline-block;
  transition: transform 0.25s ease;
}

.form-submit-btn:hover .ar {
  transform: translateX(4px);
}

.fstat {
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-size: 14px;
  color: #4A5157;
  margin-top: 10px;
  min-height: 1.4em;
}

.fstat:empty {
  display: none;
}

.fstat.success {
  color: #166534;
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  padding: 10px 14px;
  border-radius: 6px;
}

.fstat.error {
  color: #991B1B;
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  padding: 10px 14px;
  border-radius: 6px;
}

/* ==========================================================================
   READY TO PRINT CTA BANNER SECTION
   Figma: Node 1:508 (y: 5719.7, h: 371)
   ========================================================================== */
.cta-section {
  width: 100%;
  height: 371px;
  min-height: 371px;
  background-color: #FAF4FE;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/cta-bg.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  z-index: 1;
  pointer-events: none;
}

html[dir="rtl"] .cta-section::before {
  transform: scaleX(-1);
}

.cta-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 153px;
  position: relative;
  z-index: 2;
}

.cta-content-box {
  max-width: 650px;
}

.cta-title {
  font-family: var(--font-oswald);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  color: #1C2059;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.cta-title .text-blue {
  color: inherit;
}

.cta-desc {
  font-family: var(--font-open-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #717171;
  margin-bottom: 28px;
  max-width: 538px;
}

.cta-btn-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.btn-cta-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 55px;
  padding: 0 28px;
  border-radius: 10px;
  background: #0F298F;
  color: #FFFFFF;
  font-family: var(--font-open-sans);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(15, 41, 143, 0.28);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-cta-quote:hover {
  background: #0B2070;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(15, 41, 143, 0.35);
}

.cta-arrow-icon {
  transition: transform 0.2s ease;
}

.btn-cta-quote:hover .cta-arrow-icon {
  transform: translateX(4px);
}

.btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 231px;
  height: 55px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1.5px solid #228948;
  background: #FFFFFF;
  color: #228948;
  font-family: var(--font-open-sans);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(34, 137, 72, 0.12);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-cta-whatsapp:hover {
  background: #228948;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(34, 137, 72, 0.25);
}

.cta-wa-icon {
  flex-shrink: 0;
}

/* RTL Mode for Quote & CTA */
html[dir="rtl"] .quote-headline,
html[dir="rtl"] .quote-desc,
html[dir="rtl"] .benefit-text,
html[dir="rtl"] .quick-contact-title,
html[dir="rtl"] .qc-link,
html[dir="rtl"] .qc-text,
html[dir="rtl"] .form-label,
html[dir="rtl"] .form-input,
html[dir="rtl"] .form-textarea,
html[dir="rtl"] .pill-label,
html[dir="rtl"] .btn-quote-submit,
html[dir="rtl"] .cta-title,
html[dir="rtl"] .cta-desc,
html[dir="rtl"] .btn-cta-quote,
html[dir="rtl"] .btn-cta-whatsapp {
  font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] .quote-info-col {
  text-align: right;
}

html[dir="rtl"] .quick-contact-list {
  align-items: flex-start;
}

html[dir="rtl"] .quick-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

html[dir="rtl"] .quote-form-card {
  text-align: right;
}

html[dir="rtl"] .form-group {
  text-align: right;
}

html[dir="rtl"] .form-input,
html[dir="rtl"] .form-textarea {
  text-align: right;
}

html[dir="rtl"] .pill-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

html[dir="rtl"] .form-submit-row {
  text-align: right;
  display: flex;
  justify-content: flex-start;
}

html[dir="rtl"] .cta-container {
  text-align: right;
}

html[dir="rtl"] .cta-btn-group {
  justify-content: flex-start;
  flex-direction: row;
}

html[dir="rtl"] .btn-cta-quote .cta-arrow-icon {
  transform: rotate(180deg);
}

html[dir="rtl"] .btn-cta-quote:hover .cta-arrow-icon {
  transform: rotate(180deg) translateX(4px);
}

@media (max-width: 1200px) {
  .cta-container {
    padding: 0 40px;
  }
  .cta-content-box {
    max-width: 360px;
  }
  .cta-title {
    font-size: 28px;
  }
  .cta-desc {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .btn-cta-quote {
    padding: 0 20px;
    font-size: 15px;
  }
  .btn-cta-whatsapp {
    width: auto;
    padding: 0 16px;
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
  .quote-form-card {
    max-width: 100%;
  }
  .cta-section {
    height: auto;
    min-height: auto;
    padding: 50px 0;
    background: linear-gradient(135deg, #FAF4FE 0%, #F0F4FF 100%);
    position: relative;
  }
  .cta-section::before {
    opacity: 0.16;
    background-size: cover;
    background-position: center;
  }
  .cta-container {
    padding: 0 16px;
  }
  .cta-content-box {
    max-width: 520px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(15, 41, 143, 0.08);
    box-shadow: 0 12px 36px rgba(33, 2, 71, 0.06);
    padding: 36px 20px;
    text-align: center;
  }
  .cta-title {
    font-size: clamp(23px, 5.5vw, 30px);
    line-height: 1.25;
    margin-bottom: 14px;
    text-align: center;
  }
  .cta-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: #555566;
    margin: 0 auto 24px auto;
    text-align: center;
    max-width: 440px;
  }
  .cta-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .btn-cta-quote,
  .btn-cta-whatsapp {
    width: 100%;
    height: 50px;
    font-size: 15.5px;
    border-radius: 10px;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .quote-benefits-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
  }
  .service-pills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   FOOTER SECTION
   Figma: Node 1:531 (y: 6091, h: 411)
   ========================================================================== */
.footer-section {
  width: 100%;
  background: var(--gradient-footer);
  color: var(--color-body-text);
  position: relative;
}

.footer-main-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 80px 20px 48px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 294px 141px 147px 244px;
  justify-content: space-between;
  gap: 40px;
}

/* Col 1: Brand Info */
.footer-col-brand {
  max-width: 294px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 22px;
}

.footer-logo img {
  width: 117px;
  height: 26px;
  object-fit: contain;
}

.footer-brand-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-body-text);
  margin-bottom: 30px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-circle-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-circle-link:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* Col 2 & 3: Headings & Navigation Lists */
.footer-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 24px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav-list a {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-body-text);
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}

/* Col 4: Contact */
.footer-col-contact {
  max-width: 244px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-body-text);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.contact-icon {
  font-size: 16px;
  line-height: 1.4;
  flex-shrink: 0;
}

.email-item a,
.phone-item a {
  color: var(--color-body-text);
  transition: color 0.2s ease;
}

.email-item a:hover,
.phone-item a:hover {
  color: var(--color-primary);
}

/* Footer Divider (Figma: h=2, fill rgba(33, 2, 71, 0.2)) */
.footer-divider {
  width: 100%;
  height: 2px;
  background-color: var(--color-divider);
}

/* Footer Bottom Bar (Figma: h=47, y=364) */
.footer-bottom-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 14px 20px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.copyright-text {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-copyright);
  line-height: 1.5;
}

.brand-name-blue {
  color: var(--color-primary);
  font-weight: 600;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-copyright);
  cursor: pointer;
  padding: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.back-to-top-btn:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.back-to-top-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--color-copyright);
}

.back-to-top-icon {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-section::before {
    display: none;
  }

  .hero-section {
    background-image: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .header-container {
    padding: 0 16px;
  }

  .company-profile-btn {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    padding: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    display: none;
    z-index: 999;
  }

  .nav-menu.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-section {
    min-height: auto;
    padding: 48px 0 20px 0;
    background-image: none !important;
  }

  .hero-container {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-badge {
    margin: 0 auto 20px auto;
  }

  .hero-title {
    font-size: clamp(32px, 5.5vw, 46px);
    line-height: 1.2;
  }

  .hero-description {
    margin: 0 auto 28px auto;
    max-width: 600px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-mobile-media {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 28px auto 0 auto;
    position: relative;
    z-index: 2;
  }

  .hero-mobile-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(33, 2, 71, 0.08));
  }

  .ticker-text {
    font-size: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    gap: 18px;
  }

  .services-title {
    font-size: 38px;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-choose-media {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .why-choose-title {
    font-size: 38px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .footer-col-contact {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .footer-bottom-inner {
    flex-direction: column-reverse;
    gap: 14px;
    text-align: left;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 70px;
  }

  .header-logo img {
    width: 125px;
    height: auto;
  }

  .flag-btn img {
    width: 30px;
    height: 22px;
  }

  .hero-section {
    padding: 36px 0 14px 0;
  }

  .hero-container {
    align-items: flex-start;
  }

  .hero-content {
    text-align: left;
    width: 100%;
  }

  .hero-badge {
    margin: 0 0 12px 0;
    align-self: flex-start;
  }

  .hero-title {
    font-size: clamp(34px, 8.8vw, 42px);
    line-height: 1.15;
    margin-bottom: 14px;
    text-align: left;
    letter-spacing: -0.01em;
  }

  .hero-description {
    font-size: 14.5px;
    line-height: 1.55;
    max-width: 100%;
    margin-bottom: 24px;
    padding: 0;
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 360px;
    margin: 0 0 20px 0;
    justify-content: flex-start;
  }

  .btn {
    width: 100%;
    min-width: 0;
    height: 50px;
    font-size: 15.5px;
    justify-content: center;
  }

  .hero-mobile-media {
    margin-top: 20px;
    max-width: 100%;
  }

  .hero-mobile-img {
    max-height: 250px;
  }

  .ticker-section {
    height: 64px;
  }

  .ticker-text {
    font-size: 16px;
  }

  .ticker-content {
    gap: 20px;
    padding-right: 20px;
  }

  .ticker-star {
    width: 14px;
    height: 14px;
  }

  .services-section {
    padding: 50px 0;
  }

  .services-header {
    margin-bottom: 35px;
  }

  .services-title {
    font-size: 28px;
  }

  .services-subtitle {
    font-size: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    gap: 16px;
  }

  .service-card.svc,
  .svc {
    padding: 20px 18px;
    gap: 12px;
    min-height: auto;
    border-radius: 14px;
  }

  .svc .svc-title {
    font-size: 19px;
  }

  .svc .svc-desc {
    font-size: 13.5px;
    min-height: auto;
  }

  .why-choose-section {
    padding: 50px 0;
  }

  .why-choose-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .feature-item {
    font-size: 15px;
  }

  .metric-label {
    font-size: 14px;
  }

  .metric-percentage {
    font-size: 14px;
  }

  .contact-call-icon {
    width: 48px;
    height: 48px;
  }

  .contact-call-icon svg {
    width: 48px;
    height: 48px;
  }

  .call-number {
    font-size: 16px;
  }

  .header-right {
    gap: 12px;
  }

  .portfolio-section {
    padding: 60px 0 70px 0;
  }

  .portfolio-title {
    font-size: 32px;
  }

  .portfolio-desc {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .portfolio-tabs {
    gap: 8px;
    margin-bottom: 35px;
  }

  .portfolio-tab {
    font-size: 14px;
    padding: 8px 16px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-main-container {
    padding: 44px 16px 28px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

  .footer-col-brand {
    grid-column: 1 / -1;
    text-align: left;
  }

  .footer-logo {
    display: inline-block;
    margin-left: 0;
    margin-right: auto;
  }

  .footer-brand-desc {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 20px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .footer-socials {
    justify-content: flex-start;
  }

  .footer-col-services,
  .footer-col-links {
    text-align: left;
  }

  html[dir="rtl"] .footer-col-services,
  html[dir="rtl"] .footer-col-links {
    text-align: right;
  }

  .footer-col-contact {
    grid-column: 1 / -1;
    text-align: left;
  }

  .footer-contact-list {
    align-items: flex-start;
  }

  .contact-item {
    justify-content: flex-start;
    text-align: left;
  }

  .contact-text-address,
  .contact-text-hours {
    text-align: left;
  }

  .copyright-text {
    font-size: 13.5px;
    text-align: left;
    line-height: 1.5;
  }

  .back-to-top-btn {
    display: inline-flex;
    justify-content: flex-start;
    padding: 8px 20px;
    background: rgba(15, 41, 143, 0.05);
    border: 1px solid rgba(15, 41, 143, 0.1);
    border-radius: 20px;
    margin: 0;
    align-self: flex-start;
  }
}


/* ==========================================================================
   RTL / ARABIC SUPPORT
   Applied when html[dir="rtl"] or html[lang="ar"]
   Exact font from TaifNest: Cairo
   ========================================================================== */
html[dir="rtl"],
html[lang="ar"] {
  direction: rtl;
  text-align: right;
  --font-oswald: 'Cairo', sans-serif;
  --font-manrope: 'Cairo', sans-serif;
  --font-open-sans: 'Cairo', sans-serif;
  --font-al-quds: 'Cairo', sans-serif;
  --font-cairo: 'Cairo', sans-serif;
  font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] body,
html[lang="ar"] body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  text-align: right;
}

/* Headings & Text Arabic Font (Matching TaifNest: Cairo) */
html[dir="rtl"] .hero-title,
html[dir="rtl"] .services-title,
html[dir="rtl"] .why-choose-title,
html[dir="rtl"] .portfolio-title,
html[dir="rtl"] .steps-title,
html[dir="rtl"] .footer-heading,
html[dir="rtl"] .service-name,
html[dir="rtl"] .ticker-text {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

html[dir="rtl"] .portfolio-tab,
html[dir="rtl"] .portfolio-card-title,
html[dir="rtl"] .portfolio-card-subtitle,
html[dir="rtl"] .btn-portfolio-quote,
html[dir="rtl"] .btn-quote,
html[dir="rtl"] .btn-primary-action,
html[dir="rtl"] .btn-portfolio-main,
html[dir="rtl"] .header-link,
html[dir="rtl"] .company-profile-btn,
html[dir="rtl"] .feature-title,
html[dir="rtl"] .feature-desc,
html[dir="rtl"] .step-title,
html[dir="rtl"] .step-desc,
html[dir="rtl"] .hero-desc,
html[dir="rtl"] .services-subtitle,
html[dir="rtl"] .why-choose-subtitle,
html[dir="rtl"] .portfolio-subtitle,
html[dir="rtl"] .steps-subtitle,
html[dir="rtl"] .testimonials-subtitle,
html[dir="rtl"] .testimonials-title,
html[dir="rtl"] .testimonial-text,
html[dir="rtl"] .testimonial-name,
html[dir="rtl"] .testimonial-role,
html[dir="rtl"] .quote-headline,
html[dir="rtl"] .quote-desc,
html[dir="rtl"] .benefit-text,
html[dir="rtl"] .cta-title,
html[dir="rtl"] .cta-desc,
html[dir="rtl"] .btn-cta-quote,
html[dir="rtl"] .btn-cta-whatsapp,
html[dir="rtl"] .footer-brand-desc,
html[dir="rtl"] .footer-link,
html[dir="rtl"] .contact-item,
html[dir="rtl"] .copyright-text,
html[dir="rtl"] .back-to-top {
  font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] .portfolio-card-info {
  text-align: right;
}

/* Sub-hero ticker in RTL */
html[dir="rtl"] .ticker-track {
  animation: marqueeScrollRTL 28s linear infinite;
}

html[dir="rtl"] .ticker-text {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
}

@keyframes marqueeScrollRTL {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

/* Hero Section in RTL */
html[dir="rtl"] .hero-section::before {
  transform: translateX(-50%) scaleX(-1);
}

html[dir="rtl"] .hero-content {
  text-align: right;
}

html[dir="rtl"] .hero-actions {
  justify-content: flex-start;
}

/* Flip arrows in RTL */
html[dir="rtl"] .btn-arrow {
  transform: scaleX(-1);
}

html[dir="rtl"] .btn-quote:hover .btn-arrow {
  transform: scaleX(-1) translateX(-4px);
}

/* Services section in RTL */
html[dir="rtl"] .services-header {
  text-align: center;
}

html[dir="rtl"] .service-card.svc,
html[dir="rtl"] .svc {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .svc .svc-title {
  font-family: var(--font-cairo), sans-serif;
  font-size: 19px;
  font-weight: 700;
}

html[dir="rtl"] .svc .svc-desc {
  font-family: var(--font-cairo), sans-serif;
  font-size: 14px;
}

html[dir="rtl"] .svc .ar {
  justify-self: start;
  transform: scaleX(-1);
}

html[dir="rtl"] .service-card.svc:hover .ar,
html[dir="rtl"] .svc:hover .ar {
  transform: scaleX(-1) translateX(6px);
}

/* Why choose us in RTL */
html[dir="rtl"] .why-choose-grid {
  grid-template-columns: 1fr 466px;
}

html[dir="rtl"] .why-choose-media {
  order: 2;
}

html[dir="rtl"] .why-choose-content {
  order: 1;
  text-align: right;
}

html[dir="rtl"] .feature-title {
  margin-right: 0;
  margin-left: 6px;
}

html[dir="rtl"] .metric-bar {
  direction: rtl;
}

html[dir="rtl"] .metric-time {
  background: linear-gradient(270deg, rgba(52, 165, 156, 1) 0%, rgba(52, 165, 156, 0) 100%);
}

html[dir="rtl"] .metric-satisfaction {
  background: linear-gradient(270deg, rgba(15, 41, 143, 1) 0%, rgba(15, 41, 143, 0) 100%);
}

html[dir="rtl"] .metric-percentage {
  margin-left: 0;
  margin-right: 16px;
}

/* Phone numbers & emails always LTR */
.call-number,
.phone-item a,
.footer-contact-list a[href^="tel:"],
.email-item a,
.footer-contact-list a[href^="mailto:"] {
  direction: ltr !important;
  display: inline-block;
  unicode-bidi: isolate;
}

/* Footer Section in RTL */
html[dir="rtl"] .footer-col {
  text-align: right;
}

html[dir="rtl"] .footer-brand-desc {
  text-align: right;
}

html[dir="rtl"] .footer-socials {
  justify-content: flex-start;
}

html[dir="rtl"] .footer-contact-list {
  align-items: flex-start;
}

html[dir="rtl"] .contact-item {
  text-align: right;
}

/* Mobile responsive RTL tweaks */
@media (max-width: 991px) {
  html[dir="rtl"] .why-choose-grid {
    grid-template-columns: 1fr;
  }

  html[dir="rtl"] .why-choose-media {
    order: 1;
  }

  html[dir="rtl"] .why-choose-content {
    order: 2;
  }
}

/* Quote Section in RTL */
html[dir="rtl"] .quote-headline,
html[dir="rtl"] .quick-contact-title {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}

html[dir="rtl"] .quote-desc,
html[dir="rtl"] .benefit-text,
html[dir="rtl"] .qc-link,
html[dir="rtl"] .qc-text,
html[dir="rtl"] .form-label,
html[dir="rtl"] .form-input,
html[dir="rtl"] .pill-label,
html[dir="rtl"] .form-textarea,
html[dir="rtl"] .btn-quote-submit {
  font-family: 'Cairo', sans-serif;
}

html[dir="rtl"] .quote-form-card {
  background: linear-gradient(270deg, #EDFEF4 0%, #FAF7F2 35%, #FEF5F1 65%, #EFEEFC 100%);
}

html[dir="rtl"] .form-submit-row {
  display: flex;
  justify-content: flex-start;
}



/* ==========================================================================
   ETCHING, PHENOLIC TAGS, MATERIALS, FAQ & WHATSAPP FLOATING BUTTON
   (Pixel-Perfect Light Design System Matching BASMA Theme)
   ========================================================================== */

/* ---------- Etching Sections (01 SS, 02 Aluminium, 03 Phenolic) ---------- */
.etch-section {
  width: 100%;
  padding: 85px 0;
  background-color: var(--color-white);
  position: relative;
}

.etch-section-alt {
  background-color: #F8FAFC;
}

.etch-container {
  width: 100%;
  max-width: var(--container-max-width, 1140px);
  margin: 0 auto;
  padding: 0 20px;
}

.etch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 992px) {
  .etch-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
  }

  .etch-grid-rev .etch-content-col {
    order: 1;
  }

  .etch-grid-rev .etch-media-col {
    order: 2;
  }
}

/* Badge / Subtitle with Decos */
.etch-badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.etch-badge-text {
  font-family: var(--font-open-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

/* Headings & Descriptions */
.etch-heading {
  font-family: var(--font-oswald);
  font-size: clamp(32px, 3.6vw, 45px);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-dark-purple);
  margin-bottom: 20px;
  letter-spacing: 0;
}

.etch-paragraph {
  font-family: var(--font-open-sans);
  font-size: 16px;
  line-height: 1.68;
  color: var(--color-body-text);
  margin-bottom: 28px;
  max-width: 540px;
}

/* Feature Point Bullets (Ticks) */
.etch-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 32px;
  padding: 0;
  list-style: none;
}

.etch-feature-list.two-cols {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .etch-feature-list.two-cols {
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
  }
}

.etch-feature-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.etch-tick-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(15, 41, 143, 0.1);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.etch-tick-text {
  font-family: var(--font-open-sans);
  font-size: 15.5px;
  font-weight: 500;
  color: #2D3748;
  line-height: 1.4;
}

/* Action Button */
.etch-action-row {
  display: flex;
  align-items: center;
}

.etch-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-open-sans);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-primary);
  padding: 13px 28px;
  border: 1.8px solid var(--color-primary);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  background-color: transparent;
}

.etch-btn:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 41, 143, 0.22);
}

.etch-btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 18px;
  line-height: 1;
}

.etch-btn:hover .etch-btn-arrow {
  transform: translateX(5px);
}

/* Media Showcase Card */
.etch-media-col {
  width: 100%;
}

.etch-media-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 41, 143, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.etch-media-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 41, 143, 0.25);
  box-shadow: 0 16px 40px rgba(15, 41, 143, 0.12);
}

.etch-media-card .art {
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
  border: 1px solid #CBD5E1;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.etch-media-card .art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.etch-figcaption {
  margin-top: 16px;
  font-family: var(--font-oswald);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-body-text);
  text-align: center;
}

/* ---------- 03 / Phenolic Tags Showcase ---------- */
.phenolic-top-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  .phenolic-top-row {
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: end;
  }
}

.phenolic-display-board {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 32px rgba(15, 41, 143, 0.06);
  position: relative;
  margin-bottom: 45px;
}

.phenolic-display-board .art {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #181D23 0%, #0F1318 100%);
  border: 1px solid #2D3748;
  aspect-ratio: 600/560;
  width: 100%;
}

@media (min-width: 700px) {
  .phenolic-display-board .art {
    aspect-ratio: 1200/500;
  }
}

.phenolic-display-board .art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.phenolic-floating-chips {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  z-index: 5;
}

.phenolic-chip {
  background: #FFFFFF;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-family: var(--font-oswald);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 30px;
  padding: 10px 24px;
  box-shadow: 0 6px 20px rgba(15, 41, 143, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: chipHover 5s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}

.phenolic-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
}

@keyframes chipHover {
  from { transform: translateY(0); }
  to { transform: translateY(-4px); }
}

/* ---------- Materials We Work With ---------- */
.materials-section {
  width: 100%;
  padding: 85px 0;
  background-color: var(--color-white);
  position: relative;
}

.materials-container {
  width: 100%;
  max-width: var(--container-max-width, 1140px);
  margin: 0 auto;
  padding: 0 20px;
}

.materials-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  margin-top: 50px;
}

@media (min-width: 768px) {
  .materials-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .material-card {
    grid-column: span 3;
  }

  .material-card:nth-child(n+5) {
    grid-column: span 4;
  }
}

@media (max-width: 767px) {
  .material-card:last-child {
    grid-column: 1 / -1;
  }
}

.material-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.material-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: 0 14px 30px rgba(15, 41, 143, 0.12);
}

.material-art-box {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: #0B0D0F;
}

.material-art-box .art {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.material-art-box .art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.material-card:hover .material-art-box .art {
  transform: scale(1.08);
}

.material-info-box {
  padding: 18px 22px;
  background: #FFFFFF;
  border-top: 1px solid #EDF2F7;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.material-name {
  display: block;
  font-family: var(--font-oswald);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-dark-purple);
  transition: color 0.3s ease;
}

.material-card:hover .material-name {
  color: var(--color-primary);
}

.material-caption {
  display: block;
  font-family: var(--font-open-sans);
  font-size: 14px;
  color: var(--color-body-text);
  margin-top: 4px;
}

.material-accent-bar {
  width: 22px;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-top: 10px;
  transition: width 0.3s ease;
}

.material-card:hover .material-accent-bar {
  width: 48px;
}



/* ==========================================================================
   LENIS ULTRA-SMOOTH SCROLLING
   ========================================================================== */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ==========================================================================
   FREQUENTLY ASKED QUESTIONS (FAQ) SECTION
   Exact Minimalist Inspection-Table Layout from Custom Code & Screenshot
   ========================================================================== */
.sec.s-light#faq {
  padding: clamp(72px, 8.5vw, 115px) 0;
  background-color: #F4F5F6 !important;
  color: #111315;
  position: relative;
  width: 100%;
}

.wrap.faq {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  display: grid;
  gap: 36px;
}

@media (min-width: 992px) {
  .wrap.faq {
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(40px, 6.5vw, 100px);
    align-items: stretch;
  }
}

/* Left Column: Heading, Subtitle & Quote Link with full-height vertical distribution */
.faq .shead {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 100%;
  max-width: 380px;
  margin: 0;
  padding: 6px 0 16px 0;
}

.faq .shead-top {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.8vw, 54px);
}

.faq .shead-mid {
  display: flex;
  flex-direction: column;
  margin: auto 0;
}

.faq .shead-bot {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

@media (max-width: 991px) {
  .faq .shead {
    height: auto;
    min-height: 0;
    gap: 28px;
    margin-bottom: 24px;
    padding: 0;
  }
  .faq .shead-top {
    gap: 16px;
  }
  .faq .shead-mid,
  .faq .shead-bot {
    margin: 0;
  }
}

.faq .label {
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
}

.faq .shead h2 {
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #111315;
  margin: 0;
  max-width: 320px;
  text-transform: uppercase;
}

.faq .sub {
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4A5157;
  max-width: 360px;
  margin: 0;
}

.faq .lnk {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 5px;
  text-decoration: none;
  width: fit-content;
  transition: color 0.25s ease, border-color 0.25s ease;
  margin-top: 4px;
}

.faq .lnk:hover {
  color: var(--color-dark-purple);
  border-bottom-color: var(--color-dark-purple);
}

.faq .lnk .ar {
  display: inline-block;
  color: var(--color-primary);
  transition: transform 0.3s ease, color 0.25s ease;
}

.faq .lnk:hover .ar {
  transform: translateX(5px);
  color: var(--color-dark-purple);
}

/* Right Column: Clean Minimalist Accordion List */
#faqlist {
  display: flex;
  flex-direction: column;
}

.qa {
  border-top: 1px solid #DCE0E3;
  transition: border-color 0.25s ease;
}

.qa:last-child {
  border-bottom: 1px solid #DCE0E3;
}

.q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  padding: 22px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #111315;
  transition: color 0.25s ease;
}

.q:hover {
  color: var(--color-primary);
}

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

/* Plus / Minus Indicator Icon */
.pm {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
  color: #717171;
  transition: color 0.25s ease;
}

.q:hover .pm {
  color: var(--color-primary);
}

.pm::before,
.pm::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pm::after {
  transform: rotate(90deg);
}

.qa.open .pm::after {
  transform: rotate(0);
}

.qa.open .pm {
  color: #111315;
}

/* Smooth Accordion Body Collapse/Expand */
.a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.a > div {
  overflow: hidden;
  min-height: 0;
  visibility: hidden;
  transition: visibility 0s 0.3s;
}

.a p {
  padding: 0 40px 24px 0;
  max-width: 640px;
  color: #4A5157;
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

.qa.open .a {
  grid-template-rows: 1fr;
}

.qa.open .a > div {
  visibility: visible;
  transition-delay: 0s;
}

/* RTL / Arabic Support */
html[dir="rtl"] .q {
  text-align: right;
}

html[dir="rtl"] .a p {
  padding: 0 0 24px 40px;
}

html[dir="rtl"] .faq .shead {
  text-align: right;
  align-items: flex-start;
}

html[dir="rtl"] .faq .shead-top,
html[dir="rtl"] .faq .shead-mid,
html[dir="rtl"] .faq .shead-bot {
  text-align: right;
  align-items: flex-start;
}

html[dir="rtl"] .faq .shead h2 {
  font-family: var(--font-cairo), 'Cairo', sans-serif !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
}

html[dir="rtl"] .faq .sub {
  font-family: var(--font-cairo), 'Cairo', sans-serif !important;
  line-height: 1.8 !important;
}

html[dir="rtl"] .faq .lnk:hover .ar {
  transform: translateX(-5px);
}

/* ---------- Floating WhatsApp Button ---------- */
.floating-whatsapp {
  position: fixed;
  z-index: 9999;
  right: 28px;
  bottom: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 1.7;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: waPulse 4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  25% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
  .floating-whatsapp {
    width: 52px;
    height: 52px;
    right: 18px;
    bottom: 18px;
  }
  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }

  /* -------------------------------------------------------------
     MOBILE HERO: BOLDER & LARGER HEADLINE, LEFT ALIGNED (NO CENTER)
     ------------------------------------------------------------- */
  .hero-container {
    align-items: flex-start !important;
    text-align: left !important;
    padding: 0 20px !important;
  }

  .hero-content {
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-badge {
    margin: 0 0 14px 0 !important;
    align-self: flex-start !important;
  }

  .hero-title {
    font-size: clamp(34px, 8.8vw, 42px) !important;
    line-height: 1.15 !important;
    margin-bottom: 14px !important;
    text-align: left !important;
    letter-spacing: -0.01em !important;
  }

  .hero-description {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 0 20px 0 !important;
    justify-content: flex-start !important;
  }

  /* -------------------------------------------------------------
     HIDE DECORATIVE FLOURISHES / WINGS ON MOBILE
     ------------------------------------------------------------- */
  .services-deco,
  .subtitle-flourish,
  .etch-badge-wrapper img,
  .services-subtitle img,
  .testimonials-subtitle-wrap img {
    display: none !important;
  }

  .etch-badge-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin-bottom: 10px !important;
    text-align: left !important;
  }

  .etch-badge-text {
    font-size: 14.5px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.04em !important;
  }

  /* -------------------------------------------------------------
     UNIFORM SECTION RHYTHM & SPACING FOR MOBILE VIEW
     - Eyebrow / Subtitle to Headline: 10px
     - Headline to Tagline / Description: 14px
     - Tagline / Description to next item: 24px
     ------------------------------------------------------------- */
  .services-subtitle,
  .etch-badge-wrapper,
  .testimonials-subtitle-wrap,
  .shead-top .label,
  .faq-label,
  .cinfo .label,
  .contact-label {
    margin-bottom: 10px !important;
  }

  .hero-title,
  .services-title,
  .etch-heading,
  .why-choose-title,
  .portfolio-title,
  .steps-title,
  .testimonials-title,
  .shead-top h2,
  #h-faq,
  .quote-sidebar-title,
  .contact-heading,
  .cinfo .shead h2,
  .cta-title {
    margin-bottom: 14px !important;
  }

  .hero-description,
  .etch-paragraph,
  .portfolio-desc,
  .steps-desc,
  .shead-mid .sub,
  .cta-desc {
    margin-bottom: 24px !important;
  }

  /* -------------------------------------------------------------
     ALL SECTIONS: HEADLINE & TAGLINE LEFT ALIGNED ON MOBILE
     ------------------------------------------------------------- */
  /* Services & Materials */
  .services-header,
  .materials-container .services-header {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }
  .services-subtitle,
  .materials-container .services-subtitle {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .services-title,
  .materials-container .services-title {
    text-align: left !important;
  }

  /* Etching & Phenolic Sections */
  .etch-content-col {
    text-align: left !important;
  }
  .phenolic-top-row,
  .phenolic-top-left,
  .phenolic-top-right {
    text-align: left !important;
  }
  .phenolic-top-right .etch-paragraph {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .phenolic-top-right .etch-action-row {
    justify-content: flex-start !important;
  }

  /* Why Choose Us */
  .why-choose-content {
    text-align: left !important;
  }
  .why-choose-title {
    text-align: left !important;
  }

  /* Portfolio / Our Latest Work */
  .portfolio-header {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }
  .portfolio-title {
    text-align: left !important;
  }
  .portfolio-desc {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .portfolio-tabs {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding-bottom: 6px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* 3 Easy Steps */
  .steps-header {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }
  .steps-title {
    text-align: left !important;
  }
  .steps-desc {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  /* Testimonials / Client Feedback */
  .testimonials-header {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 100% !important;
  }
  .testimonials-subtitle-wrap {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .testimonials-title {
    text-align: left !important;
  }

  /* Ready to Print CTA */
  .cta-content-box {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .cta-title {
    text-align: left !important;
  }
  .cta-desc {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .cta-btn-group {
    justify-content: flex-start !important;
  }

  /* -------------------------------------------------------------
     MOBILE FOOTER: 100% CLEAN LEFT ALIGNMENT
     ------------------------------------------------------------- */
  .footer-grid {
    text-align: left !important;
  }

  .footer-col,
  .footer-col-brand,
  .footer-col-contact,
  .footer-col-services,
  .footer-col-links {
    text-align: left !important;
  }

  .footer-logo {
    display: inline-block !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .footer-brand-desc {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  .footer-socials {
    justify-content: flex-start !important;
  }

  .footer-heading {
    text-align: left !important;
    margin-bottom: 16px !important;
  }

  .footer-nav-list {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .footer-nav-list a {
    text-align: left !important;
  }

  .footer-contact-list {
    align-items: flex-start !important;
  }

  .contact-item {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .contact-text-address,
  .contact-text-hours {
    text-align: left !important;
  }

  .footer-bottom-inner {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .copyright-text {
    text-align: left !important;
  }

  .back-to-top-btn {
    align-self: flex-start !important;
    margin: 0 !important;
    justify-content: flex-start !important;
  }

  /* -------------------------------------------------------------
     MOBILE RTL (ARABIC) OVERRIDES
     ------------------------------------------------------------- */
  html[dir="rtl"] .hero-container {
    align-items: flex-start !important;
    text-align: right !important;
  }

  html[dir="rtl"] .hero-content {
    text-align: right !important;
  }

  html[dir="rtl"] .hero-badge {
    margin: 0 0 14px auto !important;
    align-self: flex-start !important;
  }

  html[dir="rtl"] .hero-title {
    text-align: right !important;
  }

  html[dir="rtl"] .hero-description {
    text-align: right !important;
    margin: 0 0 24px auto !important;
  }

  html[dir="rtl"] .hero-actions {
    margin: 0 0 20px auto !important;
  }

  html[dir="rtl"] .etch-badge-wrapper {
    text-align: right !important;
    justify-content: flex-start !important;
  }

  html[dir="rtl"] .etch-badge-text {
    text-align: right !important;
  }

  html[dir="rtl"] .services-header,
  html[dir="rtl"] .materials-container .services-header,
  html[dir="rtl"] .services-subtitle,
  html[dir="rtl"] .services-title,
  html[dir="rtl"] .materials-container .services-title,
  html[dir="rtl"] .etch-content-col,
  html[dir="rtl"] .phenolic-top-row,
  html[dir="rtl"] .phenolic-top-left,
  html[dir="rtl"] .phenolic-top-right,
  html[dir="rtl"] .phenolic-top-right .etch-paragraph,
  html[dir="rtl"] .why-choose-content,
  html[dir="rtl"] .why-choose-title,
  html[dir="rtl"] .portfolio-header,
  html[dir="rtl"] .portfolio-title,
  html[dir="rtl"] .portfolio-desc,
  html[dir="rtl"] .steps-header,
  html[dir="rtl"] .steps-title,
  html[dir="rtl"] .steps-desc,
  html[dir="rtl"] .testimonials-header,
  html[dir="rtl"] .testimonials-subtitle-wrap,
  html[dir="rtl"] .testimonials-title,
  html[dir="rtl"] .cta-content-box,
  html[dir="rtl"] .cta-title,
  html[dir="rtl"] .cta-desc {
    text-align: right !important;
    margin-right: 0 !important;
    margin-left: auto !important;
  }

  html[dir="rtl"] .services-subtitle,
  html[dir="rtl"] .materials-container .services-subtitle,
  html[dir="rtl"] .testimonials-subtitle-wrap,
  html[dir="rtl"] .portfolio-tabs,
  html[dir="rtl"] .cta-btn-group,
  html[dir="rtl"] .phenolic-top-right .etch-action-row {
    justify-content: flex-start !important;
  }

  html[dir="rtl"] .footer-grid,
  html[dir="rtl"] .footer-col,
  html[dir="rtl"] .footer-col-brand,
  html[dir="rtl"] .footer-col-contact,
  html[dir="rtl"] .footer-col-services,
  html[dir="rtl"] .footer-col-links {
    text-align: right !important;
  }

  html[dir="rtl"] .footer-logo {
    margin-right: 0 !important;
    margin-left: auto !important;
  }

  html[dir="rtl"] .footer-brand-desc {
    text-align: right !important;
  }

  html[dir="rtl"] .footer-socials {
    justify-content: flex-start !important;
  }

  html[dir="rtl"] .footer-heading {
    text-align: right !important;
  }

  html[dir="rtl"] .footer-nav-list {
    align-items: flex-start !important;
    text-align: right !important;
  }

  html[dir="rtl"] .footer-nav-list a {
    text-align: right !important;
  }

  html[dir="rtl"] .footer-contact-list {
    align-items: flex-start !important;
  }

  html[dir="rtl"] .contact-item {
    justify-content: flex-start !important;
    text-align: right !important;
  }

  html[dir="rtl"] .contact-text-address,
  html[dir="rtl"] .contact-text-hours {
    text-align: right !important;
  }

  html[dir="rtl"] .footer-bottom-inner {
    align-items: flex-start !important;
    text-align: right !important;
  }

  html[dir="rtl"] .copyright-text {
    text-align: right !important;
  }

  html[dir="rtl"] .back-to-top-btn {
    align-self: flex-start !important;
    margin: 0 !important;
  }
}

/* ---------- RTL Support for New Sections ---------- */
/* ==========================================================================
   COMPREHENSIVE RTL ARABIC STYLING FOR NEW SECTIONS (ETCHING, PHENOLIC, MATERIALS, FAQ)
   ========================================================================== */

/* 1. Prevent SVG Product Samples & Industrial Plates from breaking in RTL */
html[dir="rtl"] [data-art] svg,
html[dir="rtl"] .art svg,
html[dir="rtl"] .etch-media-card svg,
html[dir="rtl"] .phenolic-display-board svg,
html[dir="rtl"] .texture-stage svg,
html[dir="rtl"] .material-art-box svg {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

html[dir="rtl"] [data-art] svg text,
html[dir="rtl"] .art svg text {
  direction: ltr !important;
  unicode-bidi: bidi-override !important;
  text-anchor: start !important;
}

/* 2. Arabic Typography Across All New Sections */
html[dir="rtl"] .etch-heading,
html[dir="rtl"] .material-name,
html[dir="rtl"] .faq-support-title,
html[dir="rtl"] .faq-q-text {
  font-family: var(--font-cairo), 'Cairo', sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.35 !important;
  text-align: right;
}

html[dir="rtl"] .etch-badge-text,
html[dir="rtl"] .services-subtitle span,
html[dir="rtl"] .phenolic-chip,
html[dir="rtl"] .faq-mid-label,
html[dir="rtl"] .live-status-text,
html[dir="rtl"] .faq-meta-badge,
html[dir="rtl"] .faq-tag-badge,
html[dir="rtl"] .faq-filter-btn {
  font-family: var(--font-cairo), 'Cairo', sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html[dir="rtl"] .etch-paragraph,
html[dir="rtl"] .etch-tick-text,
html[dir="rtl"] .etch-figcaption,
html[dir="rtl"] .material-caption,
html[dir="rtl"] .faq-header-desc,
html[dir="rtl"] .faq-support-desc,
html[dir="rtl"] .faq-answer-text,
html[dir="rtl"] .faq-trust-item span,
html[dir="rtl"] .faq-hours-pill span,
html[dir="rtl"] .faq-contact-text,
html[dir="rtl"] .faq-contact-link {
  font-family: var(--font-cairo), 'Cairo', sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.8 !important;
}

html[dir="rtl"] .etch-btn,
html[dir="rtl"] .faq-hero-btn {
  font-family: var(--font-cairo), 'Cairo', sans-serif !important;
  letter-spacing: 0 !important;
}

/* 3. Section Content Alignment in RTL */
html[dir="rtl"] .etch-content-col {
  text-align: right;
}

html[dir="rtl"] .etch-badge-wrapper {
  direction: rtl;
  justify-content: flex-start;
}

html[dir="rtl"] .etch-paragraph {
  text-align: right;
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] .etch-feature-list {
  direction: rtl;
  text-align: right;
  padding: 0;
}

html[dir="rtl"] .etch-feature-item {
  direction: rtl;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
}

html[dir="rtl"] .etch-tick-text {
  text-align: right;
}

html[dir="rtl"] .etch-action-row {
  justify-content: flex-start;
}

html[dir="rtl"] .etch-btn {
  direction: rtl;
  gap: 12px;
}

html[dir="rtl"] .etch-btn-arrow {
  transform: rotate(180deg);
  display: inline-block;
  transition: transform 0.25s ease;
}

html[dir="rtl"] .etch-btn:hover .etch-btn-arrow {
  transform: translateX(-5px) rotate(180deg);
}

/* 4. Figcaption in RTL */
html[dir="rtl"] .etch-figcaption {
  text-align: center;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 14px;
}

/* 5. Phenolic Tags Section in RTL */
html[dir="rtl"] .phenolic-top-left,
html[dir="rtl"] .phenolic-top-right {
  text-align: right;
}

html[dir="rtl"] .phenolic-chip {
  font-size: 13.5px;
  font-weight: 600;
  gap: 6px;
}

/* 6. Materials Section in RTL */
html[dir="rtl"] .material-info-box {
  text-align: right;
}

html[dir="rtl"] .material-name {
  font-size: 18px;
}

html[dir="rtl"] .material-accent-bar {
  margin-left: auto;
  margin-right: 0;
}

/* 7. FAQ Section in RTL */
html[dir="rtl"] .faq-support-card {
  text-align: right;
}

html[dir="rtl"] .faq-live-badge,
html[dir="rtl"] .faq-hours-pill {
  margin-left: auto;
  margin-right: 0;
}

html[dir="rtl"] .faq-trust-item {
  direction: rtl;
  justify-content: flex-start;
}

html[dir="rtl"] .faq-contact-row {
  direction: rtl;
  justify-content: flex-start;
}

html[dir="rtl"] .faq-question-btn {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .faq-q-left {
  direction: rtl;
}

html[dir="rtl"] .faq-card:hover .faq-q-text {
  transform: translateX(-4px);
}

html[dir="rtl"] .faq-card.open::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .faq-answer-text {
  text-align: right;
}

html[dir="rtl"] .faq-answer-meta {
  direction: rtl;
}

html[dir="rtl"] .faq-meta-cta:hover {
  transform: translateX(-4px);
}

/* 8. Contact / Quote Section in RTL */
html[dir="rtl"] .cinfo .shead {
  text-align: right;
  align-items: flex-start;
}

html[dir="rtl"] .cinfo .shead h2 {
  font-family: var(--font-cairo), 'Cairo', sans-serif !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
}

html[dir="rtl"] .cinfo dl > div {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .cinfo dt,
html[dir="rtl"] .cinfo dd {
  font-family: var(--font-cairo), 'Cairo', sans-serif !important;
}

html[dir="rtl"] .form {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .fld label,
html[dir="rtl"] .fld input,
html[dir="rtl"] .fld select,
html[dir="rtl"] .fld textarea,
html[dir="rtl"] .form-submit-btn,
html[dir="rtl"] .fstat {
  font-family: var(--font-cairo), 'Cairo', sans-serif !important;
  text-align: right;
}

html[dir="rtl"] .drop {
  direction: rtl;
}

html[dir="rtl"] .form-submit-btn:hover .ar {
  transform: translateX(-4px);
}

/* ==========================================================================
   GLOBAL SCROLL-TRIGGERED TEXT & ELEMENT ANIMATION ENGINE
   Applies smooth, progressive reveal animations across all sections on scroll
   ========================================================================== */

/* 1. Base Vertical Fade & Slide Up */
.anim-scroll-fade {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-scroll-fade.is-revealed,
.section-active .anim-scroll-fade,
.in-view .anim-scroll-fade {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Slide In From Left */
.anim-scroll-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-scroll-left.is-revealed,
.section-active .anim-scroll-left,
.in-view .anim-scroll-left {
  opacity: 1;
  transform: translateX(0);
}

/* 3. Slide In From Right */
.anim-scroll-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-scroll-right.is-revealed,
.section-active .anim-scroll-right,
.in-view .anim-scroll-right {
  opacity: 1;
  transform: translateX(0);
}

/* 4. Zoom / Scale Up for Showcase Cards & Boards */
.anim-scroll-scale {
  opacity: 0;
  transform: scale(0.93) translateY(18px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.anim-scroll-scale.is-revealed,
.section-active .anim-scroll-scale,
.in-view .anim-scroll-scale {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* 5. RTL Directional Flip for Horizontal Animations */
html[dir="rtl"] .anim-scroll-left {
  transform: translateX(32px);
}
html[dir="rtl"] .anim-scroll-left.is-revealed,
html[dir="rtl"] .section-active .anim-scroll-left,
html[dir="rtl"] .in-view .anim-scroll-left {
  transform: translateX(0);
}

html[dir="rtl"] .anim-scroll-right {
  transform: translateX(-32px);
}
html[dir="rtl"] .anim-scroll-right.is-revealed,
html[dir="rtl"] .section-active .anim-scroll-right,
html[dir="rtl"] .in-view .anim-scroll-right {
  transform: translateX(0);
}

/* Stagger Utilities */
.stagger-1 { transition-delay: 0.08s !important; }
.stagger-2 { transition-delay: 0.16s !important; }
.stagger-3 { transition-delay: 0.24s !important; }
.stagger-4 { transition-delay: 0.32s !important; }
.stagger-5 { transition-delay: 0.40s !important; }
.stagger-6 { transition-delay: 0.48s !important; }
.stagger-7 { transition-delay: 0.56s !important; }
.stagger-8 { transition-delay: 0.64s !important; }

/* Subtle title highlight text shimmer */
.text-shimmer-sweep {
  background: linear-gradient(110deg, #0F298F 0%, #1e40af 20%, #38bdf8 45%, #60a5fa 55%, #1e40af 80%, #0F298F 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerGlow 3.5s linear infinite;
  display: inline-block;
  will-change: background-position;
}
