/* 
 * Crystal Marine LLP - Stylesheet
 * Premium, B2B Marine Spare Parts & Ship Machinery Supplier
 */

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


:root {
  /* Colors - Light Mode */
  --primary-rgb: 5, 43, 91;
  --primary: #052B5B;
  --secondary-rgb: 14, 117, 216;
  --secondary: #0E75D8;
  --accent-rgb: 0, 168, 181;
  --accent: #00A8B5;
  --highlight-rgb: 245, 158, 11;
  --highlight: #F59E0B;
  --highlight-cyan: #35D6FF;
  --bg-white: #FFFFFF;
  --bg-light: #F5F8FC;
  --text-dark: #16243D;
  --text-muted: #4B5E7D;
  --success: #16A34A;
  --card-bg: rgba(255, 255, 255, 0.75);
  --card-border: rgba(255, 255, 255, 0.4);
  --header-bg: rgba(255, 255, 255, 0.8);
  --footer-bg: #031A38;
  --map-bg: #EAEFF6;
  --map-land: #CFD9E8;
  
  /* Gradients */
  --gradient-ocean: linear-gradient(135deg, #052B5B 0%, #0E75D8 50%, #00A8B5 100%);
  --gradient-glow: radial-gradient(circle, rgba(53, 214, 255, 0.15) 0%, rgba(5, 43, 91, 0) 70%);
  /* --gradient-dark-overlay: linear-gradient(to bottom, rgba(5, 43, 91, 0.8), rgba(6, 11, 19, 0.95)); */
  --gradient-dark-overlay: linear-gradient(to bottom, rgb(5 43 91 / 40%), rgb(6 11 19 / 0%));
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(245, 248, 252, 0.6) 100%);
  
  /* Fonts */
  --font-main: 'Poppins', sans-serif;
  
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(5, 43, 91, 0.05);
  --shadow-md: 0 10px 30px rgba(5, 43, 91, 0.08);
  --shadow-lg: 0 20px 40px rgba(5, 43, 91, 0.12);
  --shadow-glow: 0 0 25px rgba(53, 214, 255, 0.35);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* Dark Mode Overrides */
[data-theme="dark"] {
  --bg-white: #060B13;
  --bg-light: #0B1320;
  --text-dark: #F5F8FC;
  --text-muted: #95A5C0;
  --card-bg: rgba(11, 19, 32, 0.75);
  --card-border: rgba(30, 41, 59, 0.5);
  --header-bg: rgba(6, 11, 19, 0.8);
  --footer-bg: #02070D;
  --map-bg: #0B1320;
  --map-land: #1E293B;
  --gradient-card: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(11, 19, 32, 0.6) 100%);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-dark);
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  /* Technical grid of dots background */
  background-image: radial-gradient(rgba(5, 43, 91, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

[data-theme="dark"] body {
  background-image: radial-gradient(rgba(53, 214, 255, 0.02) 1px, transparent 1px);
}

/* Technical Corner Brackets for B2B Maritime Aesthetic */
.tech-card {
  position: relative;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  opacity: 0.35;
  transition: opacity var(--transition-normal), width var(--transition-normal), height var(--transition-normal), border-color var(--transition-normal);
  pointer-events: none;
  z-index: 5;
}

.tech-card::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 6px;
  height: 6px;
  border-bottom: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
  opacity: 0.35;
  transition: opacity var(--transition-normal), width var(--transition-normal), height var(--transition-normal), border-color var(--transition-normal);
  pointer-events: none;
  z-index: 5;
}

.tech-card:hover::before,
.tech-card:hover::after {
  opacity: 1;
  width: 14px;
  height: 14px;
  border-color: var(--highlight);
}

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

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

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

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--border-radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

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

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

.text-center { text-align: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Section Title Blueprint style */
.section-title-wrapper {
  margin-bottom: 60px;
}

.section-tag {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  width: 12px;
  height: 1px;
  background-color: var(--accent);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Blueprint Line */
.blueprint-divider {
  height: 20px;
  background-image: 
    radial-gradient(circle, var(--accent) 1px, transparent 1px),
    linear-gradient(to right, rgba(0, 168, 181, 0.2) 50%, transparent 50%);
  background-size: 16px 16px, 32px 1px;
  background-position: center;
  background-repeat: repeat-x;
  opacity: 0.6;
}

/* Custom Cursor Glow */
/* .custom-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--highlight);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
} */

/* .custom-cursor-glow {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(53, 214, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, width 0.2s, height 0.2s, border-color 0.2s;
}

.custom-cursor.hovered {
  width: 12px;
  height: 12px;
  background-color: var(--accent);
}

.custom-cursor-glow.hovered {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
  background-color: rgba(0, 168, 181, 0.05);
} */

/* Top Bar */
.top-bar {
  background-color: #031326;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 45px;
  position: relative;
  z-index: 1001;
}

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

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-right a {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.top-bar-right a:hover {
  color: var(--highlight);
}

/* Header & Navigation */
header {
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), top var(--transition-normal);
}

header.scrolled {
  position: fixed;
  top: 0;
  background-color: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  transition: height var(--transition-normal);
}

header.scrolled .header-container {
  height: 120px;
}

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

[data-theme="dark"] .logo {
  color: var(--text-dark);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-ocean);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.nav-menu {
  display: flex;
  align-items: stretch;
  gap: 32px;
  height: 100%;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 22px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width var(--transition-normal);
}

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

/* Mega Menu */
.has-megamenu {
  position: static;
  display: flex;
  align-items: stretch;
}

/* Color overrides for transparent header at the top of the page */
header:not(.scrolled) .logo {
  color: #ffffff;
}
header:not(.scrolled) .logo-icon {
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.85);
}
header:not(.scrolled) .nav-link:hover {
  color: var(--highlight);
}
header:not(.scrolled) .nav-link::after {
  background-color: var(--highlight);
  bottom: 30px;
}
header:not(.scrolled) .header-action-btn {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.05);
}
header:not(.scrolled) .header-action-btn:hover {
  background-color: var(--secondary);
  color: #ffffff;
  border-color: var(--secondary);
}
header:not(.scrolled) .header-right span {
  color: #ffffff !important;
}
header:not(.scrolled) .menu-toggle span {
  background-color: #ffffff;
}

.megamenu {
  position: absolute;
  top: 100%;
  /* left: 0; */
  /* width: 100%; */
  background-color: var(--bg-white);
  border-bottom: 3px solid var(--secondary);
  box-shadow: var(--shadow-lg);
  padding: 40px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 999;
  min-width: 290px;
}

.has-megamenu:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.megamenu-grid {
  display: grid;
  /* grid-template-columns: repeat(4, 1fr); */
  grid-template-columns: 1fr;
  gap: 30px;
}

.megamenu-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--card-border);
}

[data-theme="dark"] .megamenu-col h4 {
  color: var(--highlight);
}

.megamenu-list li {
  margin-bottom: 10px;
}

.megamenu-list a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.megamenu-list a:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-border);
  color: var(--text-dark);
  background-color: var(--card-bg);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.header-action-btn:hover {
  background-color: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 4px; /* Professional crisp corner radius */
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  display: none; /* Removed playful circle animations */
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--highlight); /* Gold/Yellow background */
  color: #031326;
  border: 1px solid var(--highlight);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.btn-primary:hover {
  background-color: #ffffff;
  color: #031326;
  border-color: #ffffff;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  color: #ffffff;
}

