/*
Theme Name: Flame Armor Theme
Theme URI: https://flamearmor.com/
Author: Full-Stack Developer
Description: Premium Custom Gutenberg WordPress Theme for Flame Armor Industrial Foam Factory.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flame-armor
*/

:root {
  --primary: #FFD000;
  --primary-rgb: 255, 208, 0;
  --primary-dark: #D97706;
  --primary-light: #FFFBEB;
  --secondary: #0F172A; /* Slate 900 */
  --secondary-light: #1E293B; /* Slate 800 */
  --secondary-rgb: 15, 23, 42;
  --text-main: #334155; /* Slate 700 */
  --text-light: #64748B; /* Slate 500 */
  --text-white: #FFFFFF;
  --bg-light: #F8FAFC; /* Slate 50 */
  --bg-white: #FFFFFF;
  --border-color: #E2E8F0;
  --border-color-dark: #334155;
  --danger: #EF4444;
  --success: #10B981;
  
  --font-ar: 'Inter', sans-serif;
  --font-en: 'Outfit', sans-serif;
  
  --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 0 1px 0 rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 20px 40px -10px rgba(217, 119, 6, 0.12), 0 0 1px 0 rgba(217, 119, 6, 0.2);
  --btn-shadow: 0 4px 14px 0 rgba(255, 208, 0, 0.3);
  --btn-shadow-hover: 0 6px 20px 0 rgba(217, 119, 6, 0.4);
  
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
}

/* ==========================================================================
   Dark Theme overrides (Injected via body.dark-theme class)
   ========================================================================== */
body.dark-theme {
  --secondary: #FFFFFF;
  --secondary-light: #1E293B;
  --text-main: #CBD5E1; /* Slate 300 */
  --text-light: #94A3B8; /* Slate 400 */
  --bg-light: #0B0F19; /* Lighter void slate */
  --bg-white: #0F172A; /* Slate 900 base background */
  --border-color: #1E293B; /* Slate 800 border */
  --primary-light: rgba(255, 208, 0, 0.06);
}

body.dark-theme h1, 
body.dark-theme h2, 
body.dark-theme h3, 
body.dark-theme h4, 
body.dark-theme h5, 
body.dark-theme h6 {
  color: #FFFFFF;
}

body.dark-theme .top-bar {
  background-color: #070A13;
}

body.dark-theme .site-header {
  background-color: rgba(15, 23, 42, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .site-header.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
}

body.dark-theme .highlight-card {
  background-color: #0F172A;
  border-bottom-color: #1E293B;
}

body.dark-theme .highlight-card:hover {
  border-bottom-color: var(--primary);
  background-color: #1E293B;
}

body.dark-theme .product-card {
  background-color: #0F172A;
  border-color: #1E293B;
}

body.dark-theme .product-img-wrapper {
  background-color: #0B0F19;
}

body.dark-theme .product-card:hover {
  border-color: var(--primary);
  background-color: #131A2D;
}

body.dark-theme .product-specs {
  border-top-color: #1E293B;
  border-bottom-color: #1E293B;
}

body.dark-theme .product-specs li strong {
  color: #FFFFFF;
}

body.dark-theme .faq-item {
  background-color: #0F172A;
  border-color: #1E293B;
}

body.dark-theme .faq-item.active {
  border-color: var(--primary-dark);
}

body.dark-theme .faq-answer {
  background-color: #0F172A;
}

body.dark-theme .faq-answer p {
  border-top-color: #1E293B;
}

body.dark-theme .map-card {
  background-color: #0F172A;
  border-color: #1E293B;
}

body.dark-theme .map-card iframe {
  filter: invert(90%) hue-rotate(180deg) opacity(0.85);
}

body.dark-theme .quote-interactive-summary {
  background-color: #070A13;
  border-color: #1E293B;
  border-left-color: var(--primary);
}

body.dark-theme .quote-interactive-summary h3 {
  color: #FFFFFF;
}

body.dark-theme .summary-item {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .summary-item .val {
  color: #FFFFFF;
}

body.dark-theme .quote-form-column {
  background-color: #0F172A;
  border-color: #1E293B;
}

body.dark-theme .form-group input, 
body.dark-theme .form-group select, 
body.dark-theme .form-group textarea {
  background-color: #070A13;
  border-color: #1E293B;
  color: #FFFFFF;
}

body.dark-theme .form-group input:focus, 
body.dark-theme .form-group select:focus, 
body.dark-theme .form-group textarea:focus {
  background-color: #0F172A;
  border-color: var(--primary);
}

body.dark-theme .site-footer {
  background-color: #070A13;
}

body.dark-theme .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .tds-modal .modal-content {
  background-color: #0F172A;
  border-color: #1E293B;
}

body.dark-theme .tds-modal input {
  background-color: #070A13;
  border-color: #1E293B;
  color: #FFFFFF;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-ar);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  text-align: left;
  direction: ltr;
}

/* Helpers */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* Scroll Reveal Base */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-en);
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--secondary);
  box-shadow: var(--btn-shadow);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--bg-white);
  box-shadow: var(--btn-shadow-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: var(--bg-white);
  color: var(--secondary);
  border-color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--secondary);
  color: var(--text-white);
}

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

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--bg-light);
  border-color: var(--text-light);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-full-width {
  width: 100%;
}

/* Badges & Section Headers */
.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-dark);
  background-color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 15px;
  border: 1px solid rgba(217, 119, 6, 0.15);
  font-family: var(--font-en);
}

.section-badge.badge-light {
  color: var(--primary);
  background-color: rgba(255, 208, 0, 0.1);
  border: 1px solid rgba(255, 208, 0, 0.2);
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 40px;
}

.section-header {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-header .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* TOP BAR */
.top-bar {
  background-color: var(--secondary);
  color: var(--text-light);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-color-dark);
  padding: 8px 0;
  font-family: var(--font-en);
  position: relative;
  z-index: 1001;
}

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

.top-contacts {
  display: flex;
  gap: 20px;
}

.top-contacts a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94A3B8;
}

.top-contacts a:hover {
  color: var(--primary);
}

