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

/* ==========================================
   CSS CUSTOM VARIABLES & COLOR PALETTE
   ========================================== */
:root {
  /* Color Palette */
  --bg-primary: #0a0e17;
  --bg-secondary: #111724;
  --bg-tertiary: #1a2235;
  --bg-light: #f3f5f8;
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  --accent-teal: #00dfc4;
  --accent-cyan: #0ea5e9;
  --accent-blue: #0284c7;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00dfc4 0%, #0ea5e9 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-dark: linear-gradient(180deg, #111724 0%, #0a0e17 100%);
  --gradient-card: linear-gradient(145deg, rgba(26, 34, 53, 0.8) 0%, rgba(10, 14, 23, 0.6) 100%);
  --gradient-glow: linear-gradient(90deg, rgba(0, 223, 196, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
  
  /* Glassmorphism */
  --glass-bg: rgba(10, 14, 23, 0.85);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-border-hover: rgba(0, 223, 196, 0.35);
  --glass-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(0, 223, 196, 0.15);
  
  /* Layout & Animation */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1320px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  background: linear-gradient(180deg, #071019 0%, #0b1322 100%);
  color: var(--text-primary);
}

body.nav-open {
  overflow: hidden;
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease;
}

/* Custom Selection */
::selection {
  background-color: var(--accent-cyan);
  color: var(--bg-primary);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
}

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

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

/* ==========================================
   ENHANCED LAYOUT & UI SYSTEM
   ========================================== */
.header {
  padding: 0 24px;
  background: transparent;
  box-shadow: none;
}

.header-scrolled {
  background: rgba(7, 10, 18, 0.94) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.logo {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0;
}

.logo img {
  max-height: 56px;
  max-width: 220px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.18));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  list-style: none;
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  flex-wrap: nowrap;
  overflow: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(0, 223, 196, 0.14);
}

.nav-actions .btn,
.nav-btn-mobile .btn {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.55rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: 999px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  gap: 0.5rem;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.18);
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  box-shadow: 0 14px 35px rgba(6, 182, 212, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-section {
  min-height: 88vh;
  padding-top: 6.5rem;
  position: relative;
  background-image: linear-gradient(90deg, rgba(6, 10, 18, 0.72) 0%, rgba(6, 10, 18, 0.5) 45%, rgba(6, 10, 18, 0.28) 100%), url("../images/hero.jpg");
  background-image: linear-gradient(90deg, rgba(6, 10, 18, 0.72) 0%, rgba(6, 10, 18, 0.5) 45%, rgba(6, 10, 18, 0.28) 100%), url("../images/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 223, 196, 0.16), transparent 35%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: start;
  position: relative;
  z-index: 2;
  padding-left: 3rem;
  padding-right: 1rem;
}

.hero-text {
  max-width: 640px;
  text-align: left;
  align-self: start;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.hero-text p {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--text-secondary);
  margin-bottom: 1.6rem;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Strong header CTA visibility overrides
   - hide mobile CTA by default (desktop)
   - show mobile CTA only on small viewports
   Use !important to avoid old-hosted CSS conflicts. */
.nav-btn-mobile {
  display: none !important;
}

@media (max-width: 1024px) {
  .nav-actions { display: none !important; }
  .menu-toggle { display: flex !important; }
  .nav-btn-mobile { display: block !important; margin-top: 1rem; width: 100% !important; }
  .nav-btn-mobile .btn { width: 100% !important; }
}

.section {
  padding: 6.5rem 0;
}

.card-grid {
  gap: 1.75rem;
}

.card-premium {
  padding: 2.25rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.95) 0%, rgba(10, 14, 23, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.24);
}

.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.34), 0 0 0 1px rgba(0, 223, 196, 0.14);
}

.about-hero {
  min-height: 480px;
  padding-top: 8rem;
  position: relative;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 9, 17, 0.85) 0%, rgba(4, 9, 17, 0.62) 100%);
  z-index: 1;
}

.about-hero > * {
  position: relative;
  z-index: 2;
}

.about-hero-content {
  text-align: center;
}

.service-detail-row {
  gap: 3rem;
  margin-bottom: 6rem;
}

.service-detail-visual img,
.about-visual img,
.grid-2col img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.contact-container {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.2);
}

.contact-form-side {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 247, 251, 0.97) 100%);
}

.contact-form-side h2,
.contact-form-side p {
  color: var(--text-dark);
}

