:root {
  --clr-bg: #f8fafc;
  --clr-surface: #ffffff;
  --clr-text: #334155;
  --clr-heading: #0f172a;

  --clr-primary: #0369a1;
  /* Ocean Blue */
  --clr-primary-dark: #075985;
  --clr-secondary: #0f172a;
  /* Navy */
  --clr-accent: #D80621;
  /* Gold/Orange */

  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-soft: 0 20px 40px -4px rgba(3, 105, 161, 0.08);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--clr-heading);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.mt-section {
  margin-top: 5rem;
}

.mb-section {
  margin-bottom: 5rem;
}

.pb-footer {
  padding-bottom: 5rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

/* HEADER */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.glass-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  display: block;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

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

.nav-links a {
  color: var(--clr-text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--clr-primary);
  transition: var(--transition);
  border-radius: 2px;
}

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

.nav-links a.active {
  color: var(--clr-primary);
}

.lang-switcher {
  display: flex;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.05);
  padding: 4px;
  border-radius: 20px;
}

.lang-switcher button {
  border: none;
  background: transparent;
  padding: 4px 12px;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--clr-text);
  transition: var(--transition);
}

.lang-switcher button.active {
  background: #fff;
  color: var(--clr-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--clr-heading);
  padding: 0;
  margin-right: 1rem;
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  /* subtle scale animation */
  animation: bg-scale 20s infinite alternate linear;
}

@keyframes bg-scale {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.05);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.85) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 400px);
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.05rem;
  border: none;
}

.primary-btn {
  background-color: var(--clr-accent);
  color: #fff;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--clr-accent), transparent 60%);
}

.primary-btn:hover {
  background-color: color-mix(in srgb, var(--clr-accent), #000 15%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--clr-accent), transparent 50%);
  color: #fff;
}

/* CARDS BASE */
.card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
}

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

/* CARD MODIFIERS */
.glass-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.light-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.highlighted-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
}

.highlighted-card h3,
.highlighted-card p {
  color: white;
}

/* SECTIONS */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--clr-primary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.page-section {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.page-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ABOUT */
.about-section {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.about-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* INFO GRID */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.info-card {
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -4px rgba(3, 105, 161, 0.15);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.icon-wrap-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #edc98b; /* Kraft yellow-gold background */
  color: #5c3e1b; /* Dark brown stroke */
  border: 1px solid #c3985c; /* Kraft border */
  border-radius: 2px 2px 6px 6px; /* Box-like shape: flat top, rounded bottom */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: inset 0 -2px 0 rgba(92, 62, 27, 0.15); /* Box depth shadow */
  flex-shrink: 0;
}

.info-card:hover .icon-wrap-box,
.hero-calc:hover .icon-wrap-box {
  background: color-mix(in srgb, #edc98b, #000 5%); /* Slightly darker on card hover */
  transform: scale(1.05);
  box-shadow: inset 0 -2px 0 rgba(92, 62, 27, 0.2), 0 4px 12px rgba(92, 62, 27, 0.15);
}

.icon-wrap-box svg {
  width: 24px;
  height: 24px;
  stroke: #5c3e1b; /* Dark brown stroke */
  stroke-width: 2px;
}

.info-card-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

/* PROHIBITED CARD SPECIAL STYLING */
.info-card.prohibited-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border: 1px solid rgba(216, 6, 33, 0.25);
  box-shadow: 0 20px 40px -4px rgba(216, 6, 33, 0.1);
}

.info-card.prohibited-card h3,
.info-card.prohibited-card p {
  color: white;
}

.info-card.prohibited-card .info-card-header {
  border-bottom-color: rgba(216, 6, 33, 0.2);
}

.icon-wrap-box.prohibited-icon {
  background: rgba(216, 6, 33, 0.08);
  border: 1px solid var(--clr-accent);
  color: var(--clr-accent);
  box-shadow: inset 0 -2px 0 rgba(216, 6, 33, 0.2);
}

.icon-wrap-box.prohibited-icon svg {
  stroke: var(--clr-accent);
}

/* Hover effect with subtle red shadow/border glow */
.info-card.prohibited-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -4px rgba(216, 6, 33, 0.25);
  border-color: rgba(216, 6, 33, 0.45);
}

.info-card.prohibited-card:hover .icon-wrap-box {
  background: rgba(216, 6, 33, 0.18);
  box-shadow: inset 0 -2px 0 rgba(216, 6, 33, 0.3), 0 4px 12px rgba(216, 6, 33, 0.25);
  transform: scale(1.05);
}

/* SHIPPING CONTENT */
.shipping-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.benefits-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rates-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Reusable card heading separator */
.card-title {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

/* On dark cards use a white-tinted separator instead */
.highlighted-card .card-title {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--clr-primary);
  font-weight: bold;
  font-size: 1.1rem;
}

.price-table {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-row:last-child {
  border-bottom: none;
}

.price-val strong {
  font-size: 1.2em;
  color: var(--clr-accent);
}

/* INSURANCE INTRO BANNER */
.section-intro-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.07) 0%, rgba(245, 158, 11, 0.07) 100%);
  border: 1px solid rgba(3, 105, 161, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}

