/* ==========================================================================
   TUOFA CNC MACHINING - HIGH-FIDELITY DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #ff6600;
  --primary-hover: #e65c00;
  --primary-glow: rgba(255, 102, 0, 0.25);
  --secondary: #0066cc;
  --secondary-hover: #0052a3;
  --dark-navy: #0b131f;
  --dark-surface: #111c2e;
  --dark-card: #16243b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-dark: #243552;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.top-bar {
  background: var(--dark-navy);
  color: var(--text-light);
  font-size: 12px;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid var(--border-dark);
  position: relative;
  z-index: 2000;
  overflow: visible !important;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px !important;
  position: relative;
  overflow: visible !important;
}

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

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item i {
  color: var(--primary);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 38px !important;
  position: relative;
  overflow: visible !important;
}

.badge-iso {
  background: rgba(0, 102, 204, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   CUSTOM COMPACT MULTI-LANGUAGE DROPDOWN & GOOGLE TRANSLATE ENGINE
   ========================================================================== */
.gtranslate_wrapper {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  z-index: 3000 !important;
}

/* Compact Pill Button */
.custom-lang-btn {
  height: 22px !important;
  line-height: 20px !important;
  padding: 0 8px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 4px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
}

.custom-lang-btn:hover,
.custom-lang-btn.active {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
}

.custom-lang-btn img {
  width: 14px !important;
  height: 10px !important;
  object-fit: cover !important;
  border-radius: 1px !important;
  display: inline-block !important;
}

.custom-lang-btn .arrow-icon {
  font-size: 8px !important;
  opacity: 0.8 !important;
  transition: transform 0.2s ease !important;
}

.custom-lang-btn.active .arrow-icon {
  transform: rotate(180deg) !important;
}

/* Full Floating Dropdown Menu (No scroll cutoff, fully displayed) */
.custom-lang-menu {
  position: absolute !important;
  top: calc(100% + 5px) !important;
  right: 0 !important;
  width: 185px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.35), 0 8px 10px -6px rgba(0, 0, 0, 0.2) !important;
  padding: 4px 0 !important;
  z-index: 9999999 !important;
  display: none;
  animation: fadeInDown 0.15s ease-out;
}

.custom-lang-menu.show {
  display: block !important;
}

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

.custom-lang-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 6px 12px !important;
  font-size: 11px !important;
  color: #334155 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}

.custom-lang-item-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.custom-lang-item img {
  width: 14px !important;
  height: 10px !important;
  object-fit: cover !important;
  border-radius: 1px !important;
}

.custom-lang-item:hover {
  background-color: #f1f5f9 !important;
  color: #ff6600 !important;
}

.custom-lang-item.selected {
  background-color: #fff7ed !important;
  color: #ea580c !important;
  font-weight: 600 !important;
}

.custom-lang-item .check-icon {
  font-size: 10px !important;
  color: #ea580c !important;
}

/* Hide Google Translate default banner frames and tooltip balloons */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.skiptranslate iframe {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0px !important;
}

.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

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

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-navy);
  letter-spacing: -0.5px;
}

.brand-logo .logo-box {
  background: var(--dark-navy);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 900;
  border: 1px solid var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--dark-navy);
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(255, 102, 0, 0.05);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  border-radius: var(--radius-sm);
}

.dropdown-item a:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 18px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.btn-outline-dark {
  background: transparent;
  color: var(--dark-navy);
  border: 2px solid var(--border-color);
}

.btn-outline-dark:hover {
  border-color: var(--dark-navy);
  background: var(--dark-navy);
  color: var(--white);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

/* ==========================================================================
   HERO SECTION (BANNER SLIDER)
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--dark-navy);
  color: var(--white);
  padding: 100px 0 120px;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  filter: saturate(1.2);
  transition: opacity 1s ease;
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 102, 0, 0.15);
  color: var(--primary);
  border: 1px solid rgba(255, 102, 0, 0.4);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 720px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar-section {
  position: relative;
  margin-top: -50px;
  z-index: 10;
}

.stats-card-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 28px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-color);
  padding-right: 20px;
}

.stat-item:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-number span.plus {
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--dark-navy);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* ==========================================================================
   VALUE PROPOSITIONS (6 CARDS)
   ========================================================================== */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.prop-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.prop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.prop-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 102, 0, 0.1);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.prop-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(255, 102, 0, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.prop-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 10px;
}

.prop-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CAPABILITIES / SERVICES CARDS
   ========================================================================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.capability-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 102, 0, 0.3);
}

.capability-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.capability-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.capability-card:hover .capability-img-box img {
  transform: scale(1.06);
}

.capability-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 19, 31, 0.85);
  color: var(--white);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.capability-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.capability-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 8px;
}

.capability-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

.capability-specs-mini {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 13px;
  margin-bottom: 18px;
}

.capability-specs-mini div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.capability-specs-mini div:last-child {
  margin-bottom: 0;
}

.capability-specs-mini span.label {
  color: var(--text-muted);
}

.capability-specs-mini span.val {
  font-weight: 600;
  color: var(--dark-navy);
}

.capability-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.capability-link:hover {
  color: var(--primary-hover);
  gap: 10px;
}

/* ==========================================================================
   MATERIALS MATRIX
   ========================================================================== */
