html, body {
  scroll-snap-type: none !important;
  scroll-behavior: smooth;
}

/* Remove scroll-snap from all sections except training cards */
section {
  scroll-snap-type: none !important;
  scroll-snap-align: none !important;
}

/* ===== BASE CONTAINER STYLES ===== */
/* Enhanced Container Styles */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
}

/* Responsive container padding */
@media (max-width: 1024px) {
  .container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* ===== OVERFLOW FIXES ===== */
/* Reset any problematic margins or paddings */
body, html {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fix for all sections */
.section, .hero-section, .footer, .services-section {
  width: 100%;
  max-width: 100%;

  box-sizing: border-box;
}

.section {
  padding: 5rem 0;
  background-color: #fafafa;
}

.section > .container {
  position: relative;
  z-index: 2;
}

/* Ensure all full-width sections use border-box */
* {
  box-sizing: border-box;
}

/* ===== NAVBAR STYLES ===== */
/* Navbar Container */
.navbar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-50);
  padding: var(--spacing-6) var(--spacing-6);
  display: flex;
  justify-content: center;
}

/* Navbar Pill */
.navbar-pill {
  background-color: var(--color-bg-navbar);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(50px);
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: var(--container-lg);
  padding: var(--spacing-2) var(--spacing-3);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-normal) var(--transition-ease);
}

/* Mobile Navigation */
.mobile-nav {
  display: flex;
  flex-direction: column;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height var(--transition-normal) var(--transition-ease),
              opacity var(--transition-normal) var(--transition-ease),
              transform var(--transition-normal) var(--transition-ease),
              padding var(--transition-normal) var(--transition-ease);
  overflow: hidden;
  padding: 0;
}

.navbar-pill.mobile-active .mobile-nav {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
  padding-top: var(--spacing-6);
}

/* Logo */
.logo-image {
  height: 1.25rem;
  width: auto;
  margin-right: 0.5rem;
}

.logo-text {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-xl);
  white-space: nowrap;
}


/* Additional responsive fixes for smaller screens */
@media (max-width: 1000px) {
  /* Adjust logo size for medium screens if needed */
  .logo-text {
    font-size: var(--font-size-lg);
  }
}

@media (max-width: 768px) {
  /* Further adjustments for mobile */
  .navbar-container {
    padding: var(--spacing-4);
  }
  
  .navbar-pill {
    padding: var(--spacing-3) var(--spacing-4);
  }
}

/* Hide logo text on very small screens to prevent crowding */
@media (max-width: 480px) {
  .logo-text.hidden-on-mobile {
    display: none;
  }
}

/* Navigation Links */
.navbar-container-items {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

/* Default: Hide navbar nav and show hamburger */
.navbar-nav {
  display: none;
  gap: var(--spacing-2);
  transition: margin-right var(--transition-normal) var(--transition-ease);
  margin-right: 0;
}

.hamburger-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  position: relative;
  padding: 0;
  z-index: var(--z-50);
}

/* Show navbar nav and hide hamburger at 1000px and above */
@media (min-width: 1000px) {
  .navbar-nav {
    display: flex !important;
  }
  
  .hamburger-button {
    display: none !important;
  }
}

.nav-link {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  position: relative;
  padding: var(--spacing-2) var(--spacing-2);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal) var(--transition-ease);
}

.nav-link:hover {
  color: #4b5563;
  background-color: rgba(235, 235, 235, 0.6);
  backdrop-filter: brightness(0.95) contrast(1.1) saturate(1.1);
  -webkit-backdrop-filter: brightness(0.95) contrast(1.2) saturate(1.2);
}

/* Mobile Menu Links */
.mobile-menu-link {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  padding: var(--spacing-4) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: color var(--transition-normal) var(--transition-ease);
}

.mobile-menu-link:last-child {
  border-bottom: none;
}

.mobile-menu-link:hover {
  color: var(--color-primary-hover);
}

/* Navbar CTA Button */
.navbar-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem; /* Add gap between items in navbar-actions */
  margin-left: var(--spacing-6);
}

.navbar-cta {
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--transition-normal) var(--transition-ease);
  position: absolute;
  right: 0;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  border-radius: var(--radius-lg);
  padding: var(--spacing-2) var(--spacing-4);
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border: none;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

