:root {
  --navy-dark: #081422;
  --navy-main: #0B192C;
  --navy-light: #18283E;
  --navy-surface: #122135;
  --ivory-bg: #FAF8F5;
  --ivory-card: #FFFFFF;
  --ivory-muted: #EFECE6;
  --teal-main: #00A896;
  --teal-hover: #028090;
  --teal-light: #E6F6F5;
  --gold-accent: #C5A059;
  --text-primary: #0C1821;
  --text-muted: #4A5568;
  --text-light: #8C9BAE;
  --border-color: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 6px rgba(8, 20, 34, 0.05);
  --shadow-md: 0 8px 24px rgba(8, 20, 34, 0.08);
  --shadow-lg: 0 16px 36px rgba(8, 20, 34, 0.14);
  --font-heading: 'Cinzel', 'Times New Roman', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--ivory-bg);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

/* Slim Nautical Top Bar */
.top-bar {
  background: var(--navy-dark);
  color: var(--ivory-muted);
  font-size: 0.8rem;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.3px;
}

.top-bar-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-info {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-info span, .top-bar-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-info a:hover {
  color: var(--teal-main);
}

.top-bar-status {
  font-weight: 500;
  color: var(--teal-light);
}

/* Header & Navigation */
.header-main {
  background: var(--navy-main);
  border-bottom: 2px solid var(--teal-main);
  padding: 0 20px;
  position: relative;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-logo svg {
  width: 32px;
  height: 32px;
  fill: var(--teal-main);
  flex-shrink: 0;
}

.brand-logo strong {
  color: var(--teal-main);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-link {
  color: #E0E6ED;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 8px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--teal-main);
}

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

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

.nav-cta {
  background: var(--teal-main);
  color: #FFFFFF;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 8px rgba(0, 168, 150, 0.3);
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.nav-cta:hover, .nav-cta.active {
  background: var(--teal-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.45);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  transition: all 0.3s ease;
}

/* Layout Containers & Sections */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

.section-tinted {
  background-color: var(--ivory-muted);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px auto;
}

.section-subtitle {
  color: var(--teal-main);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--navy-dark);
  line-height: 1.25;
  font-weight: 700;
}

.section-desc {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(8,20,34,0.94) 0%, rgba(11,25,44,0.88) 100%), 
              url('images/photo-1500530855697-b586d89ba3ee.png') center/cover no-repeat;
  color: #FFFFFF;
  padding: 96px 20px 108px 20px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 168, 150, 0.16);
  border: 1px solid var(--teal-main);
  color: var(--teal-light);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  line-height: 1.18;
  margin-bottom: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--ivory-muted);
  margin-bottom: 36px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--teal-main);
  color: #FFFFFF;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--teal-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  box-shadow: 0 4px 16px rgba(0, 168, 150, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  transform: translateY(-1px);
}

/* Philosophy Strip */
.philosophy-strip {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 0;
}

.philosophy-box {
  background: linear-gradient(90deg, rgba(0, 168, 150, 0.12) 0%, rgba(18, 33, 53, 0.7) 100%);
  border-left: 4px solid var(--teal-main);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.philosophy-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-main);
  border: 1px solid var(--teal-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-main);
}

.philosophy-text h3 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.philosophy-text p {
  color: var(--ivory-muted);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  background: var(--ivory-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--navy-dark);
}

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

.card:hover .card-img-wrap img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(8, 20, 34, 0.9);
  color: var(--teal-main);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(0,168,150,0.4);
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-light);
  padding-top: 14px;
  border-top: 1px solid var(--ivory-muted);
  margin-bottom: 18px;
}

.btn-card {
  display: block;
  text-align: center;
  background: var(--navy-main);
  color: #FFFFFF;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.btn-card:hover {
  background: var(--teal-main);
  transform: translateY(-1px);
}

