/*
Theme Name: GMS Industrial
Theme URI: https://gms.esupportdev2.xyz/
Author: Antigravity
Author URI: https://gms.esupportdev2.xyz/
Description: High-performance, ultra-professional WordPress theme for GMS (Grain Milling Solutions & Industrial Supplies). Delivering genuine industrial components and integrated engineering solutions since 2011.
Version: 2.0.0
Tested up to: 7.1.3
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: gms-industrial
*/

/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
  --gms-primary: #0062d2;
  --gms-primary-dark: #004ea8;
  --gms-primary-light: #eef5ff;
  --gms-primary-glow: rgba(0, 98, 210, 0.25);
  
  --gms-secondary: #0284c7;
  --gms-accent: #f59e0b;
  --gms-accent-dark: #d97706;
  
  --gms-dark: #091124;
  --gms-dark-card: #111d38;
  --gms-dark-border: rgba(255, 255, 255, 0.1);
  
  --gms-charcoal: #1e293b;
  --gms-slate: #334155;
  --gms-muted: #64748b;
  
  --gms-light: #f8fafc;
  --gms-light-gray: #f1f5f9;
  --gms-border: #e2e8f0;
  --gms-border-hover: #cbd5e1;
  
  --gms-success: #10b981;
  --gms-white: #ffffff;
  
  --gms-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gms-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --gms-radius-sm: 8px;
  --gms-radius-md: 14px;
  --gms-radius-lg: 20px;
  --gms-radius-full: 9999px;
  
  --gms-shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --gms-shadow-md: 0 6px 18px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --gms-shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --gms-shadow-xl: 0 24px 48px -12px rgba(0, 98, 210, 0.25);
  
  --gms-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --gms-container-width: 1260px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--gms-font-body);
  color: var(--gms-charcoal);
  background-color: var(--gms-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--gms-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gms-font-heading);
  color: var(--gms-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--gms-container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.gms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--gms-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--gms-transition);
  text-align: center;
  white-space: nowrap;
}

.gms-btn-primary {
  background: linear-gradient(135deg, var(--gms-primary) 0%, #0050b3 100%);
  color: var(--gms-white);
  box-shadow: 0 4px 16px rgba(0, 98, 210, 0.35);
}

.gms-btn-primary:hover {
  background: linear-gradient(135deg, #0050b3 0%, #003d8a 100%);
  color: var(--gms-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 98, 210, 0.45);
}

.gms-btn-secondary {
  background-color: var(--gms-dark);
  color: var(--gms-white);
}

.gms-btn-secondary:hover {
  background-color: #000;
  color: var(--gms-white);
  transform: translateY(-2px);
}

.gms-btn-outline {
  background-color: transparent;
  color: var(--gms-primary);
  border-color: var(--gms-primary);
}

.gms-btn-outline:hover {
  background-color: var(--gms-primary-light);
  color: var(--gms-primary-dark);
  border-color: var(--gms-primary-dark);
}

.gms-btn-white {
  background-color: var(--gms-white);
  color: var(--gms-dark);
  box-shadow: var(--gms-shadow-sm);
}

.gms-btn-white:hover {
  background-color: var(--gms-light-gray);
  color: var(--gms-primary);
  transform: translateY(-2px);
}

.gms-btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--gms-radius-sm);
}

.gms-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--gms-radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gms-badge-blue {
  background-color: var(--gms-primary-light);
  color: var(--gms-primary);
}

.gms-badge-accent {
  background-color: #fef3c7;
  color: #b45309;
}

.gms-badge-success {
  background-color: #d1fae5;
  color: #065f46;
}

.gms-badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   TOP UTILITY BAR
   ========================================================================== */
.gms-topbar {
  background-color: var(--gms-dark);
  color: #94a3b8;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 9px 0;
}

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

.gms-topbar-left, .gms-topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.gms-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.gms-topbar-item i {
  color: #38bdf8;
}

.gms-topbar-item a {
  color: #cbd5e1;
}

.gms-topbar-item a:hover {
  color: var(--gms-white);
}

.gms-topbar-badge {
  background: rgba(0, 98, 210, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(0, 98, 210, 0.4);
  padding: 3px 12px;
  border-radius: var(--gms-radius-full);
  font-weight: 700;
  font-size: 0.75rem;
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION
   ========================================================================== */
.gms-header {
  background-color: var(--gms-white);
  border-bottom: 1px solid var(--gms-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--gms-transition);
}

.gms-header.is-scrolled {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
}

.gms-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 28px;
}

.gms-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.gms-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: var(--gms-transition);
}

.gms-logo-wrap:hover .gms-logo-img {
  transform: scale(1.03);
}

.gms-logo-text {
  display: flex;
  flex-direction: column;
}