.navbar-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hamburger Lines */
.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  display: block;
  transition: all var(--transition-normal) var(--transition-ease);
  border-radius: 10px;
}

.hamburger-line:first-child {
  margin-bottom: 6px;
}

.hamburger-button.active .hamburger-line:first-child {
  transform: translateY(4px) rotate(45deg);
}

.hamburger-button.active .hamburger-line:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Responsive Adjustments for Navbar Container */
@media (max-width: 768px) {
  .navbar-container {
    padding-left: var(--spacing-4);
    padding-right: var(--spacing-4);
  }
  
  .navbar-pill {
    padding-left: var(--spacing-4);
    padding-right: var(--spacing-4);
  }
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #f9fafb;
  position: relative;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-section .container {
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-section h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-text-light)
}

.hero-section p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin-left: 12px;
  transition: all 0.3s ease;
}

.hero-button-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 3;
  color: white;
  transition: transform 0.3s ease;
}

.btn-primary:hover .hero-button-icon {
  background-color: rgba(255, 255, 255, 0.3);
}

.btn-primary:hover .hero-button-icon svg {
  transform: translateX(2px);
}

/* ===== UTILITY CLASSES ===== */
/* Flex Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.25rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .sm\:flex-row {
    flex-direction: row;
  }
}

@media (max-width: 640px) {
  .hero-section h1 {
    font-size: 1.875rem;
  }
  
  .flex.gap-4 {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
}

/* ===== VALUES SECTION ===== */
/* Value Cards Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Value Card Base Style */
.value-card {
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
}

/* Icon Container */
.value-icon-container {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
}

/* SVG Icon Style */
.value-icon {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Value Title */
.value-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Decorative blurs */
.decorative-blur {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 100%;
  background-color: rgba(0, 0, 0, 0.025);
  filter: blur(60px);
  opacity: 0.15;
  z-index: 1;
}

/* Responsive adjustments for values grid */
@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .value-icon-container {
    margin: 0 auto 1rem auto;
  }
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 120px 0;
  background-color: #f8f8f8;
  position: relative;
  overflow: hidden;
}

/* Background decorative elements */
.services-bg-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.01) 100%);
  z-index: 1;
}

.bg-element-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
}

.bg-element-2 {
  width: 600px;
  height: 600px;
  bottom: -200px;
  left: -200px;
}

.bg-element-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  right: 15%;
}

/* Section header with underline animation */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-black);
  margin-bottom: 1rem;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--color-black) 0%, var(--color-gray-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.section-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--color-gray-700);
}

/* Services grid with modern card design - UPDATED TO 3 COLUMNS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

/* Service card responsiveness - UPDATED BREAKPOINTS */
@media (max-width: 1200px) {
  .services-grid {
    gap: 24px;
  }
  
  .service-card-content {
    padding: 25px;
  }
  
  .service-title {
    font-size: 1.3rem;
  }
  
  .service-icon {
    font-size: 60px;
  }
}

.services-section .container {
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
  max-width: 1200px; /* Match your site's max width */
  margin: 0 auto;
  box-sizing: border-box;
}



@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 650px; /* Keep this */
    margin: 0 auto;   /* Keep this - centers the grid */
  }

    /* Make container padding even on both sides */
  .services-section .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Adjust card sizing for single column */
  .service-card {
    height: auto;
  }
  
  /* Adjust icon size for better proportion */
  .service-icon {
    font-size: 60px;
  }
  
  /* Reduce top padding for better vertical balance */
  .service-card-top {
    padding-top: 45%;
  }
  
}

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

/* Small screens/phones */
@media (max-width: 576px) {
  .services-grid {
    gap: 20px;
    max-width: 100%;
  }
  
  /* Make content more compact on mobile */
  .service-card-content {
    padding: 20px;
  }
  
  /* Smaller font sizes for mobile */
  .service-title {
    font-size: 1.25rem;
  }
  
  .service-description {
    font-size: 0.9rem;
  }
  
  .feature-text {
    font-size: 0.85rem;
  }
  
  /* Adjust icon sizes */
  .service-icon {
    font-size: 50px;
  }
  
  .feature-icon {
    width: 16px;
    height: 16px;
  }
  
  /* Smaller badge for better proportions */
  .featured-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    top: 15px;
    right: 15px;
  }
  
  /* Increase touch target for action button */
  .service-action {
    padding-top: 5px;
  }
}