.form-grid {
  gap: 1.25rem 1.5rem;
}

.form-group {
  margin-bottom: 0;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  font-size: 1rem;
  font-family: inherit;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 4px rgba(0, 223, 196, 0.16);
}

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

.contact-info-side {
  background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
}

.info-item {
  align-items: flex-start;
}

.floating-buttons {
  bottom: 24px;
  right: 24px;
  gap: 0.8rem;
  z-index: 1000;
}

.floating-buttons a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.floating-buttons a:hover {
  transform: translateY(-3px) scale(1.03);
}

.footer-grid {
  gap: 2.5rem;
}

.footer-brand .logo img {
  height: 42px;
}

.footer-bottom {
  flex-wrap: wrap;
  gap: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold {
  color: var(--accent-gold);
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

/* Background Grid Overlay */
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.glow-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.55rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: 999px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  gap: 0.5rem;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.18);
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  box-shadow: 0 14px 35px rgba(6, 182, 212, 0.22);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(6, 182, 212, 0.3), var(--shadow-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  transform: translateY(-3px);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  box-shadow: 0 14px 35px rgba(245, 158, 11, 0.25);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(245, 158, 11, 0.3);
}

/* ==========================================
   NAVBAR
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
  background: transparent;
  height: 88px;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.header-scrolled {
  background: rgba(7, 10, 18, 0.94) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  height: 76px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  max-height: 56px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.18));
}

.header-scrolled .logo img {
  max-height: 52px;
}

.logo-icon {
  width: 2.2rem;
  height: 2.2rem;
  background: var(--gradient-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--bg-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  list-style: none;
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  flex-wrap: nowrap;
  overflow: visible;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(0, 223, 196, 0.14);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
}

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

/* Header Action Button (Desktop CTA) */
.nav-actions {
  display: flex;
  align-items: center;
}

.btn-header-quote {
  padding: 12px 20px !important;
  border-radius: 14px !important;
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
  font-weight: 600;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

/* Hide mobile-specific menu button on desktop */
.nav-btn-mobile {
  display: none;
}

.nav-btn {
  margin-left: 1rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1005;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* Mobile Menu Open Styling */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

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

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  z-index: 2;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

/* ==========================================
   PREMIUM CARDS
   ========================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.card-premium {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.95) 0%, rgba(10, 14, 23, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.24);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.card-premium:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 223, 196, 0.2);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.34), 0 0 0 1px rgba(0, 223, 196, 0.14);
}

.card-premium:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 4.5rem;
  height: 4.5rem;
  background: rgba(6, 182, 212, 0.07);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.card-premium:hover .card-icon {
  background: var(--gradient-primary);
  color: var(--bg-primary);
  transform: rotateY(360deg);
}

.card-icon svg {
  width: 2.2rem;
  height: 2.2rem;
}

.card-premium h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-premium p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* ==========================================
   INTERACTIVE VALUE CHAIN VISUALIZER
   ========================================== */
.visualizer-container {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 4rem 3rem;
  box-shadow: var(--glass-shadow);
  position: relative;
  z-index: 2;
}

.timeline-flow {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 5rem;
  padding: 0 1.5rem;
}

.timeline-line {
  position: absolute;
  top: 25px;
  left: 2rem;
  right: 2rem;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 0;
}

.timeline-progress-line {
  position: absolute;
  top: 25px;
  left: 2rem;
  height: 4px;
  background: var(--gradient-primary);
  width: 0%;
  z-index: 1;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: var(--shadow-glow);
}

.timeline-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.step-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: var(--glass-shadow);
}

.step-node svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.step-label {
  margin-top: 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  text-align: center;
}

/* Active & Completed States */
.timeline-step.active .step-node {
  border-color: var(--accent-cyan);
  background: var(--bg-primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.15);
}

.timeline-step.active .step-node svg {
  color: var(--accent-cyan);
  transform: scale(1.1);
}

.timeline-step.active .step-label {
  color: #ffffff;
  font-weight: 700;
}

.timeline-step.completed .step-node {
  border-color: var(--accent-blue);
  background: rgba(6, 182, 212, 0.1);
}

.timeline-step.completed .step-node svg {
  color: var(--accent-cyan);
}

/* Panel Display Box */
.visualizer-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  background: rgba(7, 10, 19, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-md);
  padding: 3rem;
  min-height: 380px;
  align-items: center;
}

.panel-content {
  display: none;
  animation: fadeInUp 0.5s forwards;
}

.panel-content.active {
  display: block;
}

.panel-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.panel-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.panel-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.panel-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.metric-item {
  border-left: 2px solid var(--accent-cyan);
  padding-left: 1rem;
}

.metric-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
}

