/* VARIABLES */
:root {
  --primary: #A1B1E8;
  --primary-dark: #A1B1E8;
  --secondary: #3455db;
  --dark: #0a1128;
  --darker: #070d1f;
  --medium: #2a324b;
  --light: #e9ebf8;
  --white: #ffffff;
  --success: #4caf50;
  --warning: #ffd54f;
  --danger: #f44336;
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-heading: "Montserrat", "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --radius: 8px;
  --radius-lg: 16px;
  --header-height: 100px;
}

/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--light);
  background-color: var(--dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

ul,
ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

section {
  padding: 5rem 0;
}

/* LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col {
  flex: 1;
  padding: 0 1rem;
}

.col-1-3 {
  flex: 0 0 33.333333%;
  padding: 0 1rem;
}

.col-1-2 {
  flex: 0 0 50%;
  padding: 0 1rem;
}

.col-2-3 {
  flex: 0 0 66.666666%;
  padding: 0 1rem;
}

.col-1-4 {
  flex: 0 0 25%;
  padding: 0 1rem;
}

.flex {
  display: flex;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.text-center {
  text-align: center;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.gap-3 {
  gap: 3rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mt-5 {
  margin-top: 5rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

/* COMPONENTS */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  /*background-color: var(--primary); */
  background-color: #3455db;
  color: var(--white);
  
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background-color: var(--primary-dark);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


.btn.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn.btn-secondary {
  background-color: var(--secondary);
}

.btn.btn-secondary:hover {
  background-color: #e57935;
}

.btn.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  height: var(--header-height);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

header.scrolled {
  background-color: rgba(7, 13, 31, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
}

.mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  margin-right: 4rem;
}

.logo span {
  color: var(--primary);
}

nav>div {
  display: flex;
  flex-direction: row;
}

nav {
  padding: 0 1rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.5rem;
}

nav ul li a {
  color: var(--white);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

nav ul li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary);
  
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

nav ul li a.btn.active {
  color: #ffffff !important;
  /* eller annan synlig färg */
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  align-items: center;
}

.contact-form {
  background-color: var(--medium);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(233, 235, 248, 0.2);
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 111, 255, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* FOOTER */
footer {
  background-color: var(--dark);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--white);
}

.footer-logo span {
  color: var(--primary);
}

.footer-description {
  margin-bottom: 2rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  font-size: 1.2rem;
}

.footer-social-link:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--light);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  margin-left: 5px;
}

.footer-copyright {
  margin-top: 4rem;
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(233, 235, 248, 0.1);
  color: rgba(233, 235, 248, 0.7);
}

/* UTILITY CLASSES */
.section-heading {
  text-align: center;
  margin-bottom: 4rem;
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.section-heading p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(233, 235, 248, 0.8);
}

.highlight {
  color: var(--primary);
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.section-divider {
  height: 3px;
  width: 60px;
  background: var(--primary);
  margin: 2rem auto;
}

.success-message,
.error-message {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  display: none;
}

.success-message {
  background-color: rgba(76, 175, 80, 0.15);
  color: var(--success);
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.error-message {
  background-color: rgba(244, 67, 54, 0.15);
  color: var(--danger);
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeIn 0.8s ease forwards;
}

/* POLICY PAGES */
.policy-content {
  padding: 5rem 0;
  background-color: var(--dark);
}

.policy-container {
  background-color: var(--medium);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.policy-container h2 {
  color: var(--white);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
}

.policy-container h3 {
  color: var(--white);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.policy-container ul,
.policy-container ol {
  margin-bottom: 1.5rem;
}

.policy-container li {
  margin-bottom: 0.5rem;
}

.policy-updated {
  margin-top: 3rem;
  font-style: italic;
  color: rgba(233, 235, 248, 0.7);
}


/* Modern Social Media Icons */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #0c71c3;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background-color: #0a5da0;
  box-shadow: 0 5px 15px rgba(12, 113, 195, 0.3);
}

.social-links i {
  font-size: 18px;
}

.no-underline::after {
  content: none !important;

}