/* Extra small screens */
@media (max-width: 375px) {
  .section-header {
    margin-bottom: 40px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .services-grid {
    gap: 16px;
  }
  
  /* Further content compaction */
  .service-card-content {
    padding: 16px;
  }
  
  .service-feature {
    margin-bottom: 8px;
  }
}


/* Modern service card with hover effects */
.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), 
              box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
              
  height: 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0; /* Reset any margins */
}

.service-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Card top section with icon/image */
.service-card-top {
  position: relative;
  padding-top: 40%; /* Aspect ratio */
  background-color: var(--color-gray-100);
  overflow: hidden;
}


/* Even more aggressive scaling for very small screens */
@media (max-width: 450px) {
  /* Further reduce padding */
  .service-card-content {
    padding: 15px;
  }
  
  /* Make feature icons smaller */
  .feature-icon {
    width: 15px;
    height: 15px;
    min-width: 15px; /* Prevent flex shrinking */
  }
  
  /* Even smaller feature text */
  .feature-text {
    font-size: 0.8rem;
    line-height: 1.3;
  }
  
  /* Reduce title size */
  .service-title {
    font-size: 1.1rem;

  }
  
  /* Smaller description */
  .service-description {
    font-size: 0.85rem;
  }
  
  /* Scale down service icon */
  .service-icon {
    font-size: 42px;
  }
  
  /* Make top section smaller */
  .service-card-top {
    padding-top: 40%;
  }
  
  /* Ensure container has minimal padding */
  .services-section .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  
  /* Adjust featured badge */
  .featured-badge {
    font-size: 0.65rem;
    padding: 4px 8px;
    top: 10px;
    right: 10px;
  }
}

/* Special fix for ultra-small screens */
@media (max-width: 360px) {
  .service-card-content {
    padding: 12px;
  }
  
  .feature-text {
    font-size: 0.75rem;
  }
  
  .service-title {
    font-size: 1rem;
  }
}

.service-icon-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.06) 100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.05);
}

.service-icon {
  font-size: 70px;
  color: var(--color-black);
  opacity: 0.8;
}

/* Card content section - ADJUSTED FOR 3-COLUMN LAYOUT */
.service-card-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  position: relative;
  padding-bottom: 15px;
}

.service-description {
  flex-grow: 1;  /* This makes the description take up available space */
  color: var(--color-gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Card features list */
.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.feature-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.feature-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Card action button */
.service-action {
  margin-top: auto;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-black);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.service-btn svg {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.service-btn:hover {
  transform: translateX(5px);
}

.service-btn:hover svg {
  transform: translateX(3px);
}

/* Featured service card */
.service-card.featured {
  border: 2px solid var(--color-black);
}

.service-card.featured .service-icon-wrapper {
  background: linear-gradient(45deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.09) 100%);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--color-black);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 30px;
  z-index: 5;
  letter-spacing: 0.5px;
}

/* See all services button */
.services-all-wrapper {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.services-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-all-btn svg {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.services-all-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.services-all-btn:hover svg {
  transform: translateX(3px);
}

/* Why I do it section - appears after services grid */
.services-why-wrapper {
  text-align: center;
  margin-top: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.services-why-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-black);
}

.services-why-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-gray-700);
}
/* ===== TRAINING SECTION ===== */
/* KORRIGERAD TRÄNINGS-SEKTION */
.training-section {
  position: relative;
  padding: 80px 0 100px;
  background-color: #fafafa;
  width: 100%;
}

/* Bakgrundsformer - minimala */
.bg-shape {
  position: absolute;
  z-index: 1;
  opacity: 0.04;
}

.bg-shape-1, .bg-shape-2, .bg-shape-3 {
  display: none; /* Göm alla bakgrundsformer för en renare look */
}

/* Dölj tidslinje - vi behöver den inte */
.timeline-container {
  display: none;
}

/* SCROLL-SNAP CONTAINER - NU FULLBREDD */
.programs-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  z-index: 2;
}



/* SCROLLBAR CONTAINER */
.programs-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100vw;
  padding: 40px 10vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  box-sizing: border-box;
  
  /* Hide scrollbar but keep functionality */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Dölj scrollbar i WebKit-baserade webbläsare */
.programs-container::-webkit-scrollbar {
  display: none;
}

