/* ═══════════════════════════════════════════════════════════════════════
    CSS VARIABLES & RESET
═══════════════════════════════════════════════════════════════════════ */
:root {
  --navy: #012A55;
  --navy-light: #1a4a7a;
  --gold: #DAA520;
  --gold-hover: #c4941c;
  --sand: #FAF8F5;
  --cream: #FDFBF8;
  --warm-gray: #807870;
  --light-tan: #F0E8DF;
  --white: #FFFFFF;
  
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  
  --header-height: 80px;
  --content-width: 1100px;
  --section-padding: 60px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ═══════════════════════════════════════════════════════════════════════
    HEADER & NAVIGATION
═══════════════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header.hidden {
  transform: translateY(-100%);
}

.header.scrolled {
  box-shadow: 0 2px 40px rgba(1, 42, 85, 0.06);
}

.header-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 50px;
  height: auto;
  background: none;
  border-radius: 0;
  display: block;
}

.logo-icon img {
  width: 100%;
  height: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo-name {
  font-family: 'Rockwell', 'Courier Bold', Courier, Georgia, Times, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
  text-transform: none; 
  line-height: 1.1;
}

.logo-tagline {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  font-style: normal;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.lang-switch a {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.lang-switch a:hover,
.lang-switch a.active {
  opacity: 1;
  text-decoration: underline;
}

.lang-switch .divider {
  color: var(--gold);
  opacity: 0.5;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════════════
    SECTIONS BASE
═══════════════════════════════════════════════════════════════════════ */
section {
  padding: var(--section-padding) 40px;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: var(--warm-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════
    HERO SECTION
═══════════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(218, 165, 32, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero-title em {
  font-style: normal;
  display: block;
  color: var(--navy);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--warm-gray);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 8px;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero-cta:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(218, 165, 32, 0.3);
}

.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image {
  margin-top: 60px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(1, 42, 85, 0.12);
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 1s;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════════
    INTRO SECTION
═══════════════════════════════════════════════════════════════════════ */
.intro {
  background: var(--cream);
  text-align: center;
  padding: 80px 40px;
}

.intro-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════
    SOLUTIONS SECTION
═══════════════════════════════════════════════════════════════════════ */
.solutions {
  background: var(--sand);
}

.solutions-header {
  text-align: center;
  margin-bottom: 60px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.solution-card {
  background: var(--white);
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(1, 42, 85, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(1, 42, 85, 0.08);
}

.solution-card:hover::before {
  height: 100%;
}

.solution-card:nth-child(5) {
  grid-column: 1 / -1;
  max-width: 500px;
  margin: 0 auto;
}

.solution-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 16px;
}

.solution-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.solution-desc {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.6;
}

.solutions-cta {
  background: var(--cream);
  margin-top: 80px;
  padding: 60px;
  border-radius: 20px;
  text-align: center;
}

.solutions-cta h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════
    FLEET SECTION
═══════════════════════════════════════════════════════════════════════ */
.fleet {
  background: var(--cream);
}

.fleet-header {
  text-align: center;
  margin-bottom: 60px;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px;
  margin-bottom: 60px;
}

.fleet-item {
  text-align: center;
}

.fleet-item-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(1, 42, 85, 0.06);
  background: var(--white);
}

.fleet-item-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.fleet-item-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.fleet-section {
  margin-bottom: 40px;
}

.fleet-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.fleet-section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
}

.fleet-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(218, 165, 32, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
}

.fleet-section-desc {
  font-size: 16px;
  color: var(--warm-gray);
}

/* ═══════════════════════════════════════════════════════════════════════
    ABOUT SECTION
═══════════════════════════════════════════════════════════════════════ */
.about {
  background: var(--sand);
}

.about-header {
  text-align: center;
  margin-bottom: 20px;
}

.about-intro {
  text-align: center;
  font-size: 15px;
  color: var(--warm-gray);
  margin-bottom: 60px;
}

.founders {
  margin-bottom: 80px;
}

.founders-title {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 40px;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.founder-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(1, 42, 85, 0.04);
  cursor: pointer;
  transition: all 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(1, 42, 85, 0.1);
}

.founder-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  background: var(--light-tan);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.founder-title-text {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}

.founder-bio {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.6;
}

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 16px;
  transition: gap 0.3s ease;
}

.founder-card:hover .founder-link {
  gap: 10px;
}

.value-props {
  text-align: center;
  margin-bottom: 80px;
}

.value-prop {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 8px;
}

.advisory {
  background: var(--white);
  padding: 60px;
  border-radius: 24px;
}

.advisory-header {
  text-align: center;
  margin-bottom: 50px;
}

.advisory-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
}

.advisory-subtitle {
  font-size: 15px;
  color: var(--warm-gray);
}

.advisory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.board-card {
  background: var(--cream);
  padding: 28px;
  border-radius: 16px;
  display: flex;
  gap: 20px;
}

.board-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--light-tan);
  flex-shrink: 0;
}

.board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-info {
  flex: 1;
}

.board-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.board-quote {
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1.5;
}

.board-bio {
  font-size: 13px;
  color: var(--warm-gray);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════
    CONTACT SECTION
═══════════════════════════════════════════════════════════════════════ */
.contact {
  background: var(--cream);
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 10px 50px rgba(1, 42, 85, 0.06);
}

.contact-segments {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: var(--warm-gray);
}

/* ═══════════════════════════════════════════════════════════════════════
    FOOTER
═══════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 60px 40px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════════════════════
    FOUNDER MODAL
═══════════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 42, 85, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--white);
  border-radius: 24px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 2001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--sand);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: var(--light-tan);
}

.modal-content {
  padding: 50px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 30px;
}

.modal-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--light-tan);
  flex-shrink: 0;
}

.modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.modal-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}

.modal-title-text {
  font-size: 14px;
  color: var(--warm-gray);
}

.modal-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--light-tan);
}

.modal-stat label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.modal-stat span {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.modal-bio h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}

.modal-bio p {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.modal-expertise {
  margin-top: 30px;
}

.modal-expertise h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.expertise-tag {
  background: var(--cream);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════
    MODAL TIMELINE (Inside Founder Popup)
═══════════════════════════════════════════════════════════════════════ */
.modal-timeline-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--light-tan);
}

.modal-timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 25px;
  text-align: center;
}

