/* ==========================================================================
   Fast Planet Petroleum Services - COMMON & GLOBAL DESIGN SYSTEM
   Common Header, Navigation, Footer, Typography, Design Tokens & Reset
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
  /* Brand Palette */
  --primary: #0056b3;
  --primary-dark: #003d80;
  --primary-light: #e6f0ff;
  --secondary: #00a8e8;
  --secondary-glow: #00c2ff;
  --accent-cyan: #00b4d8;
  --accent-navy: #0b1e36;

  /* Text Colors */
  --text-heading: #0b1e36;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Backgrounds */
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #071324;
  --bg-card-dark: #0e223d;
  --bg-light-blue: #f0f7ff;
  --bg-subtle: #f1f5f9;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0056b3 0%, #00a8e8 100%);
  --grad-accent: linear-gradient(135deg, #0056b3 0%, #00b4d8 100%);
  --grad-cyan: linear-gradient(135deg, #00b4d8 0%, #61e3fb 100%);
  --grad-hero: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  --grad-dark: linear-gradient(180deg, #071324 0%, #0b1e36 100%);

  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-blue: rgba(0, 86, 179, 0.18);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 35px rgba(0, 86, 179, 0.12);
  --shadow-float: 0 20px 40px rgba(11, 30, 54, 0.12);
  --shadow-blue: 0 8px 24px rgba(0, 86, 179, 0.28);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Typography */
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   HEADER & TOP NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 46px;
  max-height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

.footer-logo-wrap {
  display: inline-block;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-logo-img {
  height: 38px;
  display: block;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: bold;
  color: #0b1e36;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-block: 0.5rem;
}

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

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Regional Services Dropdown */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  text-decoration: none;
}

.dropdown-arrow-icon {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown-wrapper:hover .dropdown-arrow-icon,
.nav-dropdown-wrapper.open .dropdown-arrow-icon {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.55rem;
  box-shadow: 0 18px 40px rgba(11, 30, 54, 0.12), 0 4px 14px rgba(0, 86, 179, 0.08);
  border: 1px solid rgba(0, 86, 179, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1050;
}

/* Pointer arrow */
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 86, 179, 0.14);
  border-left: 1px solid rgba(0, 86, 179, 0.14);
}

/* Hover bridge between trigger and panel */
.nav-dropdown-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown-wrapper:hover .nav-dropdown-panel,
.nav-dropdown-wrapper:focus-within .nav-dropdown-panel,
.nav-dropdown-wrapper.open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-option {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.8rem 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  color: #0b1e36;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.nav-dropdown-option:hover {
  background: #f0f7ff;
  border-color: rgba(0, 86, 179, 0.18);
  transform: translateX(3px);
}

.nav-dropdown-option.active {
  background: rgba(0, 86, 179, 0.08);
  border-color: rgba(0, 86, 179, 0.22);
}

.dropdown-option-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.dropdown-option-icon.ksa-icon {
  background: rgba(0, 86, 179, 0.1);
  color: #0056b3;
}

.dropdown-option-icon.uae-icon {
  background: rgba(0, 180, 216, 0.14);
  color: #0096c7;
}

.nav-dropdown-option:hover .dropdown-option-icon.ksa-icon {
  background: #0056b3;
  color: #ffffff;
}

.nav-dropdown-option:hover .dropdown-option-icon.uae-icon {
  background: #0096c7;
  color: #ffffff;
}

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

.dropdown-option-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #0b1e36;
  line-height: 1.3;
  margin-bottom: 2px;
}

.nav-dropdown-option:hover .dropdown-option-title {
  color: #0056b3;
}

.dropdown-option-desc {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  font-weight: 500;
  text-transform: none;
}

/* Header Action / Quote Button */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #0056b3;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
  transition: var(--transition);
}

.btn-header-quote:hover {
  background: #004494;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.45);
  color: #ffffff;
}

.quote-phone-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  background: transparent;
  color: var(--text-heading);
  font-size: 1.8rem;
  padding: 0.2rem;
}

/* ==========================================================================
   COMMON PAGE BANNER / HERO
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, #071324 0%, #0b1e36 60%, #002d5e 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border-bottom: 1px solid rgba(0, 180, 216, 0.2);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(0, 180, 216, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}

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

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 1.2rem;
}

.page-breadcrumb a {
  color: #61e3fb;
  text-decoration: none;
  transition: var(--transition);
}

.page-breadcrumb a:hover {
  color: #ffffff;
}

.page-breadcrumb span.separator {
  color: #475569;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-title .highlight {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 780px;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.page-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-stat-item {
  display: flex;
  flex-direction: column;
}

.page-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #61e3fb;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.page-stat-label {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-tag,
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem;
  background: #e6f2ff;
  color: #0056b3;
  border: 1px solid rgba(0, 86, 179, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.8rem;
}

.section {
  padding-block: 5.5rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 900;
  color: #0b1e36;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.section-desc {
  font-size: 1.02rem;
  color: #64748b;
  line-height: 1.65;
}

/* CTA Banner Section */
.cta-banner-section {
  background: linear-gradient(135deg, #0b1e36 0%, #004080 100%);
  padding: 4.5rem 0;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner-content h2 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-banner-content p {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   PROCESS STEPS / ADVANTAGE CARDS GRID (SERVICES & INDUSTRIES)
   ========================================================================== */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.process-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0056b3, #00b4d8);
  opacity: 0;
  transition: var(--transition);
}

.process-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 86, 179, 0.35);
  box-shadow: 0 16px 36px rgba(11, 30, 54, 0.08);
}