/* Keep scroll-snap for individual cards */
.program-card {
  flex: 0 0 auto;
  width: 750px;
  margin: 0 30px;
  scroll-snap-align: center; /* Keep card snapping */
  scroll-snap-stop: always; /* Ensures scrolling stops at each card */
  background: white;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.08),
    0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
/* Första kortet behöver mer vänstermarginall för bättre placering */
.program-card:first-child {
  margin-left: 8vw;
}

/* Sista kortet behöver mer högermarginall för bättre placering */
.program-card:last-child {
  margin-right: 8vw;
}

/* Lägg till en subtil botten-skugga för djup */
.program-card:before {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 5%;
  right: 5%;
  height: 15px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 50%;
  filter: blur(10px);
  z-index: -1;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.1),
    0 15px 40px rgba(0, 0, 0, 0.06);
}

/* Prisindikator */
.program-price-indicator {
  position: absolute;
  top: 40px;
  right: 40px;
  display: flex;
  gap: 8px;
}

.price-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #000;
  opacity: 0.15;
}

.price-dot.active {
  opacity: 1;
}

/* Programrubrik - STÖRRE */
.program-header {
  position: relative;
  text-align: left;
  margin-bottom: 40px;
  padding-right: 80px; /* Mer utrymme för prisindikator */
}

.program-badge {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.program-title {
  font-weight: 800;
  font-size: 2.5rem; /* Större rubrik */
  margin-bottom: 12px;
  color: #000;
}

.program-title span {
  position: relative;
  display: inline-block;
}

.program-title span:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px; /* Tjockare linje */
  background-color: #000;
}

.program-header p {
  font-size: 1.7rem; /* Större text */
  margin-top: 15px;
  color: #555;
}

/* Fördelslista - MER GENERÖS SPACING */
.benefits-list {
  list-style: none;
  margin: 0 0 40px 0;
  padding: 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px; /* Mer utrymme mellan fördelar */
}

.benefits-icon {
  flex-shrink: 0;
  width: 24px; /* Större ikoner */
  height: 24px;
  margin-right: 20px;
  color: #000;
}

.benefits-text {
  font-size: 1.05rem; /* Större text */
  line-height: 1.6;
  color: #333;
}

/* Programsammanfattning - STÖRRE */
.program-summary {
  font-weight: 600;
  font-size: 1.2rem; /* Större text */
  line-height: 1.5;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-style: italic;
  color: #222;
}