.modal-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 20px;
}

/* Den vertikale linjen */
.modal-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 24px; /* Justert for å treffe midten av ikonene */
  width: 2px;
  background: var(--light-tan);
  z-index: 0;
}

.m-timeline-item {
  position: relative;
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  z-index: 1;
}

.m-timeline-item:last-child {
  margin-bottom: 0;
}

.m-timeline-marker {
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 0 5px var(--white); /* Maske for linjen */
}

.m-timeline-content {
  flex: 1;
  padding-top: 5px;
}

.m-year {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--gold);
  font-weight: 600;
}

.m-gen {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--navy);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.m-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.m-desc {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════
    RESPONSIVE
═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .solution-card:nth-child(5) {
    max-width: none;
  }
  
  .fleet-grid {
    grid-template-columns: 1fr;
  }
  
  .founders-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .advisory-grid {
    grid-template-columns: 1fr;
  }
  
  .advisory {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }
  
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--sand);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .board-card {
    flex-direction: column;
    text-align: center;
  }
  
  .board-photo {
    margin: 0 auto;
  }
  
  .modal-header {
    flex-direction: column;
    text-align: center;
  }
  
  .modal-photo {
    margin: 0 auto;
  }
  
  .modal-stats {
    justify-content: center;
  }
  
  .contact-form-wrapper {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  section {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .header-inner {
    padding: 0 20px;
  }
  
  .logo-name {
    font-size: 14px;
  }
  
  .logo-tagline {
    font-size: 11px;
  }
}