.intro-banner-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-banner-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 1.5;
}

.section-intro-banner p {
  margin: 0;
  color: var(--clr-text);
  font-size: 1rem;
  line-height: 1.6;
}

/* CONTACT */
.contact-card {
  max-width: 600px;
  margin: 0 auto;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  background: rgba(3, 105, 161, 0.03);
  border-radius: var(--radius-md);
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  flex-shrink: 0;
  background: var(--clr-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.contact-item .icon svg {
  width: 24px;
  height: 24px;
}

.contact-item .label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.contact-item .val {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--clr-heading);
}

/* FOOTER */
footer {
  background-color: var(--clr-secondary);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: stretch;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
  text-align: left;
}

.footer-brand {
  flex: 1.5;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-brand-slogan {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 360px;
  line-height: 1.5;
}

.footer-contact {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--clr-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-icon svg {
  stroke: var(--clr-primary);
}

.footer-contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.125rem;
}

.footer-contact-val {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

.footer-contact-val a {
  color: #fff;
}

.footer-contact-val a:hover {
  color: var(--clr-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 2rem;
  }
  
  .footer-brand {
    align-items: flex-start;
  }
  
  .footer-contact {
    align-items: flex-start;
  }
  
  .footer-contact-item {
    justify-content: flex-start;
    text-align: left;
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .shipping-content {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 120px;
    padding-bottom: 3rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-section {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  nav {
    justify-content: flex-start;
  }

  .hero-content {
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .mobile-menu-btn {
    display: block;
    order: -1;
    margin-right: 0;
  }

  .header-inner {
    position: relative;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-links {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 6rem 2rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateX(-100%);
    opacity: 1;
    pointer-events: none;
    text-align: left;
  }

  /* Only enable transition when interaction is occurring */
  .nav-links.transition-active {
    transition: var(--transition);
  }

  .nav-links.show {
    transform: translateX(0);
    pointer-events: auto;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content p {
    margin: 0 auto 2.5rem;
  }
}

/* TRANSPARENT HEADER ON DARK HERO */
@media (min-width: 769px) {
  .glass-header.on-home:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.9);
  }

  .glass-header.on-home:not(.scrolled) .nav-links a:hover,
  .glass-header.on-home:not(.scrolled) .nav-links a.active {
    color: #fff;
  }

  .glass-header.on-home:not(.scrolled) .nav-links a::after {
    background-color: #fff;
  }
}

.glass-header.on-home:not(.scrolled) .mobile-menu-btn {
  color: #fff;
}

.glass-header.on-home:not(.scrolled) .lang-switcher {
  background: rgba(255, 255, 255, 0.15);
}

.glass-header.on-home:not(.scrolled) .lang-switcher button {
  color: rgba(255, 255, 255, 0.8);
}

.glass-header.on-home:not(.scrolled) .lang-switcher button.active {
  background: #fff;
  color: var(--clr-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ANIMATIONS */
.animate-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

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

/* CALCULATOR STYLES */
.calc-container {
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  margin-top: 3rem;
  border-color: rgba(3, 105, 161, 0.1);
}

.hero-calc {
  margin-top: 0;
  padding: 2rem;
  color: var(--clr-text);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: none;
}

.hero-calc .calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-calc .input-group {
  margin-bottom: 0;
}

.hero-calc .calc-result {
  margin-top: 1.5rem;
  padding: 1.5rem;
}

.hero-calc .result-val {
  font-size: 2rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--clr-heading);
}

.input-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  transition: var(--transition);
}

.input-group input:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.calc-result {
  background: rgba(3, 105, 161, 0.05);
  border-radius: var(--radius-sm);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.result-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--clr-primary);
  font-family: var(--font-heading);
}

.result-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.5rem;
}

/* LIST STYLES IMPROVEMENT */
.info-list {
  margin-top: 1rem;
}

.info-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.info-list li::before {
  content: '•';
  color: var(--clr-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.text-accent {
  color: var(--clr-primary);
  font-weight: 700;
}

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

.disclaimer-text {
  font-size: 0.8rem !important;
  color: #64748b !important;
  margin-top: 1rem !important;
  text-align: center !important;
  line-height: 1.4 !important;
}

@media (max-width: 480px) {
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
  }

  .contact-item .val {
    font-size: 1.05rem;
    word-break: break-all;
  }
}