/* Grundinställningar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f9fbfd;
  color: #222;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  
}

/* Färger */
:root {
  --primary: rgb(18, 33, 48);     /* Blå */
  --secondary: #1e2d4a;   /* Ljusblå */
  --light: #ffffff;
  --dark: #111827;
  --gray: #e5e7eb;
}


/* Navbar */
.navbar {
  background: var(--primary);
  padding: 1rem 0;
  color: var(--light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 999;
}



.navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  margin-left: 0.3rem; /* från secondaryu */
}

.navbar nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-right: 1rem;
  margin-left: 4.5rem; /* från secondaryu */
}

.navbar .container {
  display: flex;
  
  align-items: center;
}



.navbar a {
  color: var(--light);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
  background: var(--secondary);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: white;
  text-align: center;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* padding styrs nu inuti .container */
}

/* Videon */
.hero {
  position: relative;
  width: 100%;
  height: 75vh; /* Justera till önskad höjd */
  overflow: hidden;
  color: white;
  text-align: center;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100.001%;
  height: auto;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}



/* Behåll h2 och p som de är */
.hero h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 6px rgba(0,0,0,1);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,1);
}


/* Knappar container */
.buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Primär knapp */
.btn-primary {
  background: var(--secondary);
  color: white;
  padding: 0.85rem 2.2rem;
  border-radius: 35px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgb(48 93 177 / 60%);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #122669;
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.8);
  transform: translateY(-3px);
  outline: none;
}

/* Sekundär knapp */
.btn-secondary {
  background: white;
  color: var(--primary);
  padding: 0.85rem 2.2rem;
  border: 2px solid var(--primary);
  border-radius: 35px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.25);
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.6);
  outline: none;
}

/* Responsiv text */
@media (max-width: 600px) {
  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    padding: 0.85rem 0;
  }
}

/* Funktioner */
.features {
  padding: 4rem 1rem;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.features h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.features p {
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}

/* Grid för 3 citat */
.features .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature-box {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 250px;  /* gör att boxarna kan anpassa bredd */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: Arial, sans-serif;
}

.feature-box.test {
  margin-bottom: 25px;
}


.feature-box h4 {
  margin-bottom: 0.5rem;
  color: var(--secondary); /* blå ton */
}

.feature-box p {
  margin: 0.3rem 0;
  color: #374151; /* mörkgrå text */
  font-weight: 500;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.email-button {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  margin-top: 1rem;
  background-color: var(--secondary);  /* blå färg */
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-family: Arial, sans-serif;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.email-button:hover {
  background-color: #163881; /* mörkare blå vid hover */
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.6);
}



/* Citatruta */
blockquote {
  font-style: italic;
  color: #333;
  font-size: 1.15rem;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.5;
  margin: 0;
  font-weight: 500;
}

blockquote::before {
  content: "“";
  font-size: 3.5rem;
  color: var(--primary);
  position: absolute;
  left: 0;
  top: -10px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.2;
}

blockquote small {
  display: block;
  margin-top: 1.2rem;
  font-weight: 600;
  font-style: normal;
  color: var(--secondary);
  font-size: 1rem;
}


/* Footer */
.footer {
  background: var(--primary);
  color: white;
  padding: 2rem 0;
  text-align: center;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 4rem;
}

.footer a {
  color: #cbd5e1;
  display: block;
  margin-top: 0.5rem;
}

/* Responsiv meny */
@media (max-width: 768px) {
  .navbar nav {
    flex-direction: column;
    align-items: flex-start;
    margin-right: 1rem; /* från secondaryu */
  }

  .buttons a {
    display: block;
    margin: 0.5rem auto;
  }
}

/* Kontaktformulär - snyggare inputfält och textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  max-width: 600px;
  padding: 12px 16px;
  margin-top: 6px;
  margin-bottom: 16px;
  border: 2px solid var(--gray);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Segoe UI', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  resize: vertical;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 8px var(--secondary);
  background-color: #fefefe;
}

.bubble-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.bubble {
  background-color: #eef2ff;
  color: #1e2d4a;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.grid.three-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.benefit-box, .quote-box {
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.grid.two-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem 0;
}

ul li {
  margin-bottom: 0.5rem;
}

.about {
  padding: 5rem 0;
  border-radius: 20px;
  color: #1e293b; /* Mörkblå text för bättre kontrast */
  margin: 3rem 0;
  text-align: center;
}

.about h3 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 700;
}

