:root {
  --primary-color: #1e3c72;
  --secondary-color: #2a5298;
  --text-color: #333;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --dark-bg: #333;
  --primary-color-dark: #1a2f5a;
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

html {
  scroll-behavior: smooth;
}

/* =========================
   HT-HUD NAVIGATION – FINAL VERSION
========================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  backdrop-filter: blur(8px);
}

/* --- Layout --- */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  gap: 2rem;
  height: 100%;
}

/* --- Logo --- */
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo img {
  height: 52px;
  transition: transform .3s ease;
}
.logo img:hover { transform: scale(1.05); }

/* --- Links --- */
.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex: 1;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-color, #333);
  font-weight: 500;
  padding: .5rem .8rem;
  border-radius: 6px;
  transition: all .3s ease;
  white-space: nowrap;
  font-size: .95rem;
}
.nav-links a:hover {
  color: var(--primary-color, #1e3c72);
  background-color: rgba(30,60,114,.05);
}

/* --- Actions (Contact + Language) --- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.cta-button {
  background-color: var(--primary-color, #1e3c72);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all .3s ease;
  white-space: nowrap;
}
.cta-button:hover {
  background-color: var(--primary-color-dark, #16345f);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.language-switcher {
  display: flex;
  gap: .3rem;
}
.lang-btn {
  border: 1px solid var(--primary-color, #1e3c72);
  border-radius: 4px;
  padding: .3rem .6rem;
  font-size: .75rem;
  cursor: pointer;
  transition: all .3s ease;
  color: var(--primary-color, #1e3c72);
  background: none;
}
.lang-btn.active {
  background: var(--primary-color, #1e3c72);
  color: #fff;
}
.lang-btn:hover {
  background: var(--primary-color-dark, #16345f);
  color: #fff;
}
/* =========================
   NAVBAR SPACING FIX – ensures content starts below header
========================= */
body {
  scroll-behavior: smooth;
}

/* Ge hela sidan ett "avstånd" motsvarande navbarens höjd */
main,
section:first-of-type {
  margin-top: 90px; /* Anpassa till samma höjd som .navbar */
}

/* Alternativt: om du inte har <main>, lägg det på body direkt */
body:not(.home) {
  padding-top: 90px; /* Gör samma sak, men funkar även om du saknar <main> */
}

/* --- Hamburger (mobile) --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--primary-color, #1e3c72);
  border-radius: 2px;
  transition: all .3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --- Responsive layout --- */
@media (max-width:1200px) {
  .nav-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .logo {
    flex-basis: 100%;
    justify-content: center;
    margin-bottom: .5rem;
  }
  .nav-actions {
    flex-basis: 100%;
    justify-content: center;
    margin-top: .5rem;
  }
}

@media (max-width:900px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    gap: 1rem;
    width: 260px;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    padding: 6rem 1.5rem 2rem;
    transition: right .3s ease;
    z-index: 999;
  }
  .nav-links.active { right: 0; }
  .nav-links a {
    display: block;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: .9rem .8rem;
  }
  .nav-actions { display: none; }
}



/* =========================
   BODY SCROLL LOCK
========================= */
body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =========================
   HERO SECTION
========================= */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  padding-top: 60px;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 150%;
  object-fit: cover;
  opacity: 0.95;
  object-position: top;
  transform: translateY(-20%);
}

/* =========================
   SECTION BASICS
========================= */
section {
  padding: 4rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
  padding-bottom: 1.5rem;
}

/* =========================
   TECHNICAL COMPONENTS SECTION
========================= */
.tech-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tech-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-5px);
}

/* =========================
   HEATING SYSTEM SECTION
========================= */
.heating-section {
  padding: 4rem 0;
}

.heating-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.heating-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.heating-card ul {
  list-style-type: none;
  padding-left: 0;
}

.heating-card ul ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.heating-card li {
  margin-bottom: 0.5rem;
}