.metric-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.panel-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.panel-illustration-svg {
  width: 100%;
  max-width: 320px;
  height: 240px;
}

/* ==========================================
   SAFETY & SUSTAINABILITY (ESG)
   ========================================== */
.esg-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.esg-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.esg-text p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.esg-list {
  list-style: none;
}

.esg-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.esg-icon-wrapper {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.esg-icon-wrapper svg {
  width: 1.1rem;
  height: 1.1rem;
}

.esg-item-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.esg-item-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.esg-visual {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--glass-shadow);
  position: relative;
}

.esg-gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.esg-gauge {
  width: 200px;
  height: 200px;
  position: relative;
}

.esg-gauge svg {
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 12;
}

.gauge-fill {
  fill: none;
  stroke: var(--accent-green);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 565.48; /* 2 * PI * r (90) */
  stroke-dashoffset: 565.48;
  transition: stroke-dashoffset 2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gauge-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gauge-percent {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
}

.gauge-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================
   CONTACT TERMINAL
   ========================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.2);
}

.contact-form-side {
  padding: 4rem 3.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 247, 251, 0.97) 100%);
}

.contact-form-side h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-form-side p {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

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

.form-group {
  position: relative;
  margin-bottom: 0;
}

.form-input {
  width: 100%;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  color: var(--text-dark);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-smooth);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 4px rgba(0, 223, 196, 0.16);
}

.form-label {
  position: absolute;
  left: 0;
  top: 1rem;
  color: var(--text-secondary);
  pointer-events: none;
  transition: var(--transition-smooth);
  font-size: 1rem;
}

/* Label Animation */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -1.2rem;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.form-input-msg {
  height: 80px;
  resize: none;
}

