/* ==========================================================================
   SRKR ENTERPRISES - Corporate Engineering Stylesheet
   Color Tokens:
   --primary-navy: #0B3B6E
   --secondary-steel: #5E6B73
   --accent-orange: #F28C28
   --bg-light: #F4F7FA
   --bg-dark: #061D38
   ========================================================================== */

:root {
  --primary-navy: #0B3B6E;
  --navy-dark: #07274A;
  --navy-light: #165394;
  --secondary-steel: #5E6B73;
  --steel-light: #8E9BA4;
  --accent-orange: #F28C28;
  --orange-hover: #D9771A;
  --bg-white: #FFFFFF;
  --bg-light: #F4F7FA;
  --bg-card: #FFFFFF;
  --bg-dark: #061D38;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 4px rgba(11, 59, 110, 0.05);
  --shadow-md: 0 4px 12px rgba(11, 59, 110, 0.1);
  --shadow-lg: 0 10px 25px rgba(11, 59, 110, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* -------------------------------------------------------------
 * Top Header Bar & Navigation
 * ------------------------------------------------------------- */
.top-bar {
  background-color: var(--navy-dark);
  color: #D1D5DB;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
  color: #E5E7EB;
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar a:hover {
  color: var(--accent-orange);
}

.navbar-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  background: linear-gradient(135deg, var(--primary-navy), var(--navy-light));
  color: var(--accent-orange);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(242, 140, 40, 0.3);
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--secondary-steel);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-link {
  color: var(--primary-navy);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 14px !important;
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-orange);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background-color: var(--accent-orange);
  border-radius: 2px;
}

/* Header Part Search Widget */
.header-search-box {
  position: relative;
  min-width: 260px;
}

.header-search-box input {
  padding-right: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
}

.header-search-box .search-icon-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-steel);
  background: none;
  border: none;
}

/* -------------------------------------------------------------
 * Buttons & Badges
 * ------------------------------------------------------------- */
.btn-accent {
  background-color: var(--accent-orange);
  color: #FFFFFF;
  font-weight: 600;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(242, 140, 40, 0.25);
}