.about-grid {
  gap: 3rem;
}

.about-column {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.about-column:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.about-column ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.about-column ul li {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2.5rem;
  color: var(--primary);
  font-weight: 600;
}

.about-column ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1;
}

.about-column p {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.6;
}

/* Anpassning för mindre skärmar */
@media (max-width: 768px) {
  .about {
    padding: 3rem 1rem;
  }

  .about-column {
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .about-column ul li {
    padding-left: 1.5rem;
  }

  .about-column ul li::before {
    left: 0.5rem;
  }
}

.benefits {
  padding: 6rem 1.5rem;
  border-radius: 24px;
  margin: 4rem 0;
  color: #334155cb; /* Mörkgrå text */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

.benefits > .container {
  max-width: 960px;
  margin: 0 auto;
}

.benefits h3 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--primary);
  letter-spacing: 0.06em;
}

.benefits-grid {
  display: flex;
  gap: 3.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.benefit-box {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  flex: 1 1 300px;
  max-width: 320px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}


.icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  /* Färger för olika ikoner kan styra via nth-child eller lägga klass om du vill */
  color: #2563eb; /* Blå för alla ikoner */
  filter: drop-shadow(0 2px 2px rgba(37, 99, 235, 0.3));
}

.benefit-box h4 {
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.benefit-box p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
  max-width: 260px;
}

/* Mobilanpassning */
@media (max-width: 640px) {
  .benefits-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .benefit-box {
    max-width: 100%;
  }
}

/* Ikoner ligger som emoji redan, så ::before kan tas bort eller användas vid behov */

/* Subjects / Ämnesbubblor */
.subjects {
  padding: 4rem 1.5rem 5rem;
  border-radius: 24px;
  margin: 4rem 0;
  color: #334155;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
}

.subjects > .container {
  max-width: 900px;
  margin: 0 auto;
}

.subjects h3 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.subjects p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #475569;
}

.bubble-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
  justify-content: center;
}

.bubble {
  background: #1e2d4a;
  color: white;
  padding: 0.55rem 1.2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  user-select: none;
  transition: background-color 0.3s ease;
  cursor: default;
}

.bubble:hover {
  background-color: #11235f;
}

/* Mobilanpassning */
@media (max-width: 640px) {
  .trusted-data, .subjects {
    padding: 3rem 1rem 4rem;
  }

  .bubble-wrap {
    gap: 0.8rem 1rem;
  }

  .bubble {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

.cta {
  background: linear-gradient(135deg, #1e2d4a 0%, #06111d 100%);
  color: #f9fafb;
  padding: 5rem 2rem;
  border-radius: 28px;
  margin: 5rem auto; /* centrerar horisontellt */
  max-width: 900px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
  font-family: 'Poppins', sans-serif;
  display: block; /* säkerställer blocknivåelement */
  margin-right: auto;
  margin-left: auto;
}


.cta h3 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #dbeafe; /* Ljusare blå för bra kontrast */
}

.cta h3 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e7ff;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}


.cta .buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.btnn-primary,
.btnn-secondary {
  padding: 1.1rem 3rem;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.4s ease;
  cursor: pointer;
  min-width: 200px;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btnn-primary {
  background: #f3f4f6;
  color: #2563eb;
  border: none;
}

.btnn-primary:hover {
  background: #e0e7ff;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
  transform: translateY(-3px);
}

.btnn-secondary {
  background: transparent;
  border: 2.5px solid #f3f4f6;
  color: #f3f4f6;
  font-weight: 600;
}

.btnn-secondary:hover {
  background: #f3f4f6;
  color: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
  transform: translateY(-3px);
}

/* Responsiv anpassning */
@media (max-width: 520px) {
  .buttons {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .btnn-primary,
  .btnn-secondary {
    min-width: auto;
    width: 100%;
  }
}

.container.hero-content {
  background: rgb(180 220  / 36%); 
  padding: 30px;
  border-radius: 50rem;
  max-width: 900px;
  backdrop-filter: blur(2px);
  

}