/* Contact Info Panel Side */
.contact-info-side {
  background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
  border-left: 1px solid var(--glass-border);
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-header h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.info-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.info-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--bg-primary);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 1.15rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.faq-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer p {
  padding: 0 2rem 1.8rem 2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* FAQ Active Styles */
.faq-item.active {
  border-color: rgba(6, 182, 212, 0.25);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-question h3 {
  color: var(--accent-cyan);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* ==========================================
   ABOUT PAGE ELEMENTS
   ========================================== */
.about-hero {
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-page-hero {
  background-image: linear-gradient(rgba(10, 18, 31, 0.6), rgba(10, 18, 31, 0.6)), url("../images/mining.jpg");
  background-image: linear-gradient(rgba(10, 18, 31, 0.6), rgba(10, 18, 31, 0.6)), url("../images/mining.webp");
}

.contact-page-hero {
  background-image: linear-gradient(rgba(10, 18, 31, 0.6), rgba(10, 18, 31, 0.6)), url("../images/hero.jpg");
  background-image: linear-gradient(rgba(10, 18, 31, 0.6), rgba(10, 18, 31, 0.6)), url("../images/hero.webp");
}

.services-page-hero {
  background-image: linear-gradient(rgba(10, 18, 31, 0.6), rgba(10, 18, 31, 0.6)), url("../images/port.jpg");
  background-image: linear-gradient(rgba(10, 18, 31, 0.6), rgba(10, 18, 31, 0.6)), url("../images/port.webp");
}

.who-we-serve-page-hero {
  background-image: linear-gradient(rgba(10, 18, 31, 0.6), rgba(10, 18, 31, 0.6)), url("../images/vessel.jpg");
  background-image: linear-gradient(rgba(10, 18, 31, 0.6), rgba(10, 18, 31, 0.6)), url("../images/vessel.webp");
}

.why-choose-us-page-hero {
  background-image: linear-gradient(rgba(10, 18, 31, 0.6), rgba(10, 18, 31, 0.6)), url("../images/mining.jpg");
  background-image: linear-gradient(rgba(10, 18, 31, 0.6), rgba(10, 18, 31, 0.6)), url("../images/mining.webp");
}

.about-hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-visual img {
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* Leadership Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
}

.team-img-wrapper {
  width: 100%;
  height: 300px;
  background-color: var(--bg-tertiary);
  overflow: hidden;
  position: relative;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  filter: grayscale(40%);
}

.team-card:hover .team-img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.team-info {
  padding: 1.5rem 1.8rem;
  text-align: center;
}

.team-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================
   SERVICES DETAILS PAGE
   ========================================== */
.services-flow-section {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.service-detail-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 8rem;
}

.service-detail-row:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}

.service-detail-row:nth-child(even) .service-detail-text {
  order: 2;
}

.service-detail-row:nth-child(even) .service-detail-visual {
  order: 1;
}

.service-num {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(6, 182, 212, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.service-detail-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.service-detail-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.service-detail-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.service-feature-item svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--accent-cyan);
}

.service-detail-visual {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--glass-shadow);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #04060b;
  border-top: 1px solid var(--glass-border);
  padding: 5rem 0 2rem 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand .logo img {
  height: 35px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  max-width: 280px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-newsletter p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  position: relative;
  display: flex;
}

.newsletter-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  padding-right: 3.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.newsletter-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  width: 40px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  transform: scale(1.05);
}

.newsletter-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

/* ==========================================
   PREMIUM VISUAL ENHANCEMENTS
   ========================================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(0, 223, 196, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.12), transparent 22%);
  pointer-events: none;
  z-index: -1;
}

.header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-scrolled {
  background: rgba(3, 8, 20, 0.94) !important;
}

.logo img {
  max-height: 72px;
}

.nav-menu {
  padding: 0.45rem;
}

.nav-link {
  padding: 0.7rem 0.95rem;
}

.hero-section {
  padding: 9rem 0 5rem;
  box-shadow: inset 0 -120px 140px rgba(2, 6, 23, 0.22);
}

.hero-content {
  gap: 4rem;
}

.hero-text h1 {
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.hero-cta {
  margin-top: 1.5rem;
}

.hero-cta .btn {
  min-width: 220px;
}

.card-grid {
  display: grid;
  gap: 1.75rem;
}

.card-premium {
  padding: 2rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 247, 253, 0.96) 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.08);
  color: var(--text-dark);
}

.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 70px rgba(2, 6, 23, 0.14);
}

.card-premium h3,
.card-premium h4 {
  color: var(--text-dark);
}

.card-premium p {
  color: #475569;
}

.service-detail-row {
  padding: 2.2rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 45px rgba(2, 6, 23, 0.12);
}

.service-detail-visual {
  padding: 1.25rem;
  background: linear-gradient(145deg, rgba(16, 24, 40, 0.95) 0%, rgba(8, 13, 24, 0.88) 100%);
}

.service-detail-visual img,
.about-visual img,
.grid-2col img {
  height: 360px;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.2);
}

.contact-container {
  box-shadow: 0 22px 70px rgba(2, 6, 23, 0.16);
}

.contact-form-side {
  padding: 3rem 2.5rem;
}

.contact-info-side {
  padding: 3rem 2.5rem;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-input,
.form-select,
.form-textarea {
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: rgba(248, 250, 252, 0.96);
}

.floating-buttons {
  bottom: 24px;
  right: 24px;
}

.floating-buttons a {
  width: 58px;
  height: 58px;
}

.footer {
  background: linear-gradient(180deg, #040814 0%, #07101f 100%);
}

.footer-grid {
  gap: 3rem;
}

.footer-brand .logo img {
  height: 48px;
}

/* ==========================================
   SCROLL & REVEAL ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */
@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 15px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

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

/* ==========================================
   CUSTOM SCROLLBAR & GENERAL SELECTIONS
   ========================================== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border: 2px solid var(--bg-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-teal);
}

/* ==========================================
   GLOBAL INQUIRY MODAL (QUOTE FUNNEL)
   ========================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: var(--gradient-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow);
  width: 90%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 3.5rem;
}
.modal-backdrop.show .modal-content {
  transform: scale(1) translateY(0);
}
.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.25rem;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: var(--accent-teal);
  transform: rotate(90deg);
}

/* Multi-Step Modal Indicators */
.modal-steps {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.modal-step-dot {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  transition: var(--transition-smooth);
}
.modal-step-dot.active {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
}
.modal-form-step {
  display: none;
}
.modal-form-step.active {
  display: block;
  animation: fadeInUp 0.4s forwards;
}
.modal-btn-row {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1.5rem;
}
.modal-btn-row .btn {
  flex: 1;
}
.modal-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
}
.modal-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}