.top-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cert-badge {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.lang-switch {
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

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

/* Theme Toggle Button */
.theme-toggle-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: #94A3B8;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--primary);
  border-color: var(--primary);
}

/* SITE HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 15px 0;
  transition: padding var(--transition), background-color var(--transition);
}

.site-header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  max-width: 180px;
  max-height: 55px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo-img.logo-dark {
  display: none;
}
.logo-img.logo-light {
  display: inline-block;
}

body.dark-theme .logo-img.logo-light {
  display: none;
}
body.dark-theme .logo-img.logo-dark {
  display: inline-block;
}

.logo-wrapper:hover .logo-img {
  transform: scale(1.05) rotate(3deg);
}

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

.brand-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.2;
  font-family: var(--font-en);
}

.brand-slogan {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 2px;
  font-family: var(--font-en);
}

/* Navigation menu */
.navigation-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-cta-mobile {
  display: none;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-nav-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--secondary);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 3px;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  height: 85vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--text-white);
  overflow: hidden;
}

/* Hero Badge Pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 208, 0, 0.12);
  border: 1px solid rgba(255, 208, 0, 0.35);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
  animation: fadeIn 0.7s ease forwards;
}

.hero-badge-icon {
  font-size: 1rem;
}

/* Hero floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 208, 0, 0.15);
  animation: float-particle 8s ease-in-out infinite;
}

.hero-particle:nth-child(1) { width: 80px; height: 80px; top: 15%; left: 10%; animation-delay: 0s; }
.hero-particle:nth-child(2) { width: 50px; height: 50px; top: 60%; left: 20%; animation-delay: 1.5s; }
.hero-particle:nth-child(3) { width: 120px; height: 120px; top: 30%; right: 8%; animation-delay: 3s; opacity: 0.5; }
.hero-particle:nth-child(4) { width: 35px; height: 35px; top: 70%; right: 25%; animation-delay: 4.5s; }
.hero-particle:nth-child(5) { width: 60px; height: 60px; bottom: 20%; left: 50%; animation-delay: 2s; }

@keyframes float-particle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50%       { transform: translateY(-25px) scale(1.1); opacity: 0.8; }
}

/* Hero Wave Divider (updated class) */
.hero-wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.hero-wave-divider svg {
  display: block;
  width: 100%;
  height: 70px;
}

/* Hero Stats Ticker Strip */
.hero-stats-ticker {
  background: linear-gradient(135deg, var(--secondary) 0%, #1a2744 100%);
  padding: 22px 0;
  border-bottom: 3px solid var(--primary);
  position: relative;
  z-index: 4;
}

body.dark-theme .hero-stats-ticker {
  background: linear-gradient(135deg, #070A13 0%, #0F172A 100%);
}

.hero-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-ticker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ticker-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-en);
  line-height: 1;
}

.ticker-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 4px;
  text-transform: uppercase;
}

.ticker-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .ticker-divider { display: none; }
  .hero-ticker-inner { gap: 12px 20px; }
  .ticker-number { font-size: 1.4rem; }
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 20%, rgba(15, 23, 42, 0.6) 80%);
  z-index: 1;
}

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

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

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 25px;
}

.hero-desc {
  font-size: 1.25rem;
  color: #FFC107; /* Warm primary gold for exceptional legibility and branding match */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); /* Stronger drop shadow for perfect contrast over the BG */
  margin-bottom: 35px;
  line-height: 1.8;
}

.hero-desc strong {
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* Hero Animations */
.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-up-delayed {
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.animate-fade-in-delayed {
  opacity: 0;
  animation: fadeIn 0.8s ease 0.4s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Wave Divider */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.hero-wave .shape-fill {
  fill: var(--bg-white);
}

/* HIGHLIGHTS SECTION */
.highlights-section {
  position: relative;
  z-index: 3;
  margin-top: -60px;
  padding-bottom: 60px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.highlight-card {
  background-color: var(--bg-white);
  padding: 35px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--card-shadow);
  border-bottom: 4px solid var(--border-color);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-bottom-color: var(--primary);
}

.highlight-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.highlight-card:hover .highlight-icon {
  background-color: var(--primary);
  color: var(--secondary);
  transform: scale(1.1);
}

.highlight-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.highlight-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* STATS SECTION */
.stats-section {
  position: relative;
  background-color: #0F172A;
  color: var(--text-white);
  padding: 100px 0;
  overflow: hidden;
}

body.dark-theme .stats-section {
  background-color: #070A13;
}

.stats-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
  background-image: radial-gradient(var(--primary) 1px, transparent 0);
  background-size: 24px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-item::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  width: 1px;
  height: 80%;
  background-color: rgba(255, 255, 255, 0.1);
}

.stat-item:last-child::after {
  display: none;
}

.number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.stat-number {
  font-family: var(--font-en);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #FFFFFF 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.stat-suffix {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.95rem;
  color: #94A3B8;
  margin-top: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ABOUT SECTION */
.about-section {
  padding: 120px 0;
  background-color: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.about-image-column {
  position: relative;
}

.image-wrapper {
  position: relative;
  z-index: 1;
}

.about-main-img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  border: 8px solid var(--bg-light);
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background-color: var(--secondary);
  color: var(--text-white);
  padding: 20px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.badge-num {
  font-family: var(--font-en);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: #94A3B8;
  margin-top: 5px;
}

.pattern-overlay {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(rgba(15, 23, 42, 0.1) 2px, transparent 0);
  background-size: 15px 15px;
  z-index: -1;
}

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

.about-lead {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-text {
  color: var(--text-light);
  margin-bottom: 35px;
  font-size: 1rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.value-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  background-color: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.25rem;
}

.value-info h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-weight: 800;
}

.value-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* PRODUCTS SECTION */
.products-section {
  background-color: var(--bg-light);
  padding: 120px 0;
}

.product-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.filter-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
  font-size: 0.9rem;
}

.filter-btn:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.filter-btn.active {
  background-color: var(--primary-dark);
  color: var(--text-white);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--primary);
}

.product-img-wrapper {
  position: relative;
  height: 280px;
  background-color: #F8FAFC;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.prod-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary);
  color: var(--primary);
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,208,0,0.3);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 3;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-specs {
  list-style: none;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  margin-bottom: 20px;
}

.product-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.product-specs li:last-child {
  margin-bottom: 0;
}

.product-specs li span {
  color: var(--text-light);
}

.product-specs li strong {
  color: var(--secondary);
  font-weight: 700;
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.product-actions .btn {
  flex: 1;
  padding: 10px;
  font-size: 0.85rem;
}

/* Product Category Badges (inside card image) */
.product-cat-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-cat-badge.afff {
  background-color: rgba(30, 64, 175, 0.9);
  color: #FFFFFF;
}

.product-cat-badge.arafff {
  background-color: rgba(124, 58, 237, 0.9);
  color: #FFFFFF;
}

.product-cat-badge.sfff {
  background-color: rgba(5, 150, 105, 0.9);
  color: #FFFFFF;
}

/* Eco / PFAS-Free Badge */
.eco-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(5, 150, 105, 0.95);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Packaging Display Row */
.product-packaging {
  margin-bottom: 18px;
}

.packaging-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  display: block;
  margin-bottom: 8px;
}

.packaging-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pkg-option {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--secondary);
}

.pkg-option i {
  color: var(--primary);
}

/* SFFF filter button styling */
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-btn i {
  font-size: 0.85rem;
}

/* CERTIFICATIONS SECTION */
/* ==========================================================================
   CREATIVE REDESIGN: CERTIFICATIONS & REPORTS VAULT
   ========================================================================== */

/* Section Layout Split */
.certificates-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
  padding: 120px 0;
  color: var(--text-main);
  overflow: hidden;
  transition: var(--transition);
}