.gms-logo-title {
  font-family: var(--gms-font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--gms-primary);
  line-height: 1;
}

.gms-logo-tagline {
  font-size: 0.72rem;
  color: var(--gms-muted);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Header Live Search */
.gms-header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.gms-search-form {
  display: flex;
  position: relative;
  width: 100%;
}

.gms-search-input {
  width: 100%;
  padding: 11px 48px 11px 18px;
  border: 1px solid var(--gms-border);
  border-radius: var(--gms-radius-full);
  background-color: var(--gms-light);
  font-size: 0.92rem;
  outline: none;
  transition: var(--gms-transition);
}

.gms-search-input:focus {
  background-color: var(--gms-white);
  border-color: var(--gms-primary);
  box-shadow: 0 0 0 4px var(--gms-primary-glow);
}

.gms-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gms-primary);
  color: var(--gms-white);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--gms-transition);
}

.gms-search-btn:hover {
  background-color: var(--gms-primary-dark);
}

.gms-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--gms-white);
  border-radius: var(--gms-radius-md);
  box-shadow: var(--gms-shadow-lg);
  border: 1px solid var(--gms-border);
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.gms-search-dropdown.active {
  display: block;
}

.gms-search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gms-light-gray);
  color: var(--gms-dark);
  text-decoration: none;
  transition: var(--gms-transition);
}

.gms-search-item:hover {
  background-color: var(--gms-primary-light);
}

.gms-search-item-img {
  width: 44px;
  height: 44px;
  border-radius: var(--gms-radius-sm);
  object-fit: cover;
  border: 1px solid var(--gms-border);
  background: #fff;
}

/* Nav Menu */
.gms-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.gms-nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.gms-nav-item a {
  font-weight: 700;
  color: var(--gms-slate);
  font-size: 0.92rem;
  padding: 6px 0;
  position: relative;
}

.gms-nav-item a:hover,
.gms-nav-item.current-menu-item a {
  color: var(--gms-primary);
}

.gms-nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gms-primary);
  transition: var(--gms-transition);
}

.gms-nav-item a:hover::after,
.gms-nav-item.current-menu-item a::after {
  width: 100%;
}

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

.gms-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gms-dark);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (ULTRA-PROFESSIONAL)
   ========================================================================== */
.gms-hero {
  position: relative;
  background: linear-gradient(135deg, #091124 0%, #0e1e3e 50%, #003673 100%);
  color: var(--gms-white);
  padding: 90px 0 110px;
  overflow: hidden;
}

.gms-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(0, 98, 210, 0.3) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(2, 132, 199, 0.25) 0%, transparent 40%);
  pointer-events: none;
}

.gms-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.gms-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--gms-radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #38bdf8;
  margin-bottom: 22px;
}

.gms-hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--gms-white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.gms-hero-title span {
  background: linear-gradient(90deg, #38bdf8 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.gms-hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
}

.gms-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.gms-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gms-stat-num {
  font-family: var(--gms-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gms-white);
  line-height: 1;
}

.gms-stat-num span {
  color: #38bdf8;
}

.gms-stat-label {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 6px;
  line-height: 1.35;
}

/* Hero Right Quick Quote Card */
.gms-hero-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--gms-radius-lg);
  padding: 36px;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.55);
}

.gms-hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gms-hero-card-title {
  font-size: 1.3rem;
  color: var(--gms-white);
  margin: 0;
}

.gms-rfq-quick-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gms-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gms-form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.gms-form-input, .gms-form-select, .gms-form-textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--gms-radius-sm);
  color: var(--gms-white);
  outline: none;
  transition: var(--gms-transition);
}

.gms-form-input:focus, .gms-form-select:focus, .gms-form-textarea:focus {
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.14);
}

.gms-form-select option {
  background: var(--gms-dark);
  color: var(--gms-white);
}

/* ==========================================================================
   BRAND PARTNERS BAR
   ========================================================================== */
.gms-brands-bar {
  background: var(--gms-white);
  padding: 30px 0;
  border-bottom: 1px solid var(--gms-border);
}

.gms-brands-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.gms-brands-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gms-muted);
  letter-spacing: 1px;
}

.gms-brands-list {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.gms-brand-pill {
  font-family: var(--gms-font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #94a3b8;
  letter-spacing: 0.5px;
  transition: var(--gms-transition);
}

.gms-brand-pill:hover {
  color: var(--gms-primary);
}

/* ==========================================================================
   CATEGORY PILLARS
   ========================================================================== */
.gms-section {
  padding: 85px 0;
}

.gms-section-light {
  background-color: var(--gms-light);
}

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

.gms-section-subtitle {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gms-primary);
  margin-bottom: 10px;
}

.gms-section-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--gms-dark);
  line-height: 1.2;
}

.gms-section-desc {
  font-size: 1.08rem;
  color: var(--gms-muted);
  margin-top: 14px;
  line-height: 1.65;
}

