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

:root {
  /* Intense Color Palette */
  --primary: #051b2c;
  --primary-light: #0d324d;
  --primary-rgb: 5, 27, 44;
  --accent: #7cc000;
  --accent-light: #9df000;
  --accent-dark: #5b9000;
  --accent-rgb: 124, 192, 0;
  --secondary: #0077b6;
  --secondary-light: #0096c7;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --border-color: #e2e8f0;
  --card-bg: rgba(255, 255, 255, 0.9);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --header-height: 80px;
  --map-land: #edf2f7;
  --map-stroke: #cbd5e1;
}

/* Dark Mode Variables */
body.dark-mode {
  --primary: #020b13;
  --primary-light: #061f33;
  --primary-rgb: 2, 11, 19;
  --accent: #86ff00;
  --accent-light: #a3ff33;
  --accent-dark: #6cd000;
  --accent-rgb: 134, 255, 0;
  --bg-light: #04121d;
  --bg-white: #061c2c;
  --text-dark: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #112a3d;
  --card-bg: rgba(6, 28, 44, 0.85);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4);
  --map-land: #061f33;
  --map-stroke: #113654;
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

ul {
  list-style: none;
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--primary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

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

.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

body.dark-mode .section-title {
  color: #fff;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(114, 176, 29, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(114, 176, 29, 0.6);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

body.dark-mode .btn-secondary {
  color: #fff;
  border-color: #fff;
}

body.dark-mode .btn-secondary:hover {
  background-color: #fff;
  color: var(--primary);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Header & Navigation */
header {
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

header.scrolled {
  background-color: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  height: 70px;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  line-height: 1.05;
}

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

.logo-line-1 {
  font-size: 1.25rem;
  font-weight: 800;
  white-space: nowrap;
}

.logo-line-2 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  white-space: nowrap;
  margin-top: 0.1rem;
}

@media (max-width: 1200px) {
  .logo-line-1 {
    font-size: 1.1rem;
  }
  .logo-line-2 {
    font-size: 0.72rem;
  }
}

@media (max-width: 991px) {
  .logo-line-1 {
    font-size: 1.02rem;
  }
  .logo-line-2 {
    font-size: 0.68rem;
  }
}

@media (max-width: 768px) {
  .logo-line-1 {
    font-size: 1.15rem;
  }
  .logo-line-2 {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .logo-line-1 {
    font-size: 0.95rem;
  }
  .logo-line-2 {
    font-size: 0.65rem;
  }
}

.logo.hero-light {
  color: #ffffff;
}

body.dark-mode .logo {
  color: #ffffff;
}

.logo img {
  height: 50px;
  width: auto;
  transition: var(--transition);
  background-color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: inline-block;
}

header.scrolled .logo img {
  height: 42px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-dark);
}

header:not(.scrolled) .nav-link {
  color: var(--text-dark);
}

/* Hero Section style override for light header readability */
header:not(.scrolled) .nav-link.hero-light {
  color: #ffffff;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--primary-rgb), 0.05);
  color: var(--primary);
  transition: var(--transition);
}

.theme-toggle.hero-light {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .theme-toggle {
  background-color: rgba(255,255,255,0.05);
  color: #ffffff;
}

.theme-toggle:hover {
  background-color: rgba(var(--primary-rgb), 0.1);
  transform: rotate(15deg);
}

body.dark-mode .theme-toggle:hover {
  background-color: rgba(255,255,255,0.1);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.theme-toggle .sun-icon {
  display: none;
}

body.dark-mode .theme-toggle .sun-icon {
  display: block;
}

body.dark-mode .theme-toggle .moon-icon {
  display: none;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition);
}

.mobile-toggle.hero-light span {
  background-color: #ffffff;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--primary);
  color: #ffffff;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 37, 55, 0.95) 30%, rgba(0, 100, 148, 0.6) 100%);
  z-index: 1;
}

.hero-ship-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 2;
  overflow: hidden;
}

.hero-waves svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

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

.hero-badge {
  background-color: rgba(114, 176, 29, 0.2);
  color: var(--accent-light);
  border: 1px solid rgba(114, 176, 29, 0.4);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--accent); }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-actions .btn-secondary {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-actions .btn-secondary:hover {
  background-color: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}

/* Hero Stats Card / Widget */
.hero-widget {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.hero-widget-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.75rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(114, 176, 29, 0.2);
  color: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.stat-num span {
  color: var(--accent);
}

.stat-lbl {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* About / Profile Section */
.about {
  background-color: var(--bg-white);
}

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

.about-media {
  position: relative;
}

.about-img-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  aspect-ratio: 4/3;
  background-color: var(--primary-light);
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.about-media:hover .about-img-wrapper img {
  transform: scale(1.05);
}

.about-decor-circle {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(114, 176, 29, 0.08);
  z-index: 1;
}

.about-decor-dots {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(var(--accent) 2px, transparent 2px);
  background-size: 15px 15px;
  z-index: 1;
  opacity: 0.3;
}

.about-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.about-para {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.bullet-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  fill: currentColor;
}

/* Star Shipping Group Timeline Connector */
.timeline-card {
  background-color: var(--bg-light);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 2rem;
}

.timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.timeline-year {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--primary);
  font-size: 1.3rem;
}

.timeline-title {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
}

.timeline-body {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Services Section */
.services {
  background-color: var(--bg-light);
}

.services-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.tab-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.tab-btn:hover,
.tab-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.tab-btn.active svg {
  color: var(--accent);
}

.services-tabs-content {
  position: relative;
}

.tab-panel {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  animation: slideIn 0.5s ease;
}

.tab-panel.active {
  display: grid;
}

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

.service-info-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

body.dark-mode .service-info-title {
  color: #fff;
}

.service-info-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

.service-feat-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(var(--accent-rgb), 0.3);
}

.feat-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feat-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.feat-title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

body.dark-mode .feat-title {
  color: #fff;
}

.feat-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.service-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  background-color: var(--primary-light);
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

/* Dashboard Mockup specific for Operations desk & Vessel Chartering */
.dashboard-mockup {
  background: var(--primary);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  color: #fff;
  box-shadow: var(--shadow-xl);
  font-family: monospace;
  font-size: 0.85rem;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.mockup-dots span:nth-child(1) { background-color: #ef4444; }
.mockup-dots span:nth-child(2) { background-color: #f59e0b; }
.mockup-dots span:nth-child(3) { background-color: #10b981; }

.mockup-title {
  color: var(--accent-light);
  font-weight: 700;
}

.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mockup-line {
  display: flex;
  gap: 10px;
}

.mockup-line .lbl { color: #94a3b8; }
.mockup-line .val { color: #38bdf8; }
.mockup-line .val.success { color: #4ade80; }
.mockup-line .val.warn { color: #fbbf24; }

.mockup-chat {
  border: 1px solid rgba(255,255,255,0.05);
  background-color: rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-bubble {
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  max-width: 85%;
}

.chat-bubble.owner {
  background-color: rgba(56, 189, 248, 0.15);
  align-self: flex-start;
  color: #38bdf8;
}

.chat-bubble.charterer {
  background-color: rgba(251, 191, 36, 0.15);
  align-self: flex-end;
  color: #fbbf24;
}

.chat-bubble.dsvpl {
  background-color: rgba(74, 222, 128, 0.15);
  align-self: center;
  color: #4ade80;
  font-weight: bold;
}

/* Commodities Section */
.commodities {
  background-color: var(--bg-white);
}

.commodities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.commodity-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.commodity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-rgb), 0.2);
}

.commodity-img {
  height: 180px;
  background-color: var(--primary-light);
  position: relative;
  overflow: hidden;
}

.commodity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.commodity-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.commodity-tag {
  background-color: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.commodity-content {
  padding: 1.75rem;
}

.commodity-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

body.dark-mode .commodity-title {
  color: #fff;
}

.commodity-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.commodity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.c-tag {
  background-color: rgba(var(--primary-rgb), 0.04);
  color: var(--primary);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

body.dark-mode .c-tag {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}

.commodity-card:hover .c-tag {
  border-color: var(--accent);
  background-color: rgba(var(--accent-rgb), 0.05);
  color: var(--accent-dark);
}

body.dark-mode .commodity-card:hover .c-tag {
  color: var(--accent-light);
  background-color: rgba(var(--accent-rgb), 0.1);
}

/* Footprint Section (SVG Map) */
.footprint {
  background-color: var(--bg-light);
  overflow: hidden;
}

.footprint-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.map-wrapper {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  padding: 0;
}

.map-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff url('img/world_map.jpg') no-repeat center center;
  background-size: cover;
  z-index: 0;
  transition: var(--transition);
}

body.dark-mode .map-wrapper::before {
  filter: invert(0.9) hue-rotate(180deg) brightness(0.65) contrast(1.3);
}

.footprint-regions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.region-btn {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.region-btn:hover,
.region-btn.active {
  border-color: var(--accent);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.region-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.region-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

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

.region-btn.active .region-details {
  color: rgba(255,255,255,0.7);
}

.region-arrow {
  color: var(--accent);
  transition: var(--transition);
}

.region-btn.active .region-arrow {
  transform: rotate(90deg);
}

/* Tool / Calculator Section */
.utility {
  background-color: var(--primary);
  color: #fff;
  position: relative;
}

.utility .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.utility-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(114, 176, 29, 0.05) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  z-index: 1;
  opacity: 0.5;
}

.calculator-wrapper {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

.calc-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.calc-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
}

.form-select,
.form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.15);
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-select option {
  background-color: var(--primary);
  color: #fff;
}

.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(114, 176, 29, 0.2);
}

.calc-results {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
  border-left: 4px solid var(--accent);
  display: none;
}

.calc-results.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
}

.calc-row:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 1.1rem;
  padding-top: 1rem;
  color: var(--accent-light);
}

/* Contact Section */
.contact {
  background-color: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-card {
  display: flex;
  gap: 1.25rem;
}

.contact-card-icon {
  width: 54px;
  height: 54px;
  background-color: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

body.dark-mode .contact-card-title {
  color: #fff;
}

.contact-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-card-text a:hover {
  color: var(--accent);
}

.corporate-info-box {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-top: 1rem;
}

.corp-info-title {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

body.dark-mode .corp-info-title {
  color: #fff;
}

.corp-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.corp-row:last-child {
  margin-bottom: 0;
}

.corp-lbl {
  color: var(--text-muted);
}

.corp-val {
  font-weight: 600;
  color: var(--primary);
}

body.dark-mode .corp-val {
  color: #fff;
}

/* Contact Form styling */
.contact-form-wrapper {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

body.dark-mode .contact-form-title {
  color: #fff;
}

.contact-form-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-label {
  color: var(--text-dark);
}

.contact-form .form-input,
.contact-form .form-textarea {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-color: var(--border-color);
}

.contact-form .form-input::placeholder,
.contact-form .form-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.contact-form .form-input:focus,
.contact-form .form-textarea:focus {
  background-color: var(--bg-white);
  border-color: var(--accent);
  color: var(--text-dark);
}

.form-textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  min-height: 120px;
  transition: var(--transition);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-status {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  display: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-status.success {
  display: block;
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  animation: fadeIn 0.4s ease;
}

.form-status.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  animation: fadeIn 0.4s ease;
}

/* Footer styling */
footer {
  background-color: #05141e;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px 0;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 1rem;
}

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

.footer-brand-title {
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.footer-desc {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-contact-col .footer-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.footer-contact-col .footer-contact-item {
  width: 100%;
  max-width: 280px;
  justify-content: flex-start;
  text-align: left;
}

.footer-title {
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-copy span {
  color: var(--accent);
  font-weight: 700;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Reveal on Scroll styling */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Footer Social Buttons */
.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-btn:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
  border-color: var(--accent);
}

/* Subpage Banner styling */
.page-banner {
  height: 250px;
  position: relative;
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
  overflow: hidden;
  margin-bottom: 3rem;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.95) 30%, rgba(0, 100, 148, 0.7) 100%);
  z-index: 1;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.page-banner-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.page-banner-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.15em;
  display: inline-block;
  margin-bottom: 0.25rem;
}

/* Product Specifications Table Styling */
.spec-table-wrapper {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
  transition: var(--transition);
}

body.dark-mode .spec-table-wrapper {
  background-color: var(--bg-white);
  border-color: var(--border-color);
}

.spec-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

body.dark-mode .spec-title {
  color: #fff;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.spec-table th {
  font-weight: 700;
  color: var(--primary);
  background-color: rgba(var(--primary-rgb), 0.02);
}

body.dark-mode .spec-table th {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.02);
}

.spec-table td {
  color: var(--text-muted);
}

.spec-table tr:last-child td {
  border-bottom: none;
}

/* Core Values grid styling for Profile page */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

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

.value-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.value-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

body.dark-mode .value-title {
  color: #fff;
}

.value-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}


/* Responsive Media Queries */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 40px;
    padding-bottom: 60px;
  }
  
  .hero-ship-img {
    width: 100%;
    height: 100%;
    opacity: 0.25;
  }
  
  .hero-widget {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-grid,
  .tab-panel,
  .footprint-grid,
  .utility .container,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .tab-panel {
    grid-template-columns: 1fr;
  }
  
  .tab-panel.active {
    display: flex;
    flex-direction: column-reverse;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--accent);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition);
    align-items: flex-start;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Fix Mobile Menu Contrast & Scrolling */
  body.no-scroll {
    overflow: hidden !important;
  }
  
  header.mobile-menu-open {
    background-color: var(--accent) !important;
    backdrop-filter: none !important;
    box-shadow: var(--shadow-md) !important;
  }
  
  header.mobile-menu-open .logo,
  header.mobile-menu-open .theme-toggle {
    color: var(--primary) !important;
  }
  
  header.mobile-menu-open .theme-toggle {
    background-color: rgba(var(--primary-rgb), 0.12) !important;
  }
  
  header.mobile-menu-open .mobile-toggle span {
    background-color: var(--primary) !important;
  }
  
  .nav-menu.active .nav-link {
    color: var(--primary) !important;
    font-size: 1.1rem;
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.12);
  }
  
  .nav-menu.active .nav-link.active-page {
    color: #ffffff !important;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