body.dark-theme .certificates-section {
  background: linear-gradient(180deg, #090D16 0%, #05070C 100%);
  color: var(--text-white);
}

/* Background pattern representing fluid wave contours of firefighting foam liquid */
.certificates-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'%3E%3Cpath d='M0 20 C 40 10, 40 30, 80 20 C 120 10, 120 30, 160 20' fill='none' stroke='%23D97706' stroke-width='0.75' stroke-opacity='0.12'/%3E%3Cpath d='M0 10 C 40 20, 40 0, 80 10 C 120 20, 120 0, 160 10' fill='none' stroke='%23D97706' stroke-width='0.75' stroke-opacity='0.06'/%3E%3C/svg%3E");
  background-size: 160px 40px;
  pointer-events: none;
  z-index: 2;
}

body.dark-theme .certificates-bg-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='40' viewBox='0 0 160 40'%3E%3Cpath d='M0 20 C 40 10, 40 30, 80 20 C 120 10, 120 30, 160 20' fill='none' stroke='%23FFD000' stroke-width='0.75' stroke-opacity='0.08'/%3E%3Cpath d='M0 10 C 40 20, 40 0, 80 10 C 120 20, 120 0, 160 10' fill='none' stroke='%23FFD000' stroke-width='0.75' stroke-opacity='0.04'/%3E%3C/svg%3E");
}

/* Soft glowing warm-gold and fire-red radial highlights behind dashboard and document grids */
.certificates-section::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 208, 0, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.certificates-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

body.dark-theme .certificates-section::before {
  background: radial-gradient(circle, rgba(255, 208, 0, 0.08) 0%, transparent 70%);
}

body.dark-theme .certificates-section::after {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.06) 0%, transparent 70%);
}

.certifications-layout-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 60px;
  position: relative;
  z-index: 3;
}

@media (min-width: 992px) {
  .certifications-layout-wrapper {
    grid-template-columns: 380px 1fr;
    align-items: start;
  }
}

/* LEFT SIDE: Interactive Dashboard */
.cert-interactive-dashboard {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.03), 0 0 1px 0 rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

body.dark-theme .cert-interactive-dashboard {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.cert-radar-graphic {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 208, 0, 0.25);
  transition: var(--transition);
}

.ring-outer {
  width: 180px;
  height: 180px;
  animation: rotateClockwise 25s linear infinite;
  border-style: dotted;
}

.ring-middle {
  width: 140px;
  height: 140px;
  animation: rotateCounterClockwise 15s linear infinite;
  border-color: rgba(255, 208, 0, 0.4);
}

.ring-inner {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 208, 0, 0.15) 0%, transparent 70%);
  border: 1px solid rgba(255, 208, 0, 0.5);
}

.radar-shield {
  font-size: 2.5rem;
  color: var(--primary-dark);
  filter: drop-shadow(0 0 10px rgba(255, 208, 0, 0.4));
  animation: pulseGlow 3s ease-in-out infinite;
  z-index: 2;
}

body.dark-theme .radar-shield {
  color: var(--primary);
}

.dashboard-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
}

body.dark-theme .dashboard-title {
  color: var(--text-white);
}

.dashboard-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 30px;
}

body.dark-theme .dashboard-desc {
  color: #94A3B8;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 25px;
}

body.dark-theme .dashboard-stats {
  border-top-color: rgba(255, 255, 255, 0.06);
}

.stat-box {
  background: rgba(15, 23, 42, 0.02);
  border-radius: var(--border-radius-sm);
  padding: 15px 10px;
  border: 1px solid rgba(15, 23, 42, 0.04);
}

body.dark-theme .stat-box {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.02);
}

.hub-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: block;
}

body.dark-theme .hub-stat-number {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(255, 208, 0, 0.2);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 4px;
}

/* RIGHT SIDE: Balanced Card Grid */
.cert-masonry-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 576px) {
  .cert-masonry-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  /* If there's an odd number of cards (currently 5), let the last child span across both columns for perfect balance */
  .cert-masonry-list > div:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

.cert-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px 6px 24px 6px;
  padding: 35px 30px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.dark-theme .cert-card {
  background: rgba(30, 41, 59, 0.35);
  border-color: rgba(255, 255, 255, 0.04);
  box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
}

.cert-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 100%, rgba(255, 208, 0, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

body.dark-theme .cert-card::after {
  background: radial-gradient(circle at 100% 100%, rgba(255, 208, 0, 0.05) 0%, transparent 60%);
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 208, 0, 0.4);
  box-shadow: 0 20px 40px -15px rgba(255, 208, 0, 0.15);
}

body.dark-theme .cert-card:hover {
  border-color: rgba(255, 208, 0, 0.6);
  box-shadow: 0 22px 45px -12px rgba(255, 208, 0, 0.25);
  background: rgba(30, 41, 59, 0.5);
}

/* Card Header */
.cert-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cert-stamp-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 208, 0, 0.08) 0%, rgba(255, 208, 0, 0.2) 100%);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid rgba(255, 208, 0, 0.25);
  transition: var(--transition);
}

body.dark-theme .cert-stamp-badge {
  background: linear-gradient(135deg, rgba(255, 208, 0, 0.1) 0%, rgba(255, 208, 0, 0.3) 100%);
  color: var(--primary);
  border-color: rgba(255, 208, 0, 0.35);
}

.cert-card:hover .cert-stamp-badge {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 0 15px rgba(255, 208, 0, 0.25);
}

.cert-verification-seal {
  font-size: 1.8rem;
  color: rgba(255, 208, 0, 0.15);
  transition: var(--transition);
}