[data-theme="dark"] .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-white {
  background-color: #ffffff;
  color: #031326;
  border: 1px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--highlight);
  border-color: var(--highlight);
  color: #031326;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

/* Mobile Nav Toggler */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background-color: #031326;
  color: #fff;
  padding-top: 90px;
  position: relative;
}

/* Radar-Grid blueprint pattern for professional B2B look */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(53, 214, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(53, 214, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 3;
  pointer-events: none;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 2s ease-in-out, transform 8s ease-out;
  filter: brightness(0.35);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.06);
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark-overlay);
  z-index: 2;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-ship-silhouette {
  position: absolute;
  bottom: 0;
  right: -100px;
  width: 70%;
  height: auto;
  opacity: 0.08;
  z-index: 3;
  pointer-events: none;
  animation: floatShip 30s linear infinite;
}

@keyframes floatShip {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-40px) translateY(-5px); }
  100% { transform: translateX(0) translateY(0); }
}

.hero .container {
  z-index: 4;
}

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

.hero-reference-tag {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--highlight);
  letter-spacing: 3px;
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: #CAD5E2;
  margin-bottom: 40px;
  line-height: 1.65;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* Wave separators */
.wave-separator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 5;
  pointer-events: none;
}

.wave-separator svg {
  width: 100%;
  height: 80px;
}

.wave-separator path {
  fill: var(--bg-white);
  transition: fill var(--transition-normal);
}

.hero .wave-separator path {
  fill: var(--bg-light);
}

.wave-animated path {
  animation: waveMotion 15s ease-in-out infinite alternate;
}

@keyframes waveMotion {
  0% { d: path("M0,32L120,42.7C240,53,480,75,720,74.7C960,75,1200,53,1320,42.7L1440,32L1440,320L1320,320C1200,320,960,320,720,320C480,320,240,320,120,320L0,320Z"); }
  100% { d: path("M0,64L120,53.3C240,43,480,21,720,26.7C960,32,1200,64,1320,80L1440,96L1440,320L1320,320C1200,320,960,320,720,320C480,320,240,320,120,320L0,320Z"); }
}

/* Trust Bar / Statistics */
.trust-bar {
  background-color: var(--bg-light);
  padding: 40px 0;
  border-bottom: 1px solid var(--card-border);
  transition: background-color var(--transition-normal);
}

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

.stat-card {
  text-align: center;
  padding: 10px;
}

.stat-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

[data-theme="dark"] .stat-number {
  color: var(--highlight);
}

.stat-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.about-images-wrapper {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 20px;
}

/* Technical blueprint outline overlay */
.about-images-wrapper::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px dashed rgba(0, 168, 181, 0.25);
  pointer-events: none;
  z-index: 0;
}

.about-image-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
  transition: transform var(--transition-slow);
}

.about-image-card:hover {
  transform: translateY(-8px);
}

.about-img-1 {
  width: 55%;
  align-self: flex-start;
  margin-top: 40px;
}

.about-img-2 {
  width: 45%;
  align-self: flex-end;
}

.about-experience-badge {
  position: absolute;
  top: 0;
  right: 10%;
  background: var(--gradient-ocean);
  color: #fff;
  padding: 24px;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-glow);
  max-width: 150px;
}

.about-experience-badge span {
  display: block;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}

.about-tabs {
  display: flex;
  border-bottom: 2px solid var(--card-border);
  margin: 30px 0;
}

.about-tab-btn {
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition-fast);
}

.about-tab-btn.active {
  color: var(--primary);
}

[data-theme="dark"] .about-tab-btn.active {
  color: var(--highlight);
}

.about-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width var(--transition-fast);
}

.about-tab-btn.active::after {
  width: 100%;
}

.about-tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.about-tab-pane.active {
  display: block;
}

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

.about-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.about-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-dark);
}

.about-list-item i {
  color: var(--accent);
}

/* Timeline component */
.about-timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 20px;
  border-left: 2px dashed var(--card-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 10px rgba(0, 168, 181, 0.4);
}

.timeline-year {
  font-weight: 800;
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 4px;
}

[data-theme="dark"] .timeline-year {
  color: var(--highlight);
}

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

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

.product-cat-card {
  background: #f4f4f5;
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 32px;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
  background: linear-gradient(135deg, rgba(14, 117, 216, 0.03) 0%, rgba(0, 168, 181, 0.03) 100%), var(--gradient-card);
}

/* Technical Corner Brackets for B2B Maritime Aesthetic */
.product-cat-card, .why-card, .qa-card, .featured-card, .inquiry-form-container, .testimonial-glass-card {
  position: relative;
}

.product-cat-card::before, .why-card::before, .qa-card::before, .featured-card::before, .inquiry-form-container::before, .testimonial-glass-card::before {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  opacity: 0.35;
  transition: opacity var(--transition-normal), width var(--transition-normal), height var(--transition-normal), border-color var(--transition-normal);
  pointer-events: none;
  z-index: 5;
}

.product-cat-card::after, .why-card::after, .qa-card::after, .featured-card::after, .inquiry-form-container::after, .testimonial-glass-card::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 6px;
  height: 6px;
  border-bottom: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
  opacity: 0.35;
  transition: opacity var(--transition-normal), width var(--transition-normal), height var(--transition-normal), border-color var(--transition-normal);
  pointer-events: none;
  z-index: 5;
}

.product-cat-card:hover::before, .why-card:hover::before, .qa-card:hover::before, .featured-card:hover::before, .inquiry-form-container:hover::before, .testimonial-glass-card:hover::before,
.product-cat-card:hover::after, .why-card:hover::after, .qa-card:hover::after, .featured-card:hover::after, .inquiry-form-container:hover::after, .testimonial-glass-card:hover::after {
  opacity: 1;
  width: 14px;
  height: 14px;
  border-color: var(--highlight);
}

.product-cat-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: color var(--transition-fast);
}

/* Outer square box frame */
.product-cat-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--card-border);
  border-radius: 4px; /* Crisp square corner radius */
  transition: transform 0.6s ease, border-radius 0.6s ease, border-color 0.6s ease, background-color 0.6s ease;
  z-index: -1;
}

/* Inner circle frame */
.product-cat-icon::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 60px;
  height: 60px;
  background-color: rgba(14, 117, 216, 0.08); /* Faint blue circle background */
  border: 1.5px dashed var(--secondary);
  border-radius: 50%;
  transition: transform 0.6s ease, border-radius 0.6s ease, border-color 0.6s ease, background-color 0.6s ease;
  z-index: -2;
}

/* Hover Animation: Box becomes Circle, and Circle becomes Box! */
.product-cat-card:hover .product-cat-icon::before {
  transform: rotate(45deg) scale(0.9);
  border-radius: 50%; /* Box becomes Circle! */
  border-color: var(--highlight);
  background-color: var(--highlight); /* Glowing gold background */
}