.gms-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.gms-cat-card {
  background: var(--gms-white);
  border: 1px solid var(--gms-border);
  border-radius: var(--gms-radius-md);
  padding: 32px;
  transition: var(--gms-transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.gms-cat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--gms-primary);
  transition: var(--gms-transition);
}

.gms-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gms-shadow-lg);
  border-color: rgba(0, 98, 210, 0.4);
}

.gms-cat-card:hover::after {
  height: 100%;
}

.gms-cat-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--gms-radius-md);
  background: var(--gms-primary-light);
  color: var(--gms-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: var(--gms-transition);
}

.gms-cat-card:hover .gms-cat-icon {
  background: var(--gms-primary);
  color: var(--gms-white);
  transform: scale(1.05);
}

.gms-cat-title {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.gms-cat-count {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gms-secondary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.gms-cat-desc {
  font-size: 0.95rem;
  color: var(--gms-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.gms-cat-link {
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gms-primary);
}

.gms-cat-link:hover {
  gap: 12px;
}

/* ==========================================================================
   PRODUCT SHOWCASE (WOOCOMMERCE PRODUCT CARDS WITH REAL IMAGES)
   ========================================================================== */
.gms-catalog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  background: var(--gms-white);
  border: 1px solid var(--gms-border);
  border-radius: var(--gms-radius-md);
  padding: 16px 22px;
  margin-bottom: 36px;
  box-shadow: var(--gms-shadow-sm);
}

.gms-catalog-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.gms-tab-btn {
  padding: 9px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid var(--gms-border);
  background: var(--gms-light);
  border-radius: var(--gms-radius-full);
  cursor: pointer;
  color: var(--gms-slate);
  transition: var(--gms-transition);
}

.gms-tab-btn:hover {
  background: var(--gms-primary-light);
  color: var(--gms-primary);
  border-color: rgba(0, 98, 210, 0.3);
}

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

.gms-catalog-search-wrap {
  min-width: 280px;
  position: relative;
}

.gms-catalog-search-input {
  width: 100%;
  padding: 9px 38px 9px 16px;
  font-size: 0.9rem;
  border: 1px solid var(--gms-border);
  border-radius: var(--gms-radius-full);
  outline: none;
}

.gms-catalog-search-input:focus {
  border-color: var(--gms-primary);
}

.gms-catalog-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gms-muted);
}

/* The 60-Product Grid */
.gms-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.gms-prod-card {
  background: var(--gms-white);
  border: 1px solid var(--gms-border);
  border-radius: var(--gms-radius-md);
  display: flex;
  flex-direction: column;
  transition: var(--gms-transition);
  position: relative;
  overflow: hidden;
}

.gms-prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--gms-shadow-lg);
  border-color: rgba(0, 98, 210, 0.45);
}

.gms-prod-thumb-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--gms-border);
}

.gms-prod-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gms-prod-card:hover .gms-prod-img {
  transform: scale(1.06);
}

.gms-prod-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.gms-prod-sku {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-family: var(--gms-font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--gms-radius-sm);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.gms-prod-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gms-prod-cat {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gms-secondary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.gms-prod-title {
  font-size: 1.25rem;
  color: var(--gms-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.gms-prod-desc {
  font-size: 0.88rem;
  color: var(--gms-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.gms-prod-specs {
  background: var(--gms-light);
  border-radius: var(--gms-radius-sm);
  padding: 10px 14px;
  margin-bottom: 18px;
  font-size: 0.82rem;
}

.gms-prod-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gms-slate);
  margin-bottom: 5px;
}

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

.gms-prod-specs li i {
  color: var(--gms-success);
  font-size: 0.78rem;
}

.gms-prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gms-light-gray);
  margin-top: auto;
}

.gms-prod-price {
  font-family: var(--gms-font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--gms-primary);
}

/* ==========================================================================
   VISION & MISSION SECTION (PREMIUM DARK LAYOUT)
   ========================================================================== */
.gms-vision-mission {
  background: linear-gradient(135deg, #091124 0%, #111d38 100%);
  color: var(--gms-white);
  position: relative;
  overflow: hidden;
}

.gms-vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.gms-vm-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--gms-radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.gms-vm-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gms-primary), #38bdf8);
}

.gms-vm-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--gms-radius-md);
  background: rgba(0, 98, 210, 0.25);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 98, 210, 0.45);
}

.gms-vm-badge {
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.gms-vm-title {
  font-size: 2rem;
  color: var(--gms-white);
  margin-bottom: 18px;
}

.gms-vm-text {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.75;
}

/* ==========================================================================
   ENGINEERING & AUTOMATION SERVICES
   ========================================================================== */
.gms-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.gms-service-card {
  background: var(--gms-white);
  border: 1px solid var(--gms-border);
  border-radius: var(--gms-radius-md);
  padding: 36px 26px;
  text-align: center;
  transition: var(--gms-transition);
}

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

.gms-service-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gms-primary-light);
  color: var(--gms-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 22px;
  transition: var(--gms-transition);
}