body.dark-theme .cert-verification-seal {
  color: rgba(255, 208, 0, 0.08);
}

.cert-card:hover .cert-verification-seal {
  color: rgba(255, 208, 0, 0.45);
  transform: rotate(-10deg) scale(1.05);
}

/* Card Body */
.cert-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.4;
  margin-bottom: 10px;
}

body.dark-theme .cert-card-title {
  color: var(--text-white);
}

.cert-card-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 0;
}

body.dark-theme .cert-card-desc {
  color: #94A3B8;
}


/* ==========================================
   LABORATORY TEST REPORTS: DOCUMENT VAULT
   ========================================== */
.test-reports-area {
  margin-top: 130px;
  padding-top: 80px;
  border-top: 1px dashed rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 3;
}

body.dark-theme .test-reports-area {
  border-top-color: rgba(255, 255, 255, 0.05);
}

/* Background pattern representing micro-bubbles of expanded firefighting foam */
.reports-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='15' cy='15' r='5' fill='none' stroke='%23EF4444' stroke-width='0.75' stroke-opacity='0.12'/%3E%3Ccircle cx='45' cy='25' r='8' fill='none' stroke='%23EF4444' stroke-width='0.75' stroke-opacity='0.08'/%3E%3Ccircle cx='65' cy='55' r='4' fill='none' stroke='%23EF4444' stroke-width='0.75' stroke-opacity='0.15'/%3E%3Ccircle cx='25' cy='60' r='10' fill='none' stroke='%23EF4444' stroke-width='0.75' stroke-opacity='0.06'/%3E%3Ccircle cx='55' cy='70' r='6' fill='none' stroke='%23EF4444' stroke-width='0.75' stroke-opacity='0.1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
}

body.dark-theme .reports-bg-pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='15' cy='15' r='5' fill='none' stroke='%23EF4444' stroke-width='0.75' stroke-opacity='0.1'/%3E%3Ccircle cx='45' cy='25' r='8' fill='none' stroke='%23EF4444' stroke-width='0.75' stroke-opacity='0.06'/%3E%3Ccircle cx='65' cy='55' r='4' fill='none' stroke='%23EF4444' stroke-width='0.75' stroke-opacity='0.12'/%3E%3Ccircle cx='25' cy='60' r='10' fill='none' stroke='%23EF4444' stroke-width='0.75' stroke-opacity='0.04'/%3E%3Ccircle cx='55' cy='70' r='6' fill='none' stroke='%23EF4444' stroke-width='0.75' stroke-opacity='0.08'/%3E%3C/svg%3E");
}

.reports-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 5;
}

.reports-badge {
  display: block;
  width: max-content;
  margin: 0 auto 20px auto;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--danger);
  background-color: rgba(239, 68, 68, 0.06);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(239, 68, 68, 0.15);
  font-family: var(--font-en);
}

body.dark-theme .reports-badge {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
}

.reports-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary) !important;
  margin-bottom: 12px;
  transition: var(--transition);
  position: relative;
  display: block;
}

body.dark-theme .reports-main-title {
  color: var(--text-white) !important;
}

.reports-title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--danger), transparent);
  border-radius: 2px;
  margin: 0 auto 20px auto;
}

.reports-main-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-light) !important;
  max-width: 750px;
  margin: 0 auto;
  transition: var(--transition);
}

body.dark-theme .reports-main-desc {
  color: #94A3B8 !important;
}

/* Reports vault tabs filter */
.reports-vault-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 45px;
}

.report-filter-btn {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text-main);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.dark-theme .report-filter-btn {
  background: rgba(30, 41, 59, 0.4);
  border-color: rgba(255, 255, 255, 0.06);
  color: #94A3B8;
}

.report-filter-btn i {
  font-size: 0.8rem;
  opacity: 0.8;
}

.report-filter-btn:hover {
  border-color: var(--danger);
  color: var(--danger);
  transform: translateY(-2px);
}

.report-filter-btn.active {
  background: var(--danger);
  border-color: var(--danger);
  color: var(--text-white);
  box-shadow: 0 8px 20px -8px rgba(239, 68, 68, 0.4);
}

body.dark-theme .report-filter-btn.active {
  background: var(--danger);
  border-color: var(--danger);
  color: var(--text-white);
}

/* Grid layout with sliding entries */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  transition: var(--transition);
}

/* Card styled like a file folder */
.report-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 0 16px 16px 16px; /* Folder look */
  padding: 30px 25px 25px 25px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.dark-theme .report-card {
  background: rgba(30, 41, 59, 0.25);
  border-color: rgba(255, 255, 255, 0.04);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

/* Folder tab index header */
.report-card::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -1px;
  width: 90px;
  height: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  clip-path: polygon(0 0, 75% 0, 100% 100%, 0 100%);
  z-index: 1;
}

body.dark-theme .report-card::before {
  background: #1e293b; /* Slate 800 matching card header area */
  border-color: rgba(255, 255, 255, 0.04);
}

.report-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 20px 40px -15px rgba(239, 68, 68, 0.15);
}

body.dark-theme .report-card:hover {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 20px 40px -15px rgba(239, 68, 68, 0.25);
  background: rgba(30, 41, 59, 0.4);
}

.report-card:hover::before {
  border-color: rgba(239, 68, 68, 0.3);
  background: #FFFFFF;
}

body.dark-theme .report-card:hover::before {
  border-color: rgba(239, 68, 68, 0.4);
  background: #233045;
}

/* Hide animation during filter transition */
.report-card.hide-card {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border: none;
  overflow: hidden;
}

/* File content wrapper */
.report-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.report-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.report-type-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--danger);
  background-color: rgba(239, 68, 68, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.pdf-icon-wrapper {
  position: relative;
  font-size: 2rem;
  color: var(--danger);
  transition: var(--transition);
}

.pdf-icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 36px;
  height: 36px;
  background-color: rgba(239, 68, 68, 0.1);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
}

.report-card:hover .pdf-icon-wrapper {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.4));
}

.report-card:hover .pdf-icon-bg {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

/* Body */
.report-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.4;
  margin-bottom: 8px;
  min-height: 48px; /* Alignment */
}

body.dark-theme .report-card-title {
  color: var(--text-white);
}

.report-card-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 18px;
}

body.dark-theme .report-card-desc {
  color: #94A3B8;
}

/* Barcode look for document codes */
.report-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  font-family: var(--font-en);
}

body.dark-theme .report-card-meta {
  color: #64748B;
  border-bottom-color: rgba(255, 255, 255, 0.04);
}