.process-step-card:hover::before {
  opacity: 1;
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: #0056b3;
  line-height: 1;
  margin-bottom: 1.2rem;
  display: inline-block;
  background: linear-gradient(135deg, #0056b3 0%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-step-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #0b1e36;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.process-step-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Universal Button Styles */
.btn-primary-hero,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.35);
  transition: var(--transition);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary-hero:hover,
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 86, 179, 0.45);
  color: #ffffff;
}

.btn-outline-hero,
.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-outline-hero:hover,
.btn-outline-primary:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.25);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--text-heading);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.section-cta-wrap {
  text-align: center;
  margin-top: 3rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #071324;
  color: #cbd5e1;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.4rem;
  letter-spacing: 0.5px;
}

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

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #61e3fb;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating WhatsApp & Scroll-To-Top Actions */
.float-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  z-index: 999;
}

.float-circle-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* Scroll-To-Top Button */
.float-scroll-top {
  background: #0b1e36;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.float-scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.float-scroll-top:hover {
  background: #0056b3;
  color: #ffffff;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 86, 179, 0.45);
  border-color: rgba(255, 255, 255, 0.4);
}

/* WhatsApp Floating Button */
.float-whatsapp {
  background: #25D366;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  animation: waFloatPulse 2.4s infinite;
}

.float-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}

@keyframes waFloatPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 8px 25px rgba(37, 211, 102, 0.35);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 8px 25px rgba(37, 211, 102, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 25px rgba(37, 211, 102, 0.35);
  }
}

@media (max-width: 600px) {
  .float-actions {
    bottom: 20px;
    right: 20px;
    gap: 0.65rem;
  }
  .float-circle-btn {
    width: 46px;
    height: 46px;
  }
  .float-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}

/* ==========================================================================
   COMMON MODAL DIALOGS (SCOPE MODAL, SUCCESS MODAL)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 30, 54, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-dialog {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: #f0f7ff;
  border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0b1e36;
  margin: 0;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.modal-close-btn:hover {
  background: #0b1e36;
  color: #ffffff;
}

.modal-body {
  padding: 1.8rem 2rem;
  overflow-y: auto;
}

.modal-scopes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

.modal-scope-chip {
  padding: 0.65rem 0.95rem;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0b1e36;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-scope-chip svg {
  color: #0056b3;
  flex-shrink: 0;
}

.modal-footer {
  padding: 1.2rem 2rem;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 600px) {
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1.2rem 1.2rem;
  }
  .modal-scopes-grid {
    grid-template-columns: 1fr;
  }
  .modal-footer {
    flex-direction: column-reverse;
  }
  .modal-footer button,
  .modal-footer a {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   COMMON RESPONSIVE RULES (HEADER, FOOTER, GENERAL)
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

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

  .nav-dropdown-wrapper {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-panel {
    position: static;
    transform: none !important;
    min-width: 100%;
    box-shadow: none;
    border: 1px solid rgba(0, 86, 179, 0.12);
    background: #f8fafc;
    border-radius: 8px;
    margin-top: 0.5rem;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0.4rem;
  }

  .nav-dropdown-panel::before,
  .nav-dropdown-wrapper::after {
    display: none;
  }

  .nav-dropdown-wrapper.open .nav-dropdown-panel {
    display: block;
  }

  .nav-dropdown-option {
    padding: 0.65rem 0.75rem;
  }

  .mobile-toggle {
    display: block;
  }

  .header-actions .btn-header-quote {
    display: none;
  }

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

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

/* ==========================================================================
   COMMON CONTACT / RFQ FORM & CAPTCHA STYLES
   ========================================================================== */
.contact-clean-formbox {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
}

.contact-clean-formbox h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.contact-clean-formbox .form-intro {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  line-height: 1.55;
}

.clean-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.clean-form-full {
  grid-column: span 2;
}

.clean-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.clean-input-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.clean-input-group label span.req {
  color: #ef4444;
}

.clean-form-control {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-heading);
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition);
}

.clean-form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.12);
}

textarea.clean-form-control {
  min-height: 100px;
  resize: vertical;
}

.clean-form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn-clean-submit {
  flex: 1;
  min-width: 180px;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.25);
  transition: var(--transition);
}

.btn-clean-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 86, 179, 0.35);
}

.btn-clean-whatsapp {
  background: #25d366;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
  transition: var(--transition);
}

.btn-clean-whatsapp:hover {
  background: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

/* Captcha Component */
.captcha-input-group {
  margin-top: 0.35rem;
}

.captcha-flex-row {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
}

.captcha-badge-box {
  background: linear-gradient(135deg, #063d59 0%, #007791 50%, #008ba3 100%);
  border-radius: 8px;
  padding: 0.55rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  box-shadow: 0 4px 14px rgba(6, 61, 89, 0.2);
  user-select: none;
  min-width: 210px;
}

.captcha-chars {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 5px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.captcha-refresh-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
}

.captcha-refresh-btn:hover {
  opacity: 1;
  transform: rotate(180deg) scale(1.1);
  background: rgba(255, 255, 255, 0.15);
}

.captcha-refresh-btn.spinning svg {
  animation: captchaSpin 0.5s linear;
}

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

.captcha-field {
  flex: 1;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  font-size: 0.95rem;
}

.captcha-field::placeholder {
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #94a3b8;
  text-transform: uppercase;
}

.captcha-field.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
  animation: captchaShake 0.4s ease-in-out;
}

.captcha-error-alert {
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: captchaShake 0.4s ease-in-out;
}

@keyframes captchaShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

@media (max-width: 580px) {
  .clean-form-grid {
    grid-template-columns: 1fr;
  }
  .clean-form-full {
    grid-column: span 1;
  }
  .captcha-flex-row {
    flex-direction: column;
  }
  .captcha-badge-box {
    width: 100%;
    justify-content: space-between;
  }
}

/* Success Modal Box */
.contact-success-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 90%;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-float);
  animation: modalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem auto;
}