.product-cat-card:hover .product-cat-icon::after {
  transform: rotate(-45deg) scale(1.1);
  border-radius: 4px; /* Circle becomes Box! */
  border-color: var(--primary);
  background-color: transparent;
}

.product-cat-card:hover .product-cat-icon {
  color: #031326; /* Dark navy icon color when hovered */
}

.product-cat-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.product-cat-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-cat-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--secondary);
}

.product-cat-link i {
  transition: transform var(--transition-fast);
}

.product-cat-card:hover .product-cat-link i {
  transform: translateX(4px);
}

/* Featured Products Carousel - Forced Dark Section for high-contrast B2B look */
.featured-products {
  background-color: #041224; /* Deep dark blue */
  color: #ffffff;
  transition: background-color var(--transition-normal);
}

.featured-products .section-title {
  color: #ffffff;
}

.featured-products .section-desc {
  color: #CAD5E2;
}

.featured-products .featured-card {
  background-color: rgba(6, 17, 34, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(53, 214, 255, 0.15);
}

.featured-products .featured-card:hover {
  border-color: var(--highlight);
  box-shadow: 0 0 20px rgba(53, 214, 255, 0.2);
}

.featured-products .featured-name {
  color: #ffffff;
}

.featured-products .featured-specs {
  border-top-color: rgba(255, 255, 255, 0.08);
  border-left-color: rgba(255, 255, 255, 0.08);
  color: #CAD5E2;
}

.featured-products .featured-spec-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  border-right-color: rgba(255, 255, 255, 0.08);
}

.featured-products .carousel-btn {
  background-color: rgba(6, 17, 34, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.featured-products .carousel-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.featured-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 -15px;
  padding: 15px;
}

.featured-carousel {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
}

.featured-card {
  flex: 0 0 calc(33.333% - 20px);
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.featured-img-box {
  position: relative;
  height: 270px;
  background-color: #eee;
  overflow: hidden;
}

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

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

.featured-brand-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(5, 43, 91, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.featured-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.featured-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.featured-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px dashed var(--card-border);
  border-left: 1px dashed var(--card-border);
  margin: 16px 0 24px 0;
  font-size: 12px;
  color: var(--text-muted);
}

.featured-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px dashed var(--card-border);
  border-right: 1px dashed var(--card-border);
}

.featured-spec-item i {
  color: var(--accent);
  width: 14px;
  height: 14px;
}

.featured-btns {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.featured-btns .btn {
  flex: 1;
  padding: 10px;
  font-size: 13px;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.carousel-btn:hover {
  background-color: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.why-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: rgba(0, 168, 181, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.why-card:hover .why-icon {
  background-color: var(--accent);
  color: #fff;
}

.why-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Brands Grid Layout Section */
.brands-section {
  background-color: #030814;
  position: relative;
  overflow: hidden;
}

.brands-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

.brand-logo-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 35px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.brand-logo-img {
  width: 145px;
  /* height: 36px; */
  object-fit: contain;
  /* opacity: 0.45; */
  transition: opacity var(--transition-fast), transform var(--transition-fast), filter var(--transition-fast);
  /* filter: grayscale(1); */
}

.brand-logo-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 16px;
  margin-bottom: 0;
  transition: color var(--transition-fast);
}

.brand-logo-card:hover {
  transform: translateY(-5px);
  border-color: var(--highlight);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.05);
}

.brand-logo-img .brand-logo-card:hover  {
  opacity: 1;
  filter: grayscale(0) drop-shadow(0 0 3px var(--highlight));
}

.brand-logo-card:hover h4 {
  color: var(--highlight);
}

/* Light Theme Overrides */
[data-theme="light"] #brands {
  background-color: #ffffff !important;
}

[data-theme="light"] .brand-logo-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.015);
}

[data-theme="light"] .brand-logo-card h4 {
  color: var(--text-muted);
}

[data-theme="light"] .brand-logo-img {
  /* filter: grayscale(1) brightness(0.3); */
}

[data-theme="light"] .brand-logo-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 10px 25px rgba(14, 117, 216, 0.06);
}

[data-theme="light"] .brand-logo-card:hover .brand-logo-img {
  /* filter: grayscale(0) drop-shadow(0 0 3px var(--secondary)); */
}

[data-theme="light"] .brand-logo-card:hover h4 {
  color: var(--secondary);
}