.report-code {
  font-weight: 500;
  background: rgba(15, 23, 42, 0.03);
  padding: 2px 8px;
  border-radius: 4px;
  border-left: 2px solid var(--danger);
  letter-spacing: 0.5px;
}

body.dark-theme .report-code {
  background: rgba(255, 255, 255, 0.03);
}

.report-size {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Custom premium download button with progress loading simulation */
.report-download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background-color: transparent;
  color: var(--secondary);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

body.dark-theme .report-download-btn {
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
}

.report-download-btn .btn-text {
  position: relative;
  z-index: 3;
  transition: var(--transition);
}

.report-download-btn .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  transition: var(--transition);
}

/* Sliding background for hover */
.report-download-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--secondary);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 2;
}

body.dark-theme .report-download-btn::after {
  background: var(--primary);
}

.report-download-btn:hover {
  color: var(--text-white) !important;
  border-color: var(--secondary);
  box-shadow: 0 6px 15px -6px rgba(15, 23, 42, 0.4);
}

body.dark-theme .report-download-btn:hover {
  color: #0F172A !important;
  border-color: var(--primary);
  box-shadow: 0 6px 15px -6px rgba(255, 208, 0, 0.4);
}

.report-download-btn:hover::after {
  left: 0;
}

.report-download-btn:hover .btn-icon {
  transform: translateY(3px);
}

/* PROGRESS BAR LOADING SIMULATION (JS trigger class) */
.report-download-btn.downloading {
  border-color: var(--danger) !important;
  color: var(--danger) !important;
  pointer-events: none;
}

body.dark-theme .report-download-btn.downloading {
  color: var(--danger) !important;
}

/* Progress filling bar */
.report-download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(239, 68, 68, 0.15);
  z-index: 1;
  transition: none;
}

.report-download-btn.downloading::before {
  width: 100%;
  transition: width 0.8s linear;
}

/* COMPLETE STATE */
.report-download-btn.download-complete {
  background-color: var(--success) !important;
  border-color: var(--success) !important;
  color: var(--text-white) !important;
  pointer-events: none;
}

/* CSS Animations */
@keyframes rotateClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(255, 208, 0, 0.4)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 20px rgba(255, 208, 0, 0.7)); }
}

/* RTL Specific Overrides for Stagger Layout */
html[dir="rtl"] .certifications-layout-wrapper,
html.ar-font-active .certifications-layout-wrapper {
  direction: rtl;
}

@media (min-width: 992px) {
  html[dir="rtl"] .certifications-layout-wrapper,
  html.ar-font-active .certifications-layout-wrapper {
    grid-template-columns: 1fr 380px; /* Switch columns on RTL desktop */
  }
}

html[dir="rtl"] .cert-card,
html.ar-font-active .cert-card {
  text-align: right;
  border-radius: 6px 24px 6px 24px; /* Flip asymmetrical border */
}

html[dir="rtl"] .cert-card::after,
html.ar-font-active .cert-card::after {
  background: radial-gradient(circle at 0% 100%, rgba(255, 208, 0, 0.04) 0%, transparent 60%);
}

body.dark-theme html[dir="rtl"] .cert-card::after,
body.dark-theme html.ar-font-active .cert-card::after {
  background: radial-gradient(circle at 0% 100%, rgba(255, 208, 0, 0.05) 0%, transparent 60%);
}

html[dir="rtl"] .cert-stamp-badge,
html.ar-font-active .cert-stamp-badge {
  order: 2;
}

html[dir="rtl"] .cert-verification-seal,
html.ar-font-active .cert-verification-seal {
  order: 1;
}

html[dir="rtl"] .report-card,
html.ar-font-active .report-card {
  text-align: right;
  border-radius: 16px 0 16px 16px; /* Folder look flipped */
}

html[dir="rtl"] .report-card::before,
html.ar-font-active .report-card::before {
  left: auto;
  right: -1px;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}

html[dir="rtl"] .report-code,
html.ar-font-active .report-code {
  border-left: none;
  border-right: 2px solid var(--danger);
}

/* QUOTE SECTION */
.quote-section {
  padding: 120px 0;
  background-color: var(--bg-white);
}

.quote-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: center;
}

.quote-info-column .section-badge {
  margin-bottom: 15px;
}

.quote-info-desc {
  color: var(--text-light);
  margin-bottom: 35px;
}

/* B2B Calculator Visual Panel */
.quote-interactive-summary {
  background-color: var(--bg-light);
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 30px;
  position: relative;
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--secondary);
}

.quote-interactive-summary h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item .lbl {
  color: var(--text-light);
  font-size: 0.9rem;
}

.summary-item .val {
  font-weight: 700;
  color: var(--secondary);
}

.summary-item .val.highlight-orange {
  color: var(--primary-dark);
  font-size: 1.1rem;
  font-family: var(--font-en);
}

.summary-note {
  font-size: 0.75rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

/* Quote Form Column */
.quote-form-column {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow-hover);
  border: 1px solid var(--border-color);
  padding: 40px;
}

.form-heading {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--secondary);
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  color: var(--secondary);
  font-weight: 600;
  transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  background-color: var(--bg-white);
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* Form responses styles */
.form-feedback {
  margin-top: 15px;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  display: none;
  text-align: center;
}
.form-feedback.success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: block;
}
.form-feedback.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: block;
}

/* CONTACT & FAQ SECTION */
.contact-section {
  padding: 120px 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 45px;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.icon-circle {
  width: 50px;
  height: 50px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--primary-dark);
  font-size: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.contact-detail-item:hover .icon-circle {
  background-color: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  transform: scale(1.1);
}

.det-info h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.det-info p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.det-info a:hover {
  color: var(--primary-dark);
}

/* FAQ Accordion */
.faq-wrapper h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 25px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question i {
  color: var(--text-light);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-dark);
  background-color: rgba(255, 208, 0, 0.02);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background-color: var(--bg-white);
}

.faq-answer p {
  padding: 0 20px 20px 20px;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.faq-item.active {
  border-color: var(--primary-dark);
  box-shadow: var(--card-shadow);
}

.faq-item.active .faq-question {
  color: var(--primary-dark);
}

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

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-answer p {
  border-top-color: var(--bg-light);
}

/* Map Column Styling */
.map-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  padding: 30px;
}

.map-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.map-iframe-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

.map-address-details p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.map-address-details p i {
  color: var(--primary-dark);
  margin-top: 3px;
}