/* Four Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pillar-item {
  background: var(--ivory-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.25s ease;
}

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

.pillar-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-main);
  opacity: 0.8;
  margin-bottom: 12px;
  line-height: 1;
}

.pillar-item h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.pillar-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Quick Inquiry Banner */
.quick-inquiry-section {
  padding: 60px 0;
  background: var(--navy-dark);
}

.inquiry-banner {
  background: linear-gradient(135deg, var(--navy-main) 0%, var(--navy-surface) 100%);
  border: 1px solid rgba(0, 168, 150, 0.35);
  border-radius: var(--radius-lg);
  padding: 44px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

/* Feature Details Page Styling */
.detail-header {
  background: var(--navy-dark);
  color: #FFFFFF;
  padding: 64px 20px;
  border-bottom: 3px solid var(--teal-main);
}

.detail-container {
  max-width: 920px;
  margin: 0 auto;
}

.detail-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.detail-content {
  background: var(--ivory-card);
  padding: 44px;
  border-radius: var(--radius-md);
  margin-top: -30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.detail-content h2 {
  font-family: var(--font-heading);
  color: var(--navy-main);
  margin: 32px 0 16px 0;
  font-size: 1.65rem;
  border-bottom: 2px solid var(--teal-light);
  padding-bottom: 8px;
}

.detail-content h3 {
  font-family: var(--font-heading);
  color: var(--navy-dark);
  margin: 22px 0 10px 0;
  font-size: 1.25rem;
}

.detail-content p {
  margin-bottom: 18px;
  color: var(--text-primary);
  font-size: 1.02rem;
  line-height: 1.7;
}

.detail-content ul, .detail-content ol {
  margin: 16px 0 24px 28px;
  color: var(--text-primary);
}

.detail-content li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.65;
}

.detail-box {
  background: var(--teal-light);
  border-left: 4px solid var(--teal-main);
  padding: 22px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
}

/* Interactive Calculator Tool Component */
.calc-card {
  background: var(--navy-dark);
  color: #FFFFFF;
  padding: 34px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin: 30px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ivory-muted);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-size: 0.96rem;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-main);
  background: rgba(255, 255, 255, 0.14);
}

select.form-control option {
  background: var(--navy-dark);
  color: #FFFFFF;
}

.calc-result {
  margin-top: 24px;
  padding: 22px;
  background: rgba(0, 168, 150, 0.16);
  border: 1px solid var(--teal-main);
  border-radius: var(--radius-md);
  display: none;
}

/* Universal Footer */
.footer {
  background: var(--navy-dark);
  color: var(--ivory-muted);
  padding: 64px 0 24px 0;
  border-top: 3px solid var(--teal-main);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--teal-main);
}

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

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

.footer-links a {
  color: var(--text-light);
}

.footer-links a:hover {
  color: var(--teal-main);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.84rem;
  line-height: 1.6;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--ivory-muted);
}

.footer-legal-links a:hover {
  color: var(--teal-main);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 540px;
  background: var(--navy-dark);
  color: #FFFFFF;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--teal-main);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background: var(--teal-main);
  color: #FFFFFF;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.88rem;
  transition: background 0.2s ease;
}

.btn-cookie-accept:hover {
  background: var(--teal-hover);
}

.btn-cookie-decline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.btn-cookie-decline:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 24px 20px;
    gap: 18px;
    display: none;
    border-bottom: 3px solid var(--teal-main);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .top-bar-container {
    justify-content: center;
    text-align: center;
  }

  .top-bar-status {
    display: none;
  }

  .philosophy-box {
    flex-direction: column;
    text-align: center;
    border-left: none;
    border-top: 4px solid var(--teal-main);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.3rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .section-title { font-size: 1.85rem; }
  .detail-content { padding: 26px 20px; margin-top: -15px; }
  .detail-title { font-size: 1.9rem; }
  .calc-card { padding: 22px 18px; }
}

@media (max-width: 480px) {
  .hero { padding: 60px 16px 70px 16px; }
  .hero-title { font-size: 1.95rem; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions button { width: 100%; }
}