/* Responsive Brand Grid */
@media (max-width: 991px) {
  .brands-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 575px) {
  .brands-grid-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Global Supply Map - Forced Dark Section for high-contrast B2B look */
.global-supply {
  background-color: #030F1C; /* Dark navy */
  color: #ffffff;
  transition: background-color var(--transition-normal);
}

.global-supply .section-title {
  color: #ffffff;
}

.global-supply .section-desc {
  color: #CAD5E2;
}

.global-supply .map-wrapper {
  background: #060B13; /* Radar screen background */
  border: 1px solid rgba(53, 214, 255, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  margin-top: 40px;
}

.world-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.world-map-svg .land {
  fill: #132238; /* Dark blueprint land */
  stroke: #030F1C;
  stroke-width: 0.5px;
  transition: fill var(--transition-normal);
}

.global-supply .route-path {
  fill: none;
  stroke: var(--highlight); /* Glowing cyan routes */
  stroke-width: 1.5;
  stroke-dasharray: 4, 4;
  animation: dashRoute 20s linear infinite;
}

@keyframes dashRoute {
  to {
    stroke-dashoffset: -40;
  }
}

.map-pin {
  cursor: pointer;
}

.map-pin circle {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 1.5;
  transition: fill var(--transition-fast), r var(--transition-fast);
}

.map-pin:hover circle {
  fill: var(--highlight);
  r: 7;
}

.map-pin-pulse {
  fill: var(--highlight);
  opacity: 0.4;
  animation: pulsePin 2s infinite;
}

@keyframes pulsePin {
  0% { r: 5; opacity: 0.8; }
  100% { r: 18; opacity: 0; }
}

.map-tooltip {
  position: absolute;
  background-color: rgba(5, 43, 91, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(53, 214, 255, 0.3);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--border-radius-sm);
  font-size: 13px;
  box-shadow: var(--shadow-glow);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
  max-width: 250px;
}

.map-tooltip h4 {
  font-weight: 800;
  color: var(--highlight);
  margin-bottom: 4px;
}

/* Work Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 60px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 5%;
  right: 5%;
  height: 2px;
  background-color: var(--card-border);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-num {
  width: 60px;
  height: 60px;
  background-color: var(--bg-white);
  border: 2px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  margin: 0 auto 20px auto;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

[data-theme="dark"] .process-num {
  background-color: var(--bg-light);
  color: var(--highlight);
}

.process-step:hover .process-num {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  box-shadow: 0 0 15px rgba(14, 117, 216, 0.4);
}

.process-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Quality Assurance Section */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

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

.qa-card {
  background: var(--gradient-card);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 24px;
}

.qa-card-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.qa-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.qa-card-desc {
  font-size: 13px;
  color: var(--text-muted);
}

.qa-checklist {
  list-style: none;
}

.qa-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.qa-item i {
  color: var(--success);
  margin-top: 3px;
}

.qa-item-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.qa-item-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Facts and Figures */
.facts-section {
  background: var(--gradient-ocean);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.fact-card {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.fact-card:last-child {
  border-right: none;
}

.fact-num {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--highlight);
}

.fact-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #CAD5E2;
}

/* Testimonials Carousel */
.testimonials {
  background-color: var(--bg-light);
  transition: background-color var(--transition-normal);
}

.testimonial-carousel-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 20px;
}

.testimonial-glass-card {
  background: var(--gradient-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.quote-icon {
  font-size: 60px;
  color: rgba(14, 117, 216, 0.15);
  position: absolute;
  top: 20px;
  left: 40px;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.8;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-meta {
  text-align: left;
}

.testimonial-name {
  font-weight: 700;
  font-size: 16px;
}

.testimonial-company {
  font-size: 13px;
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--card-border);
  cursor: pointer;
  transition: background-color var(--transition-fast), width var(--transition-fast);
}

.testimonial-dot.active {
  background-color: var(--secondary);
  width: 24px;
  border-radius: 10px;
}

/* Call To Action */
.cta-section {
  background: var(--gradient-ocean);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(var(--highlight) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.1;
}

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

.cta-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-desc {
  font-size: 16px;
  color: #CAD5E2;
  margin-bottom: 40px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Inquiry Form Section */
.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.inquiry-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.inquiry-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.inquiry-info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(14, 117, 216, 0.1);
  color: var(--secondary);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.inquiry-info-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.inquiry-info-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.inquiry-form-container {
  background: var(--gradient-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

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

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  background-color: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(14, 117, 216, 0.15);
}

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

/* File Upload zone */
.file-upload-zone {
  border: 2px dashed var(--card-border);
  background-color: var(--bg-white);
  padding: 24px;
  text-align: center;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.file-upload-zone:hover {
  border-color: var(--secondary);
  background-color: rgba(14, 117, 216, 0.02);
}

.file-upload-icon {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.file-upload-text {
  font-size: 13px;
  color: var(--text-muted);
}

.file-upload-text span {
  color: var(--secondary);
  font-weight: 700;
}

#file-input {
  display: none;
}

.file-name-preview {
  margin-top: 10px;
  font-size: 13px;
  color: var(--success);
  font-weight: 700;
}

/* Footer Section */
footer {
  background-color: var(--footer-bg);
  color: #fff;
  position: relative;
}

.footer-top {
  padding: 100px 0 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col-tag {
  display: block;
  font-family: monospace;
  font-size: 11px;
  color: var(--highlight-cyan);
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

[data-theme="light"] .footer-col-tag {
  color: var(--secondary);
}

.footer-col h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--highlight) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #CAD5E2;
  /* margin-bottom: 24px; */
  margin: 10px 78px 24px 0px;
}

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

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.social-btn svg,
.social-btn i {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  stroke-width: 2px;
  fill: none;
}

.social-btn:hover {
  background-color: var(--highlight);
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-links a {
  font-size: 14px;
  color: #CAD5E2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.footer-contact li {
  font-size: 14px;
  color: #CAD5E2;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 25px;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 3px;
}

.newsletter-form {
  display: flex;
  margin-top: 16px;
}

.newsletter-input {
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: #fff;
}

.newsletter-btn {
  background: var(--gradient-ocean);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #CAD5E2;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

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

/* Floating widgets */
.floating-widgets {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform var(--transition-fast);
}

.floating-btn:hover {
  transform: scale(1.1);
}

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

.floating-call {
  background-color: var(--secondary);
}

.scroll-top-btn {
  background-color: var(--primary);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
}

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

/* Search Modal Popup */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 11, 19, 0.95);
  backdrop-filter: blur(16px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.search-modal-container {
  width: 100%;
  max-width: 600px;
  padding: 24px;
  text-align: center;
  transform: translateY(-40px);
  transition: transform var(--transition-normal);
}

.search-modal.active .search-modal-container {
  transform: translateY(0);
}

.search-modal-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.search-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.search-input-box {
  display: flex;
  border-bottom: 2px solid var(--highlight);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.search-input-box input {
  flex-grow: 1;
  font-size: 24px;
  color: #fff;
  font-weight: 600;
}

.search-input-box input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-input-box i {
  font-size: 24px;
  color: var(--highlight);
}

.search-suggestions {
  text-align: left;
}

.search-suggestions h5 {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.search-suggestion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-suggestion-list a {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
}

.search-suggestion-list a:hover {
  background-color: var(--secondary);
}

/* Preloader Screen */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #031326;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.preloader-spinner {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(53, 214, 255, 0.1);
  border-top-color: var(--highlight);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  position: relative;
  margin-bottom: 24px;
}

.preloader-propeller {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--highlight);
}

.preloader-progress {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form Submit Loading Overlay */
.submit-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--primary-rgb), 0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  z-index: 10;
  color: #fff;
}

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

.submit-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--highlight);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin-bottom: 16px;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .hero-title { font-size: 46px; }
  .about-grid { gap: 40px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { flex: 0 0 calc(50% - 15px); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(4, 1fr); gap: 30px; }
  .process-timeline::before { display: none; }
  .facts-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .fact-card { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 16px; }
  .fact-card:nth-child(3), .fact-card:nth-child(6) { border-bottom: none; }
}

@media (max-width: 991px) {
  .header-container { height: 75px; }
  .menu-toggle { display: flex; z-index: 1002; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px 40px;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .has-megamenu {
    width: 100%;
  }
  
  .megamenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 10px 0 0 15px;
    display: none;
    border-bottom: none;
  }
  
  .has-megamenu:hover .megamenu {
    display: block;
  }
  
  .megamenu-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .megamenu-col h4 {
    margin-bottom: 8px;
    padding-bottom: 4px;
    font-size: 13px;
  }
  
  .hero-title { font-size: 38px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-1 { margin-top: 0; }
  .inquiry-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:last-child { grid-column: span 2; }
  .products-grid { grid-template-columns: 1fr; }
  .featured-card { flex: 0 0 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .qa-grid { grid-template-columns: 1fr; }
  .qa-card-box { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-card:nth-child(even) { border-bottom: none; }
  .cta-btns { flex-direction: column; gap: 12px; }
  .cta-btns .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group-full { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .custom-cursor, .custom-cursor-glow { display: none; }
}

/* --- REFERENCE LAYOUT ADDITIONS --- */

/* Stats Overlay Section */
.stats-overlay-section {
  position: relative;
  z-index: 10;
  margin-top: -100px;
  margin-bottom: 50px;
}

.stats-overlay-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: background-color var(--transition-normal);
}

.stats-card-left {
  background-color: var(--highlight);
  color: #031326;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats-left-tag {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(3, 19, 38, 0.65);
  margin-bottom: 8px;
}

.stats-card-left h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.stats-card-left p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 24px;
}

.btn-dark-stats {
  align-self: flex-start;
  background-color: #031326;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--border-radius-sm);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-dark-stats:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
  color: #ffffff;
}

.stats-card-right {
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background-color: var(--bg-white);
  transition: background-color var(--transition-normal);
}

[data-theme="dark"] .stats-card-right {
  background-color: var(--bg-light);
}

.stats-grid-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stats-grid-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--highlight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.stats-grid-item .stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

[data-theme="dark"] .stats-grid-item .stat-number {
  color: var(--highlight-cyan);
}

.stats-grid-item .stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Services Reference Grid */
.services-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-ref-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.service-ref-img {
  height: 180px;
  overflow: hidden;
  background-color: #eee;
}

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

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

.service-ref-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-ref-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.service-ref-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.service-ref-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Split CTA Section */
.split-cta-section {
  width: 100%;
  background-color: #031326;
  overflow: hidden;
}

.split-cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-panel-left {
  background-color: #041224;
  color: #ffffff;
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-left-tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--highlight);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.split-panel-left h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
}

.split-panel-left p {
  font-size: 15px;
  line-height: 1.7;
  color: #CAD5E2;
  margin-bottom: 32px;
}

.btn-primary-ref {
  background-color: var(--highlight);
  color: #031326;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--border-radius-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn-primary-ref:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.split-panel-right {
  background-color: var(--highlight);
  color: #031326;
  padding: 80px 10%;
  position: relative;
}

.split-panel-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/hero_cargo_ship.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.split-panel-right h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.split-panel-right > p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.split-right-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.split-right-list li {
  display: flex;
  gap: 16px;
}

.split-list-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(3, 19, 38, 0.08);
  color: #031326;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.split-right-list h4 {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.split-right-list p {
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.5;
}

/* Responsive Additions */
@media (max-width: 991px) {
  .stats-overlay-section {
    margin-top: -50px;
  }
  .stats-overlay-card {
    grid-template-columns: 1fr;
  }
  .stats-card-left {
    padding: 32px;
  }
  .stats-card-right {
    padding: 32px;
    grid-template-columns: 1fr 1fr;
  }
  .services-reference-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-cta-container {
    grid-template-columns: 1fr;
  }
  .split-panel-left, .split-panel-right {
    padding: 60px 24px;
  }
}

@media (max-width: 768px) {
  .stats-card-right {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .services-reference-grid {
    grid-template-columns: 1fr;
  }
}

/* --- REDESIGNED ABOUT US SECTION STYLES --- */

.about-scanning-box {
  width: 100%;
  height: 380px;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--card-border);
}

.scanning-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--highlight-cyan), transparent);
  box-shadow: 0 0 12px var(--highlight-cyan), 0 0 4px var(--highlight-cyan);
  z-index: 2;
  animation: scanningLaser 4s infinite linear;
}

@keyframes scanningLaser {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.scanning-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(3, 19, 38, 0.85);
  color: var(--highlight);
  font-family: monospace;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: var(--border-radius-xs);
  border: 1px solid rgba(245, 158, 11, 0.3);
  z-index: 2;
  letter-spacing: 1px;
}

.about-overlapping-box {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 240px;
  height: 180px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  z-index: 3;
}

.about-spec-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
}

.about-spec-item {
  display: flex;
  gap: 16px;
  background-color: var(--bg-white);
  padding: 16px 20px;
  border-radius: var(--border-radius-sm);
  border: 1px dashed var(--card-border);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.about-spec-item:hover {
  transform: translateX(6px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}

.about-spec-icon {
  width: 42px;
  height: 42px;
  background-color: rgba(14, 117, 216, 0.08);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.about-spec-text h4 {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.about-spec-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.about-timeline {
  margin-top: 40px;
  border-left: 2px dashed rgba(14, 117, 216, 0.25);
  padding-left: 24px;
}

/* Responsive Overrides for About Us Redesign */
@media (max-width: 991px) {
  .about-overlapping-box {
    display: none; /* Hide absolute box to prevent layout overflow on smaller widths */
  }
  .about-scanning-box {
    height: 300px;
  }
}

/* --- B2B TELEMETRY DASHBOARD TIMELINE STYLES --- */

.process-telemetry-section {
  background-color: #030814;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.process-telemetry-section .section-title {
  color: #ffffff;
}

.process-telemetry-section .section-desc {
  color: #a5b4fc;
  opacity: 0.85;
}

.process-dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  margin-top: 50px;
  align-items: start;
}

/* Left Column: Telemetry Screen Panel */
.process-telemetry-panel {
  background: rgba(4, 18, 38, 0.55);
  border: 1px solid rgba(14, 117, 216, 0.25);
  border-radius: var(--border-radius-md);
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 168, 181, 0.05);
}

.telemetry-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(53, 214, 255, 0.04) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  z-index: 1;
  pointer-events: none;
}

.radar-scope-wrapper {
  display: flex;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}

.radar-scope {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1.5px solid rgba(53, 214, 255, 0.2);
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.radar-crosshair-h {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(53, 214, 255, 0.15);
}

.radar-crosshair-v {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(53, 214, 255, 0.15);
}

.radar-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: conic-gradient(from 0deg, rgba(53, 214, 255, 0.2) 0deg, rgba(53, 214, 255, 0) 90deg);
  border-radius: 50%;
  transform-origin: center center;
  animation: radarSweep 6s infinite linear;
}

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

.radar-blip {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--highlight-cyan);
  box-shadow: 0 0 10px var(--highlight-cyan), 0 0 4px var(--highlight-cyan);
  opacity: 0;
  animation: blipFade 3s infinite ease-out;
}

.blip-1 { top: 40px; left: 55px; animation-delay: 0.5s; }
.blip-2 { top: 110px; left: 120px; animation-delay: 1.8s; }
.blip-3 { top: 70px; left: 105px; animation-delay: 2.5s; }

@keyframes blipFade {
  0% { opacity: 0; }
  10% { opacity: 1; }
  100% { opacity: 0; }
}

.radar-readouts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.readout-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.readout-label {
  color: #8fa0dd;
  opacity: 0.75;
  font-weight: 600;
  font-family: monospace;
}

.readout-value {
  color: #ffffff;
  font-weight: 700;
}

.success-text {
  color: var(--success) !important;
  text-shadow: 0 0 6px rgba(22, 163, 74, 0.4);
}

.highlight-text {
  color: var(--highlight) !important;
  text-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.telemetry-metrics {
  position: relative;
  z-index: 2;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.metric-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-icon {
  color: var(--secondary);
  width: 16px;
  height: 16px;
}

.metric-status {
  font-size: 10px;
  font-family: monospace;
  color: var(--highlight-cyan);
  background: rgba(53, 214, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(53, 214, 255, 0.2);
  letter-spacing: 0.5px;
  animation: pulseStatus 2s infinite alternate;
}

@keyframes pulseStatus {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.metric-progress-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
}

.metric-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--highlight-cyan));
  border-radius: 2px;
}

.metric-log {
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-entry {
  font-family: monospace;
  font-size: 11px;
  color: var(--highlight-cyan);
  letter-spacing: 0.5px;
  opacity: 0.85;
}

/* Right Column: Steps Timeline */
.process-steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding-left: 24px;
  border-left: 1.5px dashed rgba(14, 117, 216, 0.2);
}

.process-step-item {
  display: flex;
  position: relative;
}

.step-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--secondary);
  color: #ffffff;
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: -40px;
  top: 24px;
  z-index: 2;
  border: 3px solid #030814;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.step-content {
  flex: 1;
  background: rgba(4, 18, 38, 0.35);
  border: 1px solid rgba(14, 117, 216, 0.15);
  border-radius: var(--border-radius-md);
  padding: 20px 24px;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.process-step-item:hover .step-badge {
  background: var(--highlight);
  transform: scale(1.15);
}

.process-step-item:hover .step-content {
  transform: translateX(8px);
  border-color: var(--highlight);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.08);
  background: rgba(4, 18, 38, 0.55);
}

.step-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.step-tag {
  font-family: monospace;
  font-size: 10px;
  color: var(--highlight-cyan);
  letter-spacing: 1px;
}

.step-icon {
  color: var(--secondary);
  width: 18px;
  height: 18px;
  transition: color var(--transition-fast);
}

.process-step-item:hover .step-icon {
  color: var(--highlight);
}

.step-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.step-desc {
  font-size: 13px;
  color: #a5b4fc;
  opacity: 0.8;
  line-height: 1.5;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .process-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .radar-scope-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .radar-scope {
    margin: 0 auto;
  }
  .radar-readouts {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 575px) {
  .radar-readouts {
    grid-template-columns: 1fr;
  }
}

/* --- WHY CHOOSE US ASYMMETRIC VALUE DASHBOARD STYLES --- */
.why-dashboard-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  margin-top: 50px;
  align-items: stretch;
}

.why-metrics-panel {
  background: var(--gradient-card);
  border: 1px solid rgba(14, 117, 216, 0.06);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(3, 19, 38, 0.02);
}

.why-metrics-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(14, 117, 216, 0.02) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  z-index: 1;
  pointer-events: none;
}