/* SITE FOOTER */
.site-footer {
  background-color: var(--secondary);
  color: #94A3B8;
  padding: 80px 0 30px 0;
  font-size: 0.9rem;
  border-top: 4px solid var(--primary-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr 1.8fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--text-white);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

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

.bg-white-circle {
  background-color: white;
  border-radius: 50%;
  padding: 4px;
}

.text-gold {
  color: var(--primary) !important;
}

.brand-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--secondary);
  transform: translateY(-3px);
}

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

.footer-links a {
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.btn-tds-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 208, 0, 0.1);
  border: 1px solid rgba(255, 208, 0, 0.2);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 10px;
}

.btn-tds-download:hover {
  background-color: var(--primary);
  color: var(--secondary);
}

/* Newsletter styles */
.newsletter-col p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
  padding: 12px 15px;
  color: var(--text-white);
  font-size: 0.85rem;
}

.newsletter-form button {
  background-color: var(--primary);
  color: var(--secondary);
  border: none;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  padding: 0 20px;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--primary-dark);
  color: var(--text-white);
}

.newsletter-feedback {
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  display: none;
}
.newsletter-feedback.success {
  color: var(--success);
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 15px;
}

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

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

/* TDS DOWNLOAD MODAL */
.tds-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.tds-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 90%;
  max-width: 500px;
  padding: 40px;
  position: relative;
  z-index: 2;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
}

.tds-modal.open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition-fast);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.modal-close:hover {
  color: var(--danger);
  background-color: var(--bg-light);
}

.modal-header-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.modal-body {
  text-align: center;
}

.modal-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.modal-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.6;
}

.modal-body form {
  text-align: left;
}

.modal-feedback {
  margin-top: 15px;
  font-size: 0.85rem;
  font-weight: 700;
  display: none;
  text-align: center;
}
.modal-feedback.success {
  color: var(--success);
  display: block;
}

/* RESPONSIVE DESIGN - MEDIA QUERIES */