/* =========================
   SUPPORTING SYSTEMS SECTION
========================= */
.supporting-section {
  background-color: var(--light-bg);
  padding: 4rem 0;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.support-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}

.support-card .number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* =========================
   PROCESS SECTION
========================= */
.process-section {
  padding: 4rem 0;
  position: relative;
}

.process-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20%;
  bottom: 20%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
  z-index: 0;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.process-step {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
  width: 45%;
  transition: all 0.3s ease;
}

.process-step:nth-child(odd) {
  margin-left: auto;
}

.process-step:nth-child(even) {
  margin-right: auto;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.process-step::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  transform: translateY(-50%);
}

.process-step:nth-child(odd)::before {
  right: -30px;
}

.process-step:nth-child(even)::before {
  left: -30px;
}

.process-step .step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.process-step h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  padding-left: 40px;
}

.process-step h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary-color);
}

.process-step:nth-child(1) h3::before {
  content: '\f2c2';
}

.process-step:nth-child(2) h3::before {
  content: '\f030';
}

.process-step:nth-child(3) h3::before {
  content: '\f2c7';
}

.process-step:nth-child(4) h3::before {
  content: '\f2cb';
}

.process-step:nth-child(5) h3::before {
  content: '\f1c0';
}

.process-step ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 1rem;
}

.process-step li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.process-step li::before {
  content: '\f058';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0.2em;
}

/* =========================
   SCIENTIFIC SECTION
========================= */
.scientific-section {
  background-color: var(--light-bg);
  padding: 4rem 0;
}

.scientific-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.scientific-card {
  background-color: var(--white);
  padding: 1.8rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  line-height: 1.7;
}

.scientific-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.scientific-card h3,
.scientific-card h4 {
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.scientific-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.5rem 0;
}

.scientific-card ul li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.scientific-card ul li::before {
  content: '\f058';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0.15em;
}

.references li {
  font-size: 0.9rem;
  color: #555;
}

/* =========================
   ADVANTAGES SECTION
========================= */
.advantages-section {
  background-color: var(--white);
  padding: 4rem 0;
}

.imaging-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.imaging-type {
  text-align: center;
}

.imaging-type img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(250px, 1fr));
  gap: 1.5rem;
}

.advantage-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.advantage-card ul {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.advantage-card h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  padding-left: 2rem;
}

.advantage-card h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0.1;
}

.advantage-card ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 1rem;
}

.advantage-card li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
  line-height: 1.6;
}

.advantage-card li::before {
  content: '\f058';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0.2em;
  font-size: 1.1rem;
}