.why-metrics-header {
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}

.why-metrics-tag {
  font-family: monospace;
  font-size: 11px;
  color: var(--secondary);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 12px;
}

.why-metrics-header h3 {
  font-size: 54px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}

.why-metrics-header p {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 700;
}

.why-metrics-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 35px;
}

.why-metrics-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.metric-lbl {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.metric-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.why-metrics-progress {
  width: 100%;
  height: 3px;
  background: rgba(14, 117, 216, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.why-metrics-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--highlight) 100%);
  border-radius: 4px;
}

.why-metrics-footer {
  position: relative;
  z-index: 2;
  border-top: 1px dashed rgba(14, 117, 216, 0.08);
  padding-top: 24px;
}

.stamp-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stamp-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

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

/* Right Panel Pillars */
.why-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.why-pillar-card {
  background-color: var(--bg-white);
  border: 1px solid rgba(14, 117, 216, 0.05);
  border-radius: var(--border-radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: 0 4px 15px rgba(3, 19, 38, 0.01);
}

.why-pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 117, 216, 0.15);
  box-shadow: 0 8px 25px rgba(3, 19, 38, 0.03);
}

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

.pillar-code {
  font-family: monospace;
  font-size: 10px;
  color: var(--highlight-cyan);
  letter-spacing: 0.5px;
  background: rgba(53, 214, 255, 0.06);
  border: 1px solid rgba(53, 214, 255, 0.15);
  padding: 3px 8px;
  border-radius: 4px;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(14, 117, 216, 0.08);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.why-pillar-card:hover .pillar-icon {
  background-color: var(--secondary);
  color: #fff;
}

.pillar-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.pillar-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Dark theme styling for why metrics */
[data-theme="dark"] .why-metrics-panel {
  background: rgba(6, 17, 34, 0.6);
}

[data-theme="dark"] .why-metrics-header h3 {
  color: #fff;
}

[data-theme="dark"] .why-metrics-header p {
  color: #cad5e2;
}

[data-theme="dark"] .why-pillar-card {
  background-color: rgba(6, 17, 34, 0.45);
}

/* --- 4-STEP PROCUREMENT PIPELINE STYLES --- */
.buying-pipeline-container {
  position: relative;
  margin-top: 50px;
  padding: 20px 0;
}

.buying-circuit-line {
  position: absolute;
  top: 70px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: rgba(14, 117, 216, 0.15);
  z-index: 1;
}

.buying-circuit-pulse {
  height: 100%;
  width: 30px;
  background: linear-gradient(90deg, transparent, var(--highlight), transparent);
  box-shadow: 0 0 10px var(--highlight);
  position: absolute;
  left: 0;
  top: 0;
  animation: circuitFlow 4s infinite linear;
}

@keyframes circuitFlow {
  0% { left: 0%; }
  100% { left: 100%; }
}

.buying-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.buying-step-card {
  background-color: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

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

.buying-badge {
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--highlight-cyan);
  border: 1px solid rgba(53, 214, 255, 0.3);
  background-color: rgba(53, 214, 255, 0.05);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.buying-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(14, 117, 216, 0.08);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.buying-step-card:hover .buying-icon-box {
  background-color: var(--highlight);
  color: #031326;
  transform: rotate(360deg);
}

.buying-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.buying-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Dark theme compatibility for buying cards */
[data-theme="dark"] .buying-step-card {
  background-color: rgba(6, 17, 34, 0.65);
}

/* Responsive Overrides for Value Dashboard & Buying Pipeline */
@media (max-width: 991px) {
  .why-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .buying-circuit-line {
    display: none;
  }
  .buying-pipeline {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .why-pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .buying-pipeline {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- FACTS & FIGURES MODERN CLEAN LIGHT STYLES --- */
#facts-telemetry {
  background-color: #f8fafc !important; /* Force clean light background */
  transition: background-color var(--transition-normal);
}

.clean-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
}

.clean-stat-card {
  padding: 50px 30px;
  position: relative;
  text-align: center;
  transition: background-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
  z-index: 1;
  background: #ffffff;
}

.clean-stat-card:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}

/* Expanding top border indicator */
.clean-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  width: 0;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.clean-stat-card:nth-child(1)::before { background-color: var(--secondary); }
.clean-stat-card:nth-child(2)::before { background-color: var(--highlight); }
.clean-stat-card:nth-child(3)::before { background-color: var(--highlight-cyan); }
.clean-stat-card:nth-child(4)::before { background-color: var(--success); }

/* Trigger expand on revealed or hover */
.facts-telemetry-section.revealed .clean-stat-card::before,
.clean-stat-card:hover::before {
  width: 100%;
}

.clean-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
  z-index: 2;
}

.clean-stat-number {
  margin-bottom: 15px;
}

.clean-stat-number .fact-num {
  font-size: 56px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1.5px;
  font-family: var(--font-primary);
  line-height: 1;
  transition: color var(--transition-normal);
}

/* Color shift numbers on hover to match bar indicators */
.clean-stat-card:nth-child(1):hover .fact-num { color: var(--secondary); }
.clean-stat-card:nth-child(2):hover .fact-num { color: var(--highlight); }
.clean-stat-card:nth-child(3):hover .fact-num { color: var(--highlight-cyan); }
.clean-stat-card:nth-child(4):hover .fact-num { color: var(--success); }

.clean-stat-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.clean-stat-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Dark theme overrides */
[data-theme="dark"] #facts-telemetry {
  background-color: #030814 !important;
}