/* Compact desktop menu for smaller laptops / screens between 1101px and 1250px */
@media (min-width: 1101px) and (max-width: 1250px) {
  .nav-list {
    gap: 15px;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .navigation-menu {
    gap: 15px;
  }
  .brand-name {
    font-size: 1.25rem;
  }
  .logo-img {
    width: 42px;
    height: 46px;
  }
}

@media (max-width: 1100px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .highlights-section {
    padding-bottom: 30px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .stat-item::after {
    display: none;
  }
  .about-grid, .quote-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .about-main-img {
    height: 380px;
  }

  /* Collapse Navigation to Mobile Hamburger Drawer at 1100px (Tablets & Mobile) */
  .top-bar {
    display: block;
    padding: 8px 0;
  }

  .top-bar-container {
    display: flex;
    justify-content: center;
  }

  .top-contacts,
  .top-links .cert-badge {
    display: none !important;
  }

  .top-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    width: 100%;
    margin: 0;
  }
  
  .site-header {
    padding: 10px 0;
  }
  
  .mobile-nav-toggle {
    display: block;
    z-index: 1100;
  }
  
  .mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .navigation-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    z-index: 1000;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px 30px;
    gap: 30px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .navigation-menu.open {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  
  .nav-link {
    font-size: 1.1rem;
    display: block;
    width: 100%;
  }
  
  .header-cta {
    display: none;
  }
  
  .header-cta-mobile {
    display: block;
    width: 100%;
    margin-top: 20px;
  }
}


@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  
  .hero-section {
    height: auto;
    padding: 120px 0 80px 0;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .hero-desc {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .highlights-section {
    margin-top: -30px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .certificates-grid {
    grid-template-columns: 1fr;
  }
  
  .experience-badge {
    bottom: -15px;
    left: 10px;
    padding: 12px 20px;
  }
  
  .badge-num {
    font-size: 2rem;
  }
  
  .form-row-2, .form-row-3 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .quote-form-column {
    padding: 25px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   PREMIUM HERO SECTION (STRIPE LAYOUT)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh !important;
  display: flex;
  align-items: center;
  padding: 100px 0;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  background-color: var(--primary-light);
  border: 1px solid rgba(255, 94, 0, 0.15);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 25px;
  font-family: var(--font-en);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--primary);
}

.hero-title {
  font-size: 2.8rem !important;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 25px;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: #FFC107 !important; /* Warm gold for high legibility over dark industrial bg */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); /* Drop shadow to pop text against dark background */
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 50px;
}

.hero-trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 25px;
}

.trust-badge {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-badge i {
  color: var(--primary);
}

/* Premium Showcase Pedestal (Right column Hero) */
.hero-visual-column {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.showcase-container {
  position: relative;
  width: 320px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pedestal-glow {
  position: absolute;
  bottom: 30px;
  width: 220px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 94, 0, 0.25) 0%, transparent 70%);
  z-index: 1;
}

.pedestal-circle {
  position: absolute;
  bottom: 25px;
  width: 260px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(255, 94, 0, 0.15);
  background-color: rgba(255, 94, 0, 0.02);
  transform: rotateX(60deg);
  z-index: 2;
  box-shadow: inset 0 0 15px rgba(255, 94, 0, 0.1);
}

.showcase-product-img {
  width: 210px;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
  animation: floatProduct 5s ease-in-out infinite;
}

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

/* Floating Glass Tags */
.floating-tag {
  position: absolute;
  background-color: rgba(15, 21, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-radius: var(--border-radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 4;
  transition: var(--transition);
}

.floating-tag:hover {
  transform: translateY(-2px);
  border-color: rgba(255,94,0,0.3);
}

.tag-top {
  top: 60px;
  right: -30px;
}

.tag-bottom {
  bottom: 80px;
  left: -40px;
}

.floating-tag .icon {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 94, 0, 0.1);
  color: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.floating-tag h4 {
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
}

.floating-tag p {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 2px;
}

.btn-primary-premium {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: var(--btn-shadow);
}

.btn-primary-premium:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--btn-shadow-hover);
  transform: translateY(-2px);
}

.btn-secondary-premium {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-white);
}

/* ==========================================================================
   RESPONSIVE — HERO GRID & NEW ELEMENTS
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-visual-column {
    display: none; /* hide showcase on small laptops — content first */
  }

  .hero-content {
    max-width: 700px;
    margin: 0 auto;
  }

  .trust-badges {
    justify-content: center;
  }

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

  .tag-top, .tag-bottom {
    display: none;
  }
}

@media (max-width: 768px) {
  .product-filters {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .filter-btn {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .packaging-options {
    gap: 6px;
  }

  .pkg-option {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

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

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

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-badge {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .hero-buttons .btn {
    text-align: center;
  }

  .product-cat-badge,
  .eco-badge {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .pkg-option {
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   11. GALLERY SECTION & LIGHTBOX SYSTEM
   ========================================================================== */
.gallery-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.gallery-filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--secondary);
  box-shadow: 0 4px 12px rgba(255, 208, 0, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.gallery-item-wrapper {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background-color: #0F172A;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  background-color: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-item-icon {
  transform: scale(1);
}

.gallery-item-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.gallery-item-caption {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Lightbox Modal Styles */
.fa-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(7, 10, 19, 0.95);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.fa-lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 3.5rem;
  color: #FFFFFF;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
  z-index: 100000;
}

.lightbox-close:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 100000;
}

.lightbox-nav:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--secondary);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-caption-box {
  text-align: center;
  margin-top: 20px;
  color: #FFFFFF;
  max-width: 600px;
}

.lightbox-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.lightbox-desc {
  font-size: 0.9rem;
  color: #94A3B8;
}

/* Lightbox Mobile Adjustments */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 15px; right: 20px; font-size: 2.8rem; }
  .lightbox-content { max-width: 92%; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-section {
    padding: 60px 0;
  }
  .lightbox-caption-box {
    margin-top: 15px;
  }
  .lightbox-title {
    font-size: 1.1rem;
  }
  .lightbox-desc {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   12. GOOGLE TRANSLATE CUSTOM STYLE WRAPPERS
   ========================================================================== */
/* Hide native Google Translate toolbar & overlays */
.skiptranslate,
#google_translate_element,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
}

body {
  top: 0 !important;
}

.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Dynamic Arabic Font Swaps */
html.ar-font-active,
html.ar-font-active body,
html.ar-font-active h1,
html.ar-font-active h2,
html.ar-font-active h3,
html.ar-font-active h4,
html.ar-font-active h5,
html.ar-font-active h6,
html.ar-font-active p,
html.ar-font-active a,
html.ar-font-active button,
html.ar-font-active span,
html.ar-font-active input,
html.ar-font-active select,
html.ar-font-active textarea,
html.ar-font-active option {
  font-family: 'Cairo', 'Inter', sans-serif !important;
}

/* Lang toggle styling in Top Bar */
.lang-switch {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  padding: 4px 10px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.lang-switch:hover {
  background-color: var(--primary);
  color: var(--secondary) !important;
}

/* ==========================================================================
   13. DARK MODE CRITICAL BUTTON & ELEMENT COLOR FIXES
   ========================================================================== */
/* Fix btn-primary colors in dark mode */
body.dark-theme .btn-primary {
  color: #0F172A !important; /* Keep dark readable text on yellow background */
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
}

body.dark-theme .btn-primary:hover {
  color: #FFFFFF !important;
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

/* Fix premium hero button */
body.dark-theme .btn-primary-premium {
  color: #0F172A !important;
}

body.dark-theme .btn-primary-premium:hover {
  color: #FFFFFF !important;
}

/* Fix btn-accent white-on-white text in dark mode */
body.dark-theme .btn-accent {
  background-color: #FFFFFF !important; /* Standout background */
  color: #0F172A !important; /* Keep text dark and readable */
}

body.dark-theme .btn-accent:hover {
  background-color: var(--primary) !important;
  color: #0F172A !important;
}

/* Fix btn-secondary hover invisible color in dark mode */
body.dark-theme .btn-secondary:hover {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
  border-color: #FFFFFF !important;
}

/* Fix block theme-style buttons inside modal and contact sections */
body.dark-theme .tds-modal .btn-primary {
  color: #0F172A !important;
}

body.dark-theme .tds-modal .btn-primary:hover {
  color: #FFFFFF !important;
}

/* Gallery Section in Dark Theme */
body.dark-theme .gallery-section {
  background-color: #070A13;
}

body.dark-theme .gallery-filter-btn {
  background-color: #0F172A;
  border-color: #1E293B;
  color: #CBD5E1;
}

body.dark-theme .gallery-filter-btn:hover {
  border-color: var(--primary);
  color: #FFFFFF;
}

body.dark-theme .gallery-filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #0F172A;
}

body.dark-theme .gallery-item {
  border-color: #1E293B;
}

/* General clean readable page content wrapper for simple pages */
.entry-content {
  padding: 40px 0 80px 0;
}

/* Pages using full-width Lazy Blocks: remove wrapper padding (each block manages its own) */
.entry-content > [class*="wp-block-lazyblock"]:first-child ~ *,
.entry-content:has(> [class*="wp-block-lazyblock"]) {
  padding-top: 0;
  padding-bottom: 0;
}

.entry-content > :not(.alignfull):not(.alignwide):not(section):not(div.scroll-reveal):not(form):not([class*="wp-block-lazyblock"]):not([class*="wp-block-group"]):not([class*="wp-block-columns"]) {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 30px;
  margin-bottom: 15px;
}

/* ==========================================================================
   14. COMPREHENSIVE RTL (RIGHT-TO-LEFT) LAYOUT OVERRIDES
   ========================================================================== */
html[dir="rtl"],
html.ar-font-active,
html[dir="rtl"] body,
html.ar-font-active body {
  direction: rtl;
  text-align: right;
}

/* Top Bar & Header RTL */
html[dir="rtl"] .top-contacts a,
html.ar-font-active .top-contacts a {
  margin-right: 0;
  margin-left: 20px;
}

html[dir="rtl"] .top-contacts a i,
html.ar-font-active .top-contacts a i {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .cert-badge,
html.ar-font-active .cert-badge {
  margin-right: 0;
  margin-left: 15px;
}

html[dir="rtl"] .cert-badge i,
html.ar-font-active .cert-badge i {
  margin-right: 0;
  margin-left: 6px;
}

/* Hero Section RTL */
html[dir="rtl"] .hero-grid,
html.ar-font-active .hero-grid {
  direction: rtl;
}

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

/* Hero Badge RTL: No overrides needed since flex layout with gap auto-flips in RTL */

html[dir="rtl"] .hero-buttons,
html.ar-font-active .hero-buttons {
  justify-content: flex-start;
}

html[dir="rtl"] .trust-badges,
html.ar-font-active .trust-badges {
  justify-content: flex-start;
}

html[dir="rtl"] .trust-badge i,
html.ar-font-active .trust-badge i {
  margin-right: 0;
  margin-left: 6px;
}

/* Highlights Section RTL */
html[dir="rtl"] .highlight-card,
html.ar-font-active .highlight-card {
  text-align: right;
}

html[dir="rtl"] .highlight-icon,
html.ar-font-active .highlight-icon {
  margin-right: 0;
  margin-left: 20px;
}

html[dir="rtl"] .highlight-info h3 i,
html.ar-font-active .highlight-info h3 i {
  margin-left: 0;
  margin-right: 8px;
}

/* About Us Section RTL */
html[dir="rtl"] .about-grid,
html.ar-font-active .about-grid {
  direction: rtl;
}

html[dir="rtl"] .about-content-column,
html.ar-font-active .about-content-column {
  text-align: right;
}

html[dir="rtl"] .about-bullets li,
html.ar-font-active .about-bullets li {
  padding-left: 0;
  padding-right: 30px;
  text-align: right;
}

html[dir="rtl"] .about-bullets li::before,
html.ar-font-active .about-bullets li::before {
  left: auto;
  right: 0;
  content: "\f00c"; /* check icon */
}

html[dir="rtl"] .experience-badge,
html.ar-font-active .experience-badge {
  left: auto;
  right: -20px;
  border-left: none;
  border-right: 5px solid var(--primary);
}

/* Stats Section RTL */
html[dir="rtl"] .stat-item,
html.ar-font-active .stat-item {
  text-align: right;
}

html[dir="rtl"] .stat-item::after,
html.ar-font-active .stat-item::after {
  right: auto;
  left: 0;
}

/* Products CPT Section RTL */
html[dir="rtl"] .product-cat-badge,
html.ar-font-active .product-cat-badge {
  left: auto;
  right: 15px;
}

html[dir="rtl"] .eco-badge,
html.ar-font-active .eco-badge {
  right: auto;
  left: 15px;
}

html[dir="rtl"] .product-info,
html.ar-font-active .product-info {
  text-align: right;
}

html[dir="rtl"] .pkg-option i,
html.ar-font-active .pkg-option i {
  margin-right: 0;
  margin-left: 5px;
}

/* Calculator Block RTL */
html[dir="rtl"] .quote-grid,
html.ar-font-active .quote-grid {
  direction: rtl;
}

html[dir="rtl"] .quote-info-column,
html.ar-font-active .quote-info-column,
html[dir="rtl"] .quote-form-column,
html.ar-font-active .quote-form-column {
  text-align: right;
}

html[dir="rtl"] .quote-interactive-summary,
html.ar-font-active .quote-interactive-summary {
  border-left: none;
  border-right: 4px solid var(--primary);
  text-align: right;
}

html[dir="rtl"] .summary-note i,
html.ar-font-active .summary-note i {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .quote-form-column label,
html.ar-font-active .quote-form-column label {
  text-align: right;
  display: block;
}

html[dir="rtl"] .form-feedback i,
html.ar-font-active .form-feedback i {
  margin-right: 0;
  margin-left: 8px;
}

/* Certifications Section RTL */
html[dir="rtl"] .certificates-section,
html.ar-font-active .certificates-section {
  text-align: right;
}

html[dir="rtl"] .cert-card,
html.ar-font-active .cert-card {
  text-align: right;
}

html[dir="rtl"] .cert-icon-box,
html.ar-font-active .cert-icon-box {
  margin-right: 0;
  margin-left: auto;
}

/* Contact & FAQ Section RTL */
html[dir="rtl"] .contact-grid,
html.ar-font-active .contact-grid {
  direction: rtl;
}

html[dir="rtl"] .contact-info-col,
html.ar-font-active .contact-info-col {
  text-align: right;
}

html[dir="rtl"] .contact-detail-item,
html.ar-font-active .contact-detail-item {
  text-align: right;
}

html[dir="rtl"] .contact-detail-item .icon-circle,
html.ar-font-active .contact-detail-item .icon-circle {
  margin-right: 0;
  margin-left: 20px;
}

html[dir="rtl"] .faq-wrapper h3,
html.ar-font-active .faq-wrapper h3 {
  text-align: right;
}

html[dir="rtl"] .faq-question,
html.ar-font-active .faq-question {
  text-align: right;
}

html[dir="rtl"] .faq-question i,
html.ar-font-active .faq-question i {
  margin-left: 0;
  margin-right: 10px;
}

html[dir="rtl"] .faq-answer p,
html.ar-font-active .faq-answer p {
  text-align: right;
}

/* Gallery Section RTL */
html[dir="rtl"] .gallery-section,
html.ar-font-active .gallery-section {
  text-align: right;
}

html[dir="rtl"] .gallery-item-overlay,
html.ar-font-active .gallery-item-overlay {
  text-align: right;
  justify-content: flex-end;
}

html[dir="rtl"] .gallery-item-icon,
html.ar-font-active .gallery-item-icon {
  right: auto;
  left: 20px;
}

/* Footer Section RTL */
html[dir="rtl"] .footer-grid,
html.ar-font-active .footer-grid {
  direction: rtl;
}

html[dir="rtl"] .footer-col,
html.ar-font-active .footer-col {
  text-align: right;
}

html[dir="rtl"] .footer-col h3::after,
html.ar-font-active .footer-col h3::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .footer-links li,
html.ar-font-active .footer-links li {
  text-align: right;
}

html[dir="rtl"] .footer-links li a i,
html.ar-font-active .footer-links li a i {
  margin-right: 0;
  margin-left: 8px;
}

html[dir="rtl"] .newsletter-form button,
html.ar-font-active .newsletter-form button {
  right: auto;
  left: 5px;
}

html[dir="rtl"] .footer-bottom,
html.ar-font-active .footer-bottom {
  justify-content: space-between;
}

/* Responsive adjustments for RTL */
@media (max-width: 1100px) {
  html[dir="rtl"] .hero-grid,
  html.ar-font-active .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html[dir="rtl"] .experience-badge,
  html.ar-font-active .experience-badge {
    right: 10px;
    left: auto;
  }
  html[dir="rtl"] .about-bullets li,
  html.ar-font-active .about-bullets li {
    text-align: right;
  }
  html[dir="rtl"] .footer-bottom,
  html.ar-font-active .footer-bottom {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
  }
  html[dir="rtl"] .footer-bottom-links,
  html.ar-font-active .footer-bottom-links {
    justify-content: center;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* RTL Support for Floating Button (moves to bottom-left) */
html[dir="rtl"] .whatsapp-float,
html.ar-font-active .whatsapp-float {
  right: auto;
  left: 30px;
}