.materials-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.mat-tab-btn {
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 30px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.mat-tab-btn.active, .mat-tab-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.material-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.material-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.material-grade {
  font-size: 12px;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.material-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 12px;
}

.material-props {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CTA BANNER SECTION
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-surface) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-navy);
}

.author-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
}

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

.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: var(--bg-light);
}

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

.faq-answer {
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
  border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark-navy);
  color: var(--text-light);
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-light);
  font-size: 14px;
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ==========================================================================
   INSTANT RFQ QUOTE MODAL
   ========================================================================== */
.rfq-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 31, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.rfq-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.rfq-modal-box {
  background: var(--white);
  width: 760px;
  max-width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 36px;
  position: relative;
}

.rfq-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.rfq-modal-close:hover {
  background: #e2e8f0;
  color: var(--primary);
}

.rfq-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 20px;
}

.rfq-dropzone:hover, .rfq-dropzone.dragover {
  border-color: var(--primary);
  background: rgba(255, 102, 0, 0.04);
}

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

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE SYSTEM (100% Mobile Optimized)
   ========================================================================== */

/* Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  transition: var(--transition);
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark-navy);
  border-radius: 2px;
  transition: all 0.25s ease-in-out;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Sticky Mobile Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  z-index: 9998;
  border-top: 1px solid var(--border-color);
}

.mobile-bottom-bar .btn {
  width: 100%;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.35);
}

/* --- Breakpoint: <= 1024px (Tablets / Small Laptops) --- */
@media (max-width: 1024px) {
  .hero-title { font-size: 40px; }
  .stats-card-wrapper { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .props-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* --- Breakpoint: <= 992px (Mobile / Tablet Portrait) --- */
@media (max-width: 992px) {
  .navbar {
    height: 64px;
  }

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

  .nav-actions {
    display: none; /* Instant Quote button moves into drawer or bottom bar */
  }

  /* Slide-Down Mobile Drawer Menu */
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 1050;
    display: flex;
  }

  .nav-menu.mobile-open {
    transform: translateX(0);
  }

  .nav-item {
    border-bottom: 1px solid var(--border-color);
  }

  .nav-link {
    padding: 16px 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-link.active {
    color: var(--primary);
    background: transparent;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 12px;
    background: var(--bg-light);
    margin-bottom: 10px;
    border-radius: var(--radius-sm);
  }
}

/* --- Breakpoint: <= 768px (Mobile Phones) --- */
@media (max-width: 768px) {
  body {
    padding-bottom: 64px; /* Space for mobile sticky bottom CTA */
  }

  .mobile-bottom-bar {
    display: block;
  }

  /* Compact Top Bar on Mobile */
  .top-bar {
    height: auto !important;
    min-height: 32px !important;
    max-height: none !important;
    padding: 6px 0 !important;
  }

  .top-bar .container {
    height: auto !important;
    padding: 0 16px;
  }

  .top-bar-left .top-bar-item {
    display: none; /* Hide lengthy phone/email text to keep bar 1-line clean */
  }

  .top-bar-left .badge-iso {
    font-size: 10px;
    padding: 2px 6px;
  }

  .top-bar-right {
    height: auto !important;
    gap: 10px;
  }

  .container {
    padding: 0 16px;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 40px 0 50px;
    min-height: auto;
  }

  .hero-badge {
    font-size: 11px;
    padding: 4px 10px;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: clamp(25px, 7vw, 34px);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
  }

  /* Stats Bar Mobile */
  .stats-bar-section {
    margin-top: 16px;
  }

  .stats-card-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .stat-item {
    border-right: none;
    padding-right: 0;
  }

  .stat-number {
    font-size: 26px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* Sections & Grids Mobile */
  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-tag {
    font-size: 12px;
  }

  .section-title {
    font-size: 24px;
    line-height: 1.25;
  }

  .section-desc {
    font-size: 14px;
  }

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

  .prop-card {
    padding: 22px 18px;
  }

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

  .capability-img-box {
    height: 180px;
  }

  .capability-body {
    padding: 18px 16px;
  }

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

  /* Materials Horizontal Scrollable Tabs */
  .materials-tabs-nav {
    display: flex;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }

  .materials-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .mat-tab-btn {
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 13px;
  }

  .materials-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .material-card {
    padding: 18px 16px;
  }

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

  .testimonial-card {
    padding: 22px 18px;
  }

  /* CTA Section Mobile */
  .cta-section {
    padding: 48px 0;
  }

  .cta-title {
    font-size: 24px;
  }

  .cta-desc {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .cta-section .btn {
    width: 100%;
    max-width: 320px;
  }

  /* FAQ Accordion Mobile */
  .faq-question {
    padding: 14px 18px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 16px 18px;
    font-size: 13px;
  }

  /* Footer Mobile */
  .site-footer {
    padding: 50px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }

  .footer-brand h3 {
    font-size: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 12px;
  }

  /* Instant RFQ Modal Mobile Full-screen / Sheet */
  .rfq-modal-box {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    padding: 24px 16px;
    border-radius: var(--radius-md);
    margin: 12px;
  }

  .rfq-modal-close {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
  }

  .rfq-dropzone {
    padding: 20px 12px;
    font-size: 13px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-control {
    padding: 10px 12px;
    font-size: 14px;
  }
}