[data-theme="dark"] .clean-stats-grid {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.01);
  box-shadow: none;
}

[data-theme="dark"] .clean-stat-card {
  background: rgba(4, 18, 38, 0.25);
}

[data-theme="dark"] .clean-stat-card:not(:last-child) {
  border-right-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .clean-stat-card:hover {
  background-color: rgba(4, 18, 38, 0.45);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .clean-stat-number .fact-num {
  color: #ffffff;
}

[data-theme="dark"] .clean-stat-label {
  color: #ffffff;
}

[data-theme="dark"] .clean-stat-sub {
  color: #94a3b8;
}

@media (max-width: 991px) {
  .clean-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .clean-stat-card {
    border-bottom: 1px solid #e2e8f0;
  }
  
  .clean-stat-card:nth-child(2) {
    border-right: none;
  }
  
  .clean-stat-card:nth-child(3),
  .clean-stat-card:nth-child(4) {
    border-bottom: none;
  }

  [data-theme="dark"] .clean-stat-card {
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 575px) {
  .clean-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .clean-stat-card {
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }
  
  .clean-stat-card:last-child {
    border-bottom: none !important;
  }

  [data-theme="dark"] .clean-stat-card {
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
  }
}

/* --- NEW ARRIVALS CAROUSEL STYLES --- */
.new-arrivals-carousel-wrapper {
  overflow: hidden;
  margin: 0 -15px;
  padding: 15px;
}

.new-arrivals-carousel {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
}

.new-arrival-card {
  flex: 0 0 calc(33.333% - 20px);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  padding-bottom: 24px;
  text-align: center;
}

.new-arrival-card:hover {
  transform: translateY(-8px);
  border-color: var(--highlight);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.1);
}

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

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

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

.new-arrival-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 20px;
  padding: 0 15px;
  transition: color var(--transition-fast);
}

/* Light theme support */
[data-theme="light"] #new-arrivals {
  background-color: #f1f5f9 !important;
}