/* =========================
   FUTURE OUTLOOK SECTION
========================= */
.future-section {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.future-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.future-card {
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
}

.future-image {
  width: 100%;
  height: 50vh;
  max-height: 500px;
  min-height: 300px;
  position: relative;
}

.future-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.future-image:hover img {
  transform: scale(1.05);
}

.future-image figcaption {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: white;
  font-size: 1.2rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.future-content {
  padding: 2rem;
}

.future-content h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.future-content ul {
  list-style: none;
  padding: 0;
}

.future-content li {
  margin-bottom: 2rem;
  padding-left: 3rem;
  position: relative;
}

.future-content .number {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.future-content h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* =========================
   VALIDATION SECTION
========================= */
.validation-section {
  padding: 4rem 0;
  background-color: var(--white);
}

.validation-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.validation-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.validation-details {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 10px;
}

.validation-points {
  margin-top: 2rem;
}

.validation-points h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.validation-points ul {
  list-style-type: none;
  padding-left: 0;
}

.validation-points li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.validation-points li:before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.validation-source {
  margin-top: 2rem;
  font-style: italic;
  color: var(--text-color);
}

/* =========================
   SUMMARY SECTION
========================= */
.summary-section {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.summary-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.summary-header-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.summary-text {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* =========================
   FOOTER
========================= */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

/* =========================
   SCROLL TO TOP
========================= */
#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  z-index: 1000;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

#scrollToTopBtn.visible {
  display: flex !important;
}

#scrollToTopBtn:hover {
  opacity: 1;
}

/* =========================
   RESPONSIVE STYLES
========================= */
@media (max-width: 1200px) {
  .advantages-grid {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }
}

@media (max-width: 992px) {
  .scientific-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-inner {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .nav-actions {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .nav-container.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 0;
    margin-bottom: 2rem;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    width: 100%;
  }

  .nav-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .language-switcher {
    margin: 0;
    justify-content: center;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  /* Process section mobile */
  .process-section::before {
    left: 20px;
  }
  
  .process-step {
    width: 100%;
    margin-left: 40px !important;
    margin-right: 0 !important;
  }
  
  .process-step::before {
    left: -40px;
    right: auto;
  }
  
  .process-step h3 {
    padding-left: 0;
  }
  
  .process-step h3::before {
    display: none;
  }

  /* Hero section mobile */
  .hero {
    height: 40vh;
    min-height: 300px;
  }

  .hero-image img {
    height: 100%;
    transform: none;
  }

  /* Future section mobile */
  .future-image {
    height: 40vh;
  }
  
  .future-content li {
    padding-left: 2rem;
  }
  
  .future-content .number {
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }

  /* Advantages grid mobile */
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  /* Footer mobile */
  footer {
    padding: 3rem 0 2rem;
  }

  .footer-content {
    flex-direction: column;
    display: flex;
    gap: 2rem;
  }

  /* Scientific grid mobile */
  .scientific-grid {
    grid-template-columns: 1fr;
  }

  /* Validation content mobile */
  .validation-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .scientific-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-container {
    width: 85%;
  }
  
  .nav-links a {
    font-size: 1rem;
  }
}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  font-family: Arial, sans-serif;
}

/* Interest Options */
.interest-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.interest-option {
  display: flex;
  align-items: center;
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.interest-option:hover {
  border-color: var(--primary-color);
  background-color: rgba(30, 60, 114, 0.02);
}

.interest-option input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.2);
}

.interest-option span {
  font-weight: 500;
}

.interest-option input:checked + span {
  color: var(--primary-color);
  font-weight: 600;
}

/* Honeypot Field */
.hp-field {
  display: none;
}

/* Captcha Group */
.captcha-group {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.captcha-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

#captcha-question {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover:not(:disabled) {
  background-color: var(--primary-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.submit-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Form Validation Styles */
.form-group input:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #dc3545;
}

.form-group input:valid:not(:focus):not(:placeholder-shown) {
  border-color: #28a745;
}
/* =========================
   COOKIE CONSENT STYLE
========================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 60, 114, 0.95);
  color: white;
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  z-index: 2000;
  font-size: 0.9rem;
}

.cookie-banner p {
  flex: 1 1 70%;
  margin: 0;
  padding-right: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  border: none;
  cursor: pointer;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: #1e3c72;
  color: #fff;
}

.cookie-btn.accept:hover {
  background: #162d57;
}

.cookie-btn.decline {
  background: #eee;
  color: #333;
}

.cookie-btn.decline:hover {
  background: #ddd;
}
/* =========================
   MOBILE HAMBURGER MENU FIX
========================= */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2001; /* Viktigt – ligger ovanpå menyn */
  }

  .hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--primary-color, #1e3c72);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* Menyn i mobilen */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* gömd från början */
    flex-direction: column;
    gap: 1rem;
    width: 260px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 6rem 1.5rem 2rem;
    transition: right 0.3s ease;
    z-index: 2000;
  }

  .nav-links.active {
    right: 0; /* glider in från höger */
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.9rem 0.8rem;
    text-align: left;
    color: #1e3c72;
    font-weight: 500;
  }

  .nav-links a:hover {
    background-color: rgba(30, 60, 114, 0.05);
  }

  /* Dölj språk och kontakt-knappar i mobilmenyn */
  .nav-actions {
    display: none;
  }
}



