.policy,
.success,
.contact-section {
  padding-block: 130px 60px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 30px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

  margin-bottom: 30px;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
}


.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 14px;
}

.policy__text ul {
  padding-left: 20px;
}

.policy__link {
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding-inline: 20px;
}

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

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn-primary {
  background: #6c5ce7;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 16px;
}

.btn-primary:hover {
  background: #5a4fcf;
}

.btn-secondary {
  background: transparent;
  color: #666;
  padding: 15px 30px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-secondary:hover {
  border-color: #6c5ce7;
  color: #6c5ce7;
}

/* Header */
.header {
  background: white;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

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

.logo a {
  font-size: 32px;
  font-weight: 700;
  color: #6c5ce7;
  text-decoration: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #6c5ce7;
}

.nav-cta {
  background: #6c5ce7 !important;
  color: white !important;
  padding: 12px 24px;
  border-radius: 8px;
}

.nav-cta:hover {
  background: #5a4fcf !important;
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-nav-list {
  list-style: none;
  padding: 20px;
}

.mobile-nav-list li {
  margin: 15px 0;
}

.mobile-nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 18px;
}

/* Main content */
main {
  margin-top: 80px;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9ff 0%, #e8edff 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Om oss Section */
.om-oss {
  padding: 80px 0;
  background: url(../img/about-bg.png) center / cover no-repeat;
}

.om-oss-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.om-oss h2 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
}

.om-oss p {
  font-size: 18px;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.7;
}

/* Fordeler Section */
.fordeler {
  padding: 80px 0;
  background: #f8f9ff;
}

.fordeler h2 {
  font-size: 42px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  text-align: center;
  margin-bottom: 60px;
}

.fordeler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.fordel-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.fordel-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: #e8edff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fordel-icon img {
  width: 30px;
  height: 30px;
}

.fordel-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.fordel-card p {
  color: #666;
  line-height: 1.6;
}

/* Tjenester Section */
.tjenester {
  padding: 80px 0;
  background: white;
}

.tjenester h2 {
  font-size: 42px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
}

.tjenester-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.tjeneste-card {
  display: flex;
  gap: 30px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.tjeneste-image {
  flex: 0 0 200px;
}

.tjeneste-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tjeneste-content {
  padding: 30px;
  flex: 1;
}

.tjeneste-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.tjeneste-content p {
  color: #666;
  line-height: 1.6;
}

/* Inspirasjon Section */
.inspirasjon {
  padding: 80px 0;
  background:   url('../img/about-bg2.png') center / cover no-repeat;;
  color: white;
  text-align: center;
}

.inspirasjon h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
}

.inspirasjon p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Anmeldelser Section */
.anmeldelser {
  padding: 80px 0;
  background: white;
}

.anmeldelser h2 {
  font-size: 42px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 60px;
}

.anmeldelser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.anmeldelse-card {
  background: #f8f9ff;
  padding: 30px;
  border-radius: 12px;
}

.anmeldelse-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info h4 {
  font-weight: 600;
  color: #333;
}

.user-info p {
  color: #666;
  font-size: 14px;
}

.rating {
  margin-bottom: 20px;
}

.star {
  color: #ffd700;
  font-size: 20px;
}

.anmeldelse-card p {
  color: #666;
  line-height: 1.6;
  font-style: italic;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #f8f9ff;
}

.contact h2 {
  font-size: 42px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-text {
  text-align: center;
  margin-bottom: 40px;
}

.contact-text p {
  font-size: 18px;
  color: #666;
  line-height: 1.7;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6c5ce7;
}

/* Footer */
.footer {
  background: #2d3748;
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-logo h3 {
  font-size: 32px;
  font-weight: 700;
  color: #6c5ce7;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #6c5ce7;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #4a5568;
  color: #ccc;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 90%;
  z-index: 10000;
  text-align: center;
  display: none;
}

.cookie-popup.show {
  display: block;
}

.cookie-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.cookie-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.cookie-content p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Success Popup */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.success-popup.show {
  display: flex;
}

.success-content {
  background: white;
  padding: 50px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.success-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #6c5ce7;
  margin-bottom: 20px;
}

.success-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .tjenester-grid {
    grid-template-columns: 1fr;
  }

  .tjeneste-card {
    flex-direction: column;
  }

  .tjeneste-image {
    flex: none;
    height: 200px;
  }

  .anmeldelser-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-info {
    flex-direction: column;
    gap: 20px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .fordeler-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .om-oss,
  .fordeler,
  .tjenester,
  .inspirasjon,
  .anmeldelser,
  .contact {
    padding: 60px 0;
  }

  h2 {
    font-size: 32px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p,
  .contact-text p {
    font-size: 16px;
  }

  .tjenester-grid {
    grid-template-columns: 1fr;
  }

  .anmeldelser-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 28px !important;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Active mobile menu */
.mobile-menu.active {
  display: block;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