[data-theme="light"] .new-arrival-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .new-arrival-name {
  color: var(--text-dark);
}

[data-theme="light"] .new-arrival-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(14, 117, 216, 0.08);
}

/* Responsive new arrivals */
@media (max-width: 991px) {
  .new-arrival-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .new-arrival-card {
    flex: 0 0 100%;
  }
}

/* --- QUICK CONTACT SECTION STYLES --- */
@media (max-width: 768px) {
  .quick-contact-section {
    background-attachment: scroll !important;
    padding: 80px 0 !important;
  }
  .quick-contact-card {
    padding: 40px 20px !important;
  }
  .quick-contact-card h2 {
    font-size: 28px !important;
  }
}
.bg-color{
  background-color: #b7c3d3;
}

/* --- SUBPAGES STYLING (ABOUT, PRODUCTS, CONTACT) --- */

/* Subpage Hero Section */
.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: 200px 0 120px 0;
  background: linear-gradient(135deg, #031326 0%, #052B5B 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(53, 214, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(53, 214, 255, 0.015) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.subpage-breadcrumbs {
  font-family: var(--font-secondary);
  font-size: 13px;
  color: var(--highlight-cyan);
  margin-bottom: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.subpage-breadcrumbs a {
  color: #fff;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.subpage-breadcrumbs a:hover {
  opacity: 1;
}

.subpage-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-top: 10px;
}

/* About Story Section */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Compliance Accreditation Cards */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.compliance-card {
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  padding: 30px 20px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.compliance-logo {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  font-family: monospace;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--highlight);
  padding-bottom: 10px;
  margin-bottom: 15px;
  display: inline-block;
}

.compliance-status {
  font-size: 11px;
  color: #22c55e;
  font-weight: 700;
  font-family: monospace;
}

@media (max-width: 991px) {
  .compliance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Historical Timeline styling */
.history-timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

.history-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31px;
  width: 2px;
  background-color: var(--card-border);
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 40px;
}

.timeline-marker {
  position: absolute;
  left: 20px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 4px solid var(--highlight);
  z-index: 2;
  transition: background-color var(--transition-fast);
}

.timeline-item:hover .timeline-marker {
  background-color: var(--highlight-cyan);
}

.timeline-year {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-secondary);
  margin-bottom: 5px;
}

.timeline-content {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

/* Products Catalog styling */
/* Horizontal Catalog Filtering & Grid */
.catalog-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.catalog-tab-btn {
  width: auto;
  text-align: center;
  padding: 12px 22px;
  background-color: transparent;
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 575px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

/* Premium B2B Catalog Product Card */
.catalog-product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

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

.catalog-product-img-box {
  width: 100%;
  height: 180px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.catalog-product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.catalog-product-card:hover .catalog-product-img-box img {
  transform: scale(1.04);
}

.catalog-product-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 18px 0 12px 0;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.catalog-specs-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex-grow: 1; /* Pushes the button to the bottom */
}

.catalog-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--card-border);
}

.catalog-spec-row span:first-child {
  color: var(--text-muted);
  font-weight: 500;
}

.catalog-spec-row span:last-child {
  color: var(--text-dark);
  font-weight: 700;
}

/* Minimal stock dot badges */
.stock-dot-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.stock-dot.in-stock {
  background-color: var(--success);
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.6);
}