/* NAVIGATIONSKONTROLLER */
/* Navigeringsprickar - förenklad stil */
.program-dots {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.program-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.program-dot.active {
  background-color: #000;
  transform: scale(1.3);
}

/* Dölj navigationspilarna - Scrollning är intuitivt utan dem */
.program-nav {
  display: none;
}

/* CTA-knapp - STÖRRE */
.program-cta-container {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.program-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem; /* Större text */
  padding: 18px 36px; /* Större padding */
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.program-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.program-cta svg {
  margin-left: 10px;
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.program-cta:hover svg {
  transform: translateX(4px);
}

/* ===== RESPONSIVE DESIGN FOR PROGRAM CARDS ===== */
/* På riktigt stora skärmar - ännu större avstånd */
@media (min-width: 1800px) {
  .program-card {
    width: 800px;
    margin: 0 40px;
    padding: 60px;
  }
  
  .program-card:first-child {
    margin-left: 10vw;
  }
  
  .program-card:last-child {
    margin-right: 10vw;
  }
}

/* På stora skärmar */
@media (min-width: 1400px) and (max-width: 1799px) {
  .program-card {
    width: 780px;
    margin: 0 35px;
  }
}

/* På mellanstora skärmar */
@media (min-width: 1024px) and (max-width: 1399px) {
  .program-card {
    width: 700px;
    margin: 0 30px;
    padding: 45px;
  }
  
  .programs-container {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  
  .program-card:first-child {
    margin-left: 5vw;
  }
  
  .program-card:last-child {
    margin-right: 5vw;
  }
}

/* På mindre skärmar */
@media (min-width: 768px) and (max-width: 1023px) {
  .program-card {
    width: 600px;
    margin: 0 25px;
    padding: 40px;
  }
  
  .programs-container {
    padding-top: 35px;
    padding-bottom: 35px;
    padding-left: 4vw;
    padding-right: 4vw;
  }
  
  .program-card:first-child {
    margin-left: 4vw;
  }
  
  .program-card:last-child {
    margin-right: 4vw;
  }
  
  .program-title {
    font-size: 2rem;
  }
}

/* På tablets */
@media (min-width: 576px) and (max-width: 767px) {
  .program-card {
    width: 500px;
    margin: 0 20px;
    padding: 35px;
  }
  
  .programs-container {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 3vw;
    padding-right: 3vw;
  }
  
  .program-card:first-child {
    margin-left: 3vw;
  }
  
  .program-card:last-child {
    margin-right: 3vw;
  }
  
  .program-title {
    font-size: 1.8rem;
  }
  
  .program-header p {
    font-size: 1.1rem;
  }
}

/* På mobiler */
@media (max-width: 575px) {
  .training-section {
    padding: 60px 0 80px;
  }
  
  .program-card {
    width: 85vw; /* Width takes up most of the viewport */
    margin: 0 10px; /* Small margin to show adjacent cards */
    padding: 30px 25px;
  }
  
  .programs-container {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  
  .program-card:first-child {
    margin-left: 15px;
  }
  
  .program-card:last-child {
    margin-right: 15px;
  }
  
  .program-price-indicator {
    top: 25px;
    right: 25px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .benefits-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
  }
  
  .program-title {
    font-size: 1.6rem;
  }
  
  .program-summary {
    font-size: 1.1rem;
  }
  
  .program-cta {
    padding: 16px 30px;
    font-size: 1rem;
  }
}

/* Small mobile devices */
@media (max-width: 380px) {
  .program-card {
    width: 80vw; /* Slightly smaller on very small screens */
    margin: 0 8px;
    padding: 25px 20px;
  }
}

/* ===== CONTACT SECTION ===== */
/* Fix map container that might be causing overflow */
.map-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  max-width: 100%;
}

/* ===== PHILOSOPHY SECTION ===== */


/* ===== FOOTER STYLES ===== */
.footer .container {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

/* ===== ADDITIONAL FIXES ===== */
/* Fix service detail grid on mobile */
@media (max-width: 768px) {
  .service-detail-grid {
    display: flex;
    flex-direction: column;
  }
}

/* Fix for FAQ section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

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

/* Fix for CTA container */
.cta-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Enhanced styling for purpose and program options */

/* Base styles for options */
.purpose-option,
.program-option {
  position: relative;
  border: 2px solid #e2e2e2;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Hover effect */
.purpose-option:hover,
.program-option:hover {
  border-color: #999;
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

/* Selected state styling */
.purpose-option.selected,
.program-option.selected {
  border-color: #000000;
  background-color: rgba(0, 0, 0, 0.02);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Add checkmark for selected options */
.purpose-option.selected::after,
.program-option.selected::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 24px;
  height: 24px;
  background-color: #000000;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease;
  transform: scale(1);
  opacity: 1;
}

/* Hidden checkmark for non-selected state (for animation purposes) */
.purpose-option::after,
.program-option::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 24px;
  height: 24px;
  background-color: #000000;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.2s ease;
  transform: scale(0);
  opacity: 0;
}

.program-title {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 6px;
}

.program-option-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.program-badge {
  display: inline-block;
  background-color: #000000;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.program-description {
  font-size: 0.9rem;
  color: #757575;
  margin-top: 10px;
}

/* Hidden radio inputs */
.program-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Spinner animation for form submission */
.spinner {
  animation: spin 1s linear infinite;
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Form validation styling */
.error {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 1px #e53e3e !important;
}

.program-picker.error .program-option {
  border-color: #e53e3e !important;
}

/* Success message styling */
.success-message {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 50%;
  color: #000;
}

.success-message h2 {
  margin-bottom: 16px;
  font-weight: 700;
}

.success-message p {
  color: #4b5563;
  max-width: 500px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .program-option {
    flex: 1 1 100%;
  }
}

/* Full-width button style */
.w-full {
  width: 100%;
}


/* Purpose Picker Styles - Add to your CSS file */
.purpose-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;

}

.purpose-option {
  position: relative;
  flex: 1 1 100%;
  min-width: 220px;
  background-color: var(--color-white);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.purpose-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: #e0e0e0;
}

.purpose-option.selected {
  border-color: #000000;
  background-color: rgba(0, 0, 0, 0.02);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.purpose-option.selected::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  background-color: #000000;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}



.purpose-content {
  flex: 1;
}

.purpose-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.purpose-description {
  font-size: 0.9rem;
  color: #757575;
}

/* Hidden radio inputs */
.purpose-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Media queries */
@media (min-width: 768px) {
  .purpose-option {
    flex: 1 1 calc(50% - 16px);
  }
}

/* Make sure program options are square on mobile */
@media (max-width: 767px) {
  .program-option {
    flex: 1 1 100%;
  }
}

/* Transition styles for showing/hiding program section */
.program-section {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.5s ease;
  margin-bottom: 0;
  transform: translateY(-20px);
}

.program-section.visible {
  max-height: 1500px;
  opacity: 1;
  margin-bottom: 24px;
  transform: translateY(0);
}


/* Fixes for Difference Consulting Website Styling */

/* Fix 1: Center text in the filosofi section */
#filosofi .service-detail .reveal p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}

/* Fix 2: Improve button layout in the tjänster section */
.section-header + .text-center .btn {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* Ensure proper spacing between buttons when they're in a row */
.services-section .text-center,
#tjanster .text-center {
  margin-top: 2.5rem;
}

/* Improve responsiveness of button layout */
@media (max-width: 640px) {
  .services-section .btn,
  #tjanster .btn,
  .text-center .btn-primary {
    min-width: auto;
    width: 100%;
    margin: 0.75rem 0;
  }
  
  /* Stack buttons on mobile */
  .services-section .text-center,
  #tjanster .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Philosophy Mystery Effect */
.values-grid {
  position: relative;
  overflow: hidden;
}

/* Mystery overlay */
.mystery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(250,250,250,0.92) 70%);
  pointer-events: none;
  z-index: 2;
}

/* General mystery card styling */
.mystery-card {
  position: relative;
  box-shadow: none;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(0);
  transition: all 0.4s ease;
}

/* Progressive visibility levels for mystery cards */
.first-mystery {
  opacity: 0.45;
}

.second-mystery {
  opacity: 0.3;
}

.third-mystery {
  opacity: 0.2;
}

.fourth-mystery {
  opacity: 0.1;
}

/* Mystery icon styling */
.mystery-icon {
  opacity: 0.7;
  filter: blur(0.5px);
}

.first-mystery .mystery-icon {
  filter: blur(0px);
}

.second-mystery .mystery-icon {
  filter: blur(0.5px);
}

.third-mystery .mystery-icon {
  filter: blur(1px);
}

.fourth-mystery .mystery-icon {
  filter: blur(1.5px);
}

/* Blurred text effect */
.blurred-text {
  color: transparent;
  text-shadow: 0 0 8px rgba(0,0,0,0.5);
  opacity: 0.7;
  filter: blur(3px);
}

.first-mystery .blurred-text {
  filter: blur(2px);
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.second-mystery .blurred-text {
  filter: blur(3px);
  text-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.third-mystery .blurred-text {
  filter: blur(4px);
  text-shadow: 0 0 7px rgba(0,0,0,0.3);
}

.fourth-mystery .blurred-text {
  filter: blur(5px);
  text-shadow: 0 0 8px rgba(0,0,0,0.2);
}

/* CTA styling */
.filosofi-cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.5rem;
  position: relative;
  z-index: 3;
}

.discover-more-text {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
  text-align: center;
  max-width: 80%;
}

.filosofi-cta:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.filosofi-cta-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.filosofi-cta:hover .filosofi-cta-icon {
  transform: translateX(3px);
}

.mystery-card:hover .blurred-text {
  filter: blur(2px);
}

.mystery-card:hover .mystery-icon {
  filter: blur(0);
}

/* Make sure the values grid maintains its layout */
@media (max-width: 768px) {
  .mystery-overlay {
    height: 60%;
  }
  
  .discover-more-text {
    max-width: 100%;
  }
}


/* CSS for feature icons in program tabs */

/* Set up the feature icon containers */
.feature-card .feature-icon {
  width: 50px;
  height: 50px;
  background-color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: white;
  box-shadow: none;
}

/* Style the SVG icons */
.feature-card .feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Remove any translation effects */
.feature-card:hover,
.feature-card:hover .feature-icon {
  transform: none !important;
}

.feature-card {
  transition: box-shadow 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}