.btn-accent:hover {
  background-color: var(--orange-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(242, 140, 40, 0.35);
}

.btn-navy {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  font-weight: 600;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-navy:hover {
  background-color: var(--navy-dark);
  color: #FFFFFF;
}

.btn-outline-navy {
  border: 2px solid var(--primary-navy);
  color: var(--primary-navy);
  font-weight: 600;
  background: transparent;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
}

.btn-outline-navy:hover {
  background-color: var(--primary-navy);
  color: #FFFFFF;
}

.bg-navy { background-color: var(--primary-navy) !important; color: #FFF; }
.bg-steel { background-color: var(--secondary-steel) !important; color: #FFF; }
.text-navy { color: var(--primary-navy) !important; }
.text-steel { color: var(--secondary-steel) !important; }
.text-accent { color: var(--accent-orange) !important; }

/* -------------------------------------------------------------
 * Hero Banner Section
 * ------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-navy) 100%);
  color: #FFFFFF;
  padding: 80px 0 90px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 80% 20%, rgba(242, 140, 40, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-tagline-badge {
  display: inline-block;
  background: rgba(242, 140, 40, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(242, 140, 40, 0.4);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  max-width: 680px;
  margin-bottom: 30px;
}

.hero-search-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* -------------------------------------------------------------
 * Search Dropdown Styling
 * ------------------------------------------------------------- */
.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  max-height: 380px;
  overflow-y: auto;
  display: none;
  color: var(--text-dark);
}

.search-results-dropdown.show {
  display: block;
}

.dropdown-header {
  background: var(--bg-light);
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--secondary-steel);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-item {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background 0.15s;
}

.search-item:hover {
  background: #F1F5F9;
}

.part-number-highlight {
  font-family: monospace;
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 0.95rem;
}

.part-desc-sm { font-size: 0.82rem; color: var(--secondary-steel); }
.part-stock-sm { font-size: 0.75rem; color: var(--accent-orange); font-weight: 600; }

/* -------------------------------------------------------------
 * Statistics Counter Cards
 * ------------------------------------------------------------- */
.stats-section {
  margin-top: -40px;
  position: relative;
  z-index: 100;
}

.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border-bottom: 4px solid var(--accent-orange);
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--secondary-steel);
  font-weight: 600;
}

/* -------------------------------------------------------------
 * Section Common Layout
 * ------------------------------------------------------------- */
.section-padding {
  padding: 80px 0;
}

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

.section-title-badge {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.section-heading {
  font-size: 2.2rem;
  color: var(--primary-navy);
  margin-bottom: 16px;
}

.heading-divider {
  width: 60px;
  height: 4px;
  background-color: var(--accent-orange);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* -------------------------------------------------------------
 * Feature & Industry Cards
 * ------------------------------------------------------------- */
.industry-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  height: 100%;
  transition: all 0.25s ease;
}

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

.industry-icon {
  width: 54px;
  height: 54px;
  background: rgba(11, 59, 110, 0.08);
  color: var(--primary-navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.industry-card-title {
  font-size: 1.3rem;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.industry-list {
  padding-left: 0;
  list-style: none;
  margin-top: 15px;
}

.industry-list li {
  font-size: 0.9rem;
  color: var(--secondary-steel);
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.industry-list li::before {
  content: '✓';
  color: var(--accent-orange);
  font-weight: bold;
  margin-right: 8px;
}

/* -------------------------------------------------------------
 * Products Category Grid
 * ------------------------------------------------------------- */
.product-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.product-category-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--secondary-steel);
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-category-btn.active, .product-category-btn:hover {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
}

.product-item-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.product-item-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-orange);
}

.product-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-orange);
}

/* -------------------------------------------------------------
 * Services Cards
 * ------------------------------------------------------------- */
.service-card {
  background: var(--bg-white);
  border-top: 4px solid var(--primary-navy);
  border-radius: var(--radius-md);
  padding: 28px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.service-card:hover {
  border-top-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

/* -------------------------------------------------------------
 * Global Sourcing Interactive Map & SVG
 * ------------------------------------------------------------- */
.world-map-wrapper {
  background: var(--navy-dark);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: #FFFFFF;
  position: relative;
}

.world-map-svg {
  width: 100%;
  height: auto;
  min-height: 380px;
}

.map-land-path {
  fill: #16365C;
  stroke: #254A78;
  stroke-width: 1;
}

.map-connection-line {
  fill: none;
  stroke: var(--accent-orange);
  stroke-width: 1.5;
  stroke-dasharray: 4,4;
  opacity: 0.6;
}

.map-pin-group {
  cursor: pointer;
  transition: transform 0.2s;
}

.map-pin-group:hover, .map-pin-group.active {
  transform: scale(1.3);
}

.map-pin-circle {
  fill: var(--accent-orange);
  stroke: #FFFFFF;
  stroke-width: 2;
}

.map-pulse-ring {
  fill: none;
  stroke: var(--accent-orange);
  stroke-width: 1.5;
  opacity: 0.5;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { r: 6; opacity: 0.8; }
  100% { r: 18; opacity: 0; }
}

.map-pin-label {
  fill: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-family);
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.country-details-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  color: #FFFFFF;
}

.country-flag { font-size: 2rem; margin-right: 12px; }
.country-title { margin: 0; color: #FFFFFF; font-size: 1.2rem; }
.country-badge { font-size: 0.75rem; background: var(--accent-orange); color: #FFF; padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.highlight-orange { color: var(--accent-orange); font-weight: 700; }

/* -------------------------------------------------------------
 * OEM Brands Ticker & Grid
 * ------------------------------------------------------------- */
.oem-ticker-container {
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-light);
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.oem-ticker-track {
  display: inline-flex;
  gap: 30px;
  animation: ticker-slide 30s linear infinite;
}

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

.oem-badge-logo {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--primary-navy);
  font-weight: 800;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  display: inline-block;
  cursor: pointer;
  transition: border-color 0.2s;
}

.oem-badge-logo:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.oem-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  height: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.oem-card-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.oem-card-category { font-size: 0.78rem; color: var(--accent-orange); font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.oem-card-desc { font-size: 0.82rem; color: var(--secondary-steel); }

/* -------------------------------------------------------------
 * Our Process Workflow Pipeline
 * ------------------------------------------------------------- */
.process-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  margin-top: 30px;
}

.process-step {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  flex: 1 1 100px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.process-step-num {
  width: 28px;
  height: 28px;
  background: var(--primary-navy);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
}

.process-step-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* -------------------------------------------------------------
 * Quality Checklist
 * ------------------------------------------------------------- */
.quality-box {
  background: linear-gradient(135deg, var(--primary-navy), var(--navy-dark));
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
}

.quality-check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.quality-check-icon {
  background: rgba(242, 140, 40, 0.2);
  color: var(--accent-orange);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

/* -------------------------------------------------------------
 * FAQ Accordion
 * ------------------------------------------------------------- */
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-white);
}

.faq-item-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent-orange);
  font-weight: 800;
}

.faq-item.active .faq-item-question::after {
  content: '−';
}

.faq-item-answer {
  padding: 0 22px 18px 22px;
  color: var(--secondary-steel);
  display: none;
}

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

/* -------------------------------------------------------------
 * Toast Notification
 * ------------------------------------------------------------- */
.global-toast-notification {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--navy-dark);
  color: #FFFFFF;
  border-left: 4px solid var(--accent-orange);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  display: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.global-toast-notification.show {
  display: block;
  animation: slideUp 0.3s ease;
}

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

/* -------------------------------------------------------------
 * Floating Actions & Footer
 * ------------------------------------------------------------- */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #FFF;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.2s;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  color: #FFF;
}

.footer {
  background-color: var(--bg-dark);
  color: #94A3B8;
  padding: 60px 0 24px 0;
  font-size: 0.9rem;
}

.footer h5 {
  color: #FFFFFF;
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .hero-title { font-size: 2.2rem; }
  .stats-section { margin-top: 20px; }
  .process-step { flex: 1 1 45%; }
}