.stock-dot.rfq-only {
  background-color: var(--highlight);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.catalog-tab-btn:hover,
.catalog-tab-btn.active {
  background-color: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}

.catalog-search-wrapper {
  position: relative;
  width: 100%;
}

.catalog-search-input {
  width: 100%;
  padding: 14px 20px 14px 45px;
  background-color: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  color: var(--text-dark);
  font-size: 15px;
  transition: border-color var(--transition-fast);
}

.catalog-search-input:focus {
  border-color: var(--secondary);
  outline: none;
}

.catalog-search-wrapper i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

/* Product Card specific updates */
.product-card-specs {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.product-spec-row span:first-child {
  color: var(--text-muted);
}

.product-spec-row span:last-child {
  color: var(--text-dark);
  font-weight: 700;
}

.product-badge-in-stock {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.product-badge-rfq-only {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

/* Floating RFQ Cart Widget */
.rfq-cart-widget {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background-color: var(--secondary);
  color: #fff;
  padding: 15px 22px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(14, 117, 216, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  z-index: 997;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.rfq-cart-widget.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rfq-cart-widget:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(14, 117, 216, 0.4);
}

.rfq-cart-count {
  background-color: var(--highlight);
  color: var(--text-dark);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

/* Urgent Contact Directory Cards */
.contact-dir-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

@media (max-width: 991px) {
  .contact-dir-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .contact-dir-grid {
    grid-template-columns: 1fr;
  }
}

.contact-dir-card {
  background: var(--bg-white);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  padding: 30px 24px;
  transition: transform var(--transition-normal);
}

.contact-dir-card:hover {
  transform: translateY(-5px);
}

.contact-dir-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(14, 117, 216, 0.08);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Light Theme support overrides for subpages */
[data-theme="light"] .compliance-card,
[data-theme="light"] .timeline-content,
[data-theme="light"] .contact-dir-card {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .timeline-item::after {
  background-color: #e2e8f0;
}

/* --- PRODUCT DETAIL PAGE LAYOUT --- */
.detail-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  margin-top: 40px;
  align-items: start;
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 115px;
}

.detail-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.detail-thumb-box {
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  height: 80px;
  cursor: pointer;
  background-color: var(--bg-light);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.detail-thumb-box:hover {
  border-color: var(--secondary);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .detail-main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.detail-sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 10px 0 10px 15px;
  background-color: transparent;
  border: none;
  border-left: 2px solid var(--card-border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-bottom: 4px;
}

.detail-sidebar-btn:hover {
  color: var(--text-dark);
  border-left-color: var(--highlight-cyan);
  padding-left: 18px;
}

.detail-sidebar-btn.active {
  color: var(--text-dark);
  font-weight: 700;
  border-left: 3px solid var(--secondary);
  padding-left: 18px;
}

/* --- CONTACT CENTER REVAMP --- */
.contact-dashboard {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-desk-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-desk-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: var(--bg-light);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.contact-desk-row:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
}

.contact-hub-card {
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  background-color: var(--bg-light);
  display: flex;
  gap: 15px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.contact-hub-card:hover {
  transform: translateY(-2px);
  border-color: var(--highlight-cyan);
}

@media (max-width: 991px) {
  .contact-dashboard {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- FLOATING CONTACT CARD DESIGN --- */
.contact-hero {
  background: linear-gradient(rgba(3, 19, 38, 0.82), rgba(3, 19, 38, 0.82)), url('../images/hero_cargo_ship.jpg') center/cover no-repeat;
  text-align: center;
  padding: 158px 0 140px 0;
  color: #ffffff;
}

.contact-hero h1 {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.contact-hero p {
  font-size: 16px;
  color: #a1a1aa;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.contact-floating-container {
  max-width: 1050px;
  margin: -100px auto 60px auto;
  position: relative;
  z-index: 10;
  padding: 0 15px;
}

.contact-floating-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(3, 19, 38, 0.12);
  display: grid;
  grid-template-columns: 4.2fr 5.8fr;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.contact-floating-left {
  background-color: #fafafa;
  padding: 50px 45px;
  border-right: 1px solid var(--card-border);
}

.contact-floating-right {
  background: #ffffff;
  padding: 50px 45px;
}

.contact-info-entry {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.contact-info-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #1b6ce5;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.contact-info-icon-circle svg,
.contact-info-icon-circle i {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  stroke-width: 2px;
  fill: none;
}

.contact-info-details h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.contact-info-details p,
.contact-info-details a {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  text-decoration: none;
  display: block;
}

.contact-info-details a:hover {
  color: var(--secondary);
}

.contact-social-section {
  margin-top: 35px;
  border-top: 1px solid var(--card-border);
  padding-top: 25px;
}

.contact-social-section h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
}

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

.contact-social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1b6ce5;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.contact-social-circle svg,
.contact-social-circle i {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  stroke-width: 2px;
  fill: none;
}

.contact-social-circle:hover {
  background-color: #1059c4;
  transform: translateY(-2px);
}

/* Form Styles Override for contact card */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  background-color: #fafafa;
  color: var(--text-dark);
  font-size: 13.5px;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  border-color: var(--secondary);
  background-color: #ffffff;
  outline: none;
}

.contact-send-btn {
  background-color: #1b6ce5;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 14px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  letter-spacing: 1px;
  font-size: 14.5px;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  margin-top: 20px;
}

.contact-send-btn:hover {
  background-color: #1059c4;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .contact-floating-card {
    grid-template-columns: 1fr;
  }
  .contact-floating-left {
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

.logo img,
.footer-col img {
  width: 180px;
}

.detail-sidebar li.active {
  border-left: 3px solid var(--secondary);
  color: var(--secondary);
  border-radius: 6px;
}

/* .tbl-specification {
    background-color: #f7f7f7;
    color: #555;
    border-radius: 5px 5px 0px 0px;
}
tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}
tr {
    display: table-row;
    vertical-align: inherit;
    border-color: #555;
    border-width: 1px !important;
}
.tbl-specification .tbl-heading td {
     background: #041e3f; 
    box-shadow: 0px 3px 5px #8888888c;
    color: #fff;
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px 5px 0px 0px;
}
.tbl-specification .tbl-spec td {
    text-align: center;
    vertical-align: middle;
    background-color: #FFFFFF;
    width: 15%;
    height: 30px;
    border: none;
}
.tbl-specification .tbl-spec1 td {
    text-align: center;
    vertical-align: middle;
    background-color: #e7ecf3;
    width: 15%;
    height: 30px;
    border: none;
} */

.tbl-specification {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    border: #555;
}

.tbl-specification td {
    padding: 8px 18px;
    border: 1px solid #8a8a8a7d;
    text-align: center;
    color: #344b50;
    font-size: 14px;
    font-weight: 600;
}

.tbl-specification .tbl-heading td {
    background: #042042;
    color: #fff;
    border-color: #042042;
    padding: 10px;
    font-size: 16px;
    letter-spacing: 1px;
}

.tbl-specification tbody tr:nth-child(odd):not(.tbl-heading) td {
    background: #8a8a8a24;
}

.tbl-specification tbody tr:nth-child(even) td {
    background: #fff;
}

.tbl-specification tbody tr:not(.tbl-heading):hover td {
    background: #2a73b821;
    color: #2974b8;
}

.product-media {
  width: 475px !important;
  height: 360px !important;
/*overflow: hidden;*/
}

.product-media img {
width: 100%;
height: 100%;
object-fit: cover;
}

.text-danger {
  color: #dc3545 !important;
}

.title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.sec-title {
  margin-bottom: 12px;
  text-align: center;
  color: #fff;
}
.desc {
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 24px;
}
.list {
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
}
/* .box-bg:nth-child(1), .box-bg:nth-child(3) { background: #031a38; }
.box-bg:nth-child(2) { background: #244e85; } */

/* =========================================
   PRODUCT BOX BACKGROUND IMAGES
========================================= */

.products-grid .box-bg {
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    transition:
        background-image 0.4s ease,
        background-color 0.4s ease,
        transform 0.4s ease;
}


/* BOX 1 - ENGINE PARTS */
.products-grid .box-bg:nth-child(1) {
    background-image: url("../../assets/images/engine-part.jpg") !important;
}


/* BOX 2 - MACHINERY */
.products-grid .box-bg:nth-child(2) {
    background-image: url("../../assets/images/machinery.jpg") !important;
}


/* BOX 3 - WORKSHOP */
.products-grid .box-bg:nth-child(3) {
    background-image: url("../../assets/images/workshop.jpg") !important;
}

.color-overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:  rgb(3 26 56 / 85%);
    z-index: 2 !important;
}

/* =========================================
   NORMAL IMAGE OVERLAY
========================================= */

.products-grid .box-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(3, 26, 56, 0.70);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}


/* Keep all content above overlay */
.products-grid .box-bg > * {
    position: relative;
    z-index: 2;
}


/* =========================================
   HOVER
   IMAGE HIDE + BACKGROUND COLOR SHOW
========================================= */

.products-grid .box-bg:hover {
    background-image: none !important;
    background-color: #031a38 !important;
}


/* Remove image overlay on hover */
.products-grid .box-bg:hover::after {
    opacity: 0;
}

#arrivals-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s ease;
    will-change: transform;
}
.arrivals-wrapper {
    overflow: hidden;
}