.gms-service-card:hover .gms-service-icon {
  background: var(--gms-primary);
  color: var(--gms-white);
  transform: scale(1.1);
}

.gms-service-title {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.gms-service-desc {
  font-size: 0.95rem;
  color: var(--gms-muted);
}

/* ==========================================================================
   WHY CHOOSE US / TRUST SECTION
   ========================================================================== */
.gms-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.gms-trust-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.gms-trust-item {
  display: flex;
  gap: 18px;
}

.gms-trust-item-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--gms-radius-sm);
  background: var(--gms-primary-light);
  color: var(--gms-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.gms-trust-item-title {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.gms-trust-item-desc {
  font-size: 0.92rem;
  color: var(--gms-muted);
  line-height: 1.6;
}

.gms-trust-banner {
  background: linear-gradient(135deg, var(--gms-primary) 0%, #003e8a 100%);
  color: var(--gms-white);
  border-radius: var(--gms-radius-lg);
  padding: 48px;
  box-shadow: var(--gms-shadow-xl);
  position: relative;
  overflow: hidden;
}

.gms-trust-banner-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 14px;
  border-radius: var(--gms-radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 18px;
}

.gms-trust-banner-title {
  font-size: 2.2rem;
  color: var(--gms-white);
  line-height: 1.25;
  margin-bottom: 18px;
}

.gms-trust-banner-text {
  font-size: 1.1rem;
  color: #e0f2fe;
  margin-bottom: 28px;
  line-height: 1.65;
}

/* ==========================================================================
   MODALS, TOASTS & FLOATING ACTIONS
   ========================================================================== */
.gms-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 17, 36, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gms-modal.active {
  display: flex;
}

.gms-modal-dialog {
  background: var(--gms-white);
  border-radius: var(--gms-radius-lg);
  max-width: 620px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--gms-shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}

.gms-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gms-muted);
  cursor: pointer;
}

.gms-modal-close:hover {
  color: var(--gms-dark);
}

.gms-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gms-dark);
  color: var(--gms-white);
  padding: 16px 26px;
  border-radius: var(--gms-radius-md);
  box-shadow: var(--gms-shadow-lg);
  z-index: 10000;
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  border-left: 4px solid var(--gms-success);
}

.gms-toast.active {
  display: flex;
  animation: slideInUp 0.3s forwards;
}

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

.gms-floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.gms-floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gms-white);
  font-size: 1.45rem;
  box-shadow: var(--gms-shadow-lg);
  cursor: pointer;
  transition: var(--gms-transition);
  border: none;
}

.gms-floating-whatsapp {
  background-color: #25d366;
}

.gms-floating-whatsapp:hover {
  background-color: #1eb857;
  transform: scale(1.1);
}

.gms-scroll-top {
  background-color: var(--gms-dark);
  opacity: 0;
  visibility: hidden;
}

.gms-scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.gms-scroll-top:hover {
  background-color: var(--gms-primary);
  transform: translateY(-3px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.gms-footer {
  background-color: var(--gms-dark);
  color: #94a3b8;
  padding: 75px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gms-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 54px;
}

.gms-footer-col h4 {
  color: var(--gms-white);
  font-size: 1.2rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

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

.gms-footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.gms-footer-logo-img {
  height: 50px;
  width: auto;
}

.gms-footer-about {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 22px;
}

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

.gms-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--gms-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gms-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--gms-transition);
}

.gms-social-link:hover {
  background: var(--gms-primary);
  color: var(--gms-white);
  transform: translateY(-2px);
}

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

.gms-footer-links a {
  color: #94a3b8;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gms-footer-links a:hover {
  color: var(--gms-white);
  padding-left: 6px;
}

.gms-footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.94rem;
}

.gms-footer-contact-item i {
  color: #38bdf8;
  margin-top: 4px;
}

.gms-footer-bottom {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.gms-footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .gms-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .gms-hero-card {
    max-width: 560px;
  }
  
  .gms-vm-grid {
    grid-template-columns: 1fr;
  }
  
  .gms-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .gms-topbar {
    display: none;
  }
  
  .gms-header-search {
    display: none;
  }
  
  .gms-nav-list {
    display: none;
  }
  
  .gms-mobile-toggle {
    display: block;
  }
  
  .gms-hero-title {
    font-size: 2.4rem;
  }
  
  .gms-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gms-trust-grid {
    grid-template-columns: 1fr;
  }
  
  .gms-footer-grid {
    grid-template-columns: 1fr;
  }
}
