/*
Theme Name: TrustCom
Description: Modern, professional WordPress theme for TrustCom - inspired by minimalist design principles
Version: 1.0
Author: TrustCom
*/

/* CSS Variables for TrustCom Theme */
:root {
  --background-cream: #fffefa;
  --background-white: #fffefa;
  --primary-color: #153243;
  --secondary-color: #14b1ef;
  --text-dark: #333;
  --text-light: #666;
  --background-light: #f8f9fa;
  --accent-orange: #fe7f2d;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #fffefa !important;
}

/* WORDPRESS OVERRIDES - FORCE CORRECT BACKGROUND */

.entry-content,
.site-main,
article,
.page {
  background-color: #fffefa !important;
  background: #fffefa !important;
}

/* ADMIN BAR AND OTHER WORDPRESS ELEMENTS */

/* GLOBAL BACKGROUND COLOR OVERRIDE - HIGHEST PRIORITY */
html,
body,
#page,
#main,
.site,
.site-content {
  background-color: #fffefa !important;
  background: #fffefa !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  background-color: #fffefa !important;
}

/* Hero Section - Main Visual Impact */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
  position: relative;
  color: white;
}

.hero-content {
  max-width: 1400px;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Header/Navigation - Clean BYN Style */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 3rem;
  background: transparent;
  transition: all 0.3s ease;
}

/* Force scrolled state when there's no hero section */

.site-header.scrolled {
  background: rgba(255, 254, 250, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 3rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
}

.logo {
  text-decoration: none;
  z-index: 1002;
}

.logo-image {
  height: 42px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switcher {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.lang-link {
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 3px;
  width: 70px;
  height: 60px;
}

.lang-link:hover {
  transform: translateY(-1px);
}

.lang-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.site-header.scrolled .lang-link {
  color: var(--text-dark) !important;
}

.site-header.scrolled .lang-link:hover {
  background: rgba(0, 0, 0, 0.1) !important;
  color: var(--text-dark) !important;
}

.lang-text {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  color: white;
  font-family: "Figtree", sans-serif;
  letter-spacing: 0.5px;
}

.site-header.scrolled .lang-text {
  color: var(--text-dark) !important;
}

.menu-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  padding: 15px;
  z-index: 1002;
  position: relative;
  transition: all 0.3s ease;
  width: 70px;
  height: 60px;
  justify-content: center;
  align-items: center;
  /* Ensure visibility over everything */
  visibility: visible !important;
  opacity: 1 !important;
  /* Make it more prominent */
  border-radius: 6px;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.menu-toggle:hover span {
  background: rgba(161, 224, 249, 1) !important;
}

.site-header.scrolled .menu-toggle:hover span {
  background: rgba(21, 50, 67, 1) !important;
}

.menu-toggle span {
  width: 32px;
  height: 3px;
  background: #14b1ef !important;
  transition: all 0.3s ease;
  display: block !important;
  border-radius: 2px;
}

/* Menu toggle - black when header is scrolled (white background) */
.site-header.scrolled .menu-toggle span {
  background: #000 !important;
}

.site-header.scrolled .menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Navigation Menu - BYN Style Fullscreen Overlay */
.main-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(21, 50, 67, 0.97); /* Prussian Blue from brandbook - increased opacity */
  backdrop-filter: blur(25px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.main-navigation.menu-open {
  opacity: 1;
  visibility: visible;
}

.menu-overlay-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease 0.1s;
}

.main-navigation.menu-open .menu-overlay-content {
  opacity: 1;
  transform: translateY(0);
}

.menu-navigation {
  text-align: center;
  margin-bottom: 3rem;
}

.menu-navigation h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "Figtree", sans-serif;
}

.main-navigation .nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.main-navigation .nav-menu li {
  margin: 2rem 0;
}

.main-navigation .nav-menu a {
  color: white;
  text-decoration: none;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  display: block;
  padding: 1rem 0;
  transition: all 0.3s ease;
  font-family: "Figtree", sans-serif;
  position: relative;
}

/* Override for 3-column menu links - make them smaller */
.nav-menu-columns .nav-column-list a {
  font-size: 1rem !important;
  font-weight: 400 !important;
  padding: 0.1rem 0 !important;
}

.main-navigation .nav-menu a:hover {
  color: #a1e0f9;
  transform: translateX(10px);
}

/* 3-Column Menu Layout + English Section */
.nav-menu-columns {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  text-align: center;
}

.nav-main-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.nav-column {
  min-height: auto;
  text-align: center;
}

.nav-column-title {
  font-size: 2rem;
  font-weight: 700;
  color: #a1e0f9;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Figtree", sans-serif;
  cursor: default;
}

.nav-column-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-column-list li {
  margin-bottom: 0.3rem;
}

.nav-column-list a {
  font-size: 1rem;
  font-weight: 400;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 0.8rem 1.5rem;
  font-family: "Figtree", sans-serif;
  white-space: nowrap;
}

.nav-column-list a:hover {
  color: #a1e0f9;
  transform: translateX(10px);
}

/* English Section Styling */

/* Responsive adjustments for 3-column menu */

/* Responsive menu adjustments */

/* Hamburger Animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
  transition: all 0.4s ease;
  background: #fffefa !important; /* Vitt kryss när menyn är öppen */
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
  transition: all 0.4s ease;
  background: #fffefa !important; /* Vitt kryss när menyn är öppen */
}

/* Force white hamburger lines when menu is active (open) */
.menu-toggle.active span {
  background: #fffefa !important;
}

/* Prevent scrolling when menu is open */
body.menu-open {
  overflow: hidden;
}

body.menu-open .logo {
  color: white !important;
}

body.menu-open .logo-image {
  filter: brightness(0) invert(1) !important;
}

/* Force no underlines on any Anlita TrustCom links */
a[href*="anlita-trustcom"] {
  text-decoration: none !important;
  padding: 40px 80px !important;
  font-size: 1.3rem !important;
}

a[href*="anlita-trustcom"]:hover {
  text-decoration: none !important;
}

/* Floating Scroll Indicator - Clean Arrow Only */

/* Content Sections */
.content-section {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Services Section */

/* Services Overview - PPT Slide 5 Styling */

.service-header {
  margin-bottom: 3rem;
}

.service-tag {
  background: #153243; /* Prussian Blue from brandbook */
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

a {
  color: var(--accent-orange); /* Pumpkin Orange from brandbook */
}
a:hover {
  color: #153243;
}

/* References Section */
.references {
  background: #2c3e50;
  color: white;
}

/* About Jonas Section */

.jonas-image {
  width: 100%;
  border-radius: 8px;
}

/* Footer */
.site-footer {
  background: #2c3e50;
  color: white;
  text-align: center;
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-contact a {
  color: #3498db;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-contact a:hover {
  color: #a1e0f9;
  transform: translateY(-2px);
}

/* Responsive Design */

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Contact HUD Bar - Simplified */
.contact-hud-bar {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(21, 50, 67, 0.1);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(21, 50, 67, 0.1);
  z-index: 9999;
  transition: all 0.3s ease;
  font-family: "Figtree", sans-serif;
  opacity: 0;
  transform: translateY(20px);
  white-space: nowrap;
}

.contact-hud-bar.hud-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-hud-bar:hover {
  box-shadow: 0 6px 25px rgba(21, 50, 67, 0.15);
}

.hud-simple-container {
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.hud-name {
  font-weight: 600;
  color: var(--primary-color);
}

.hud-separator {
  color: var(--text-light);
  opacity: 0.6;
}

.hud-simple-link {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.hud-simple-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Responsive Design */

/* CTA Button Style */
.cta-button {
  display: inline-block;
  padding: 15px 30px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  background: #fffefa;
  color: #2c3e50;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Page Content Styles */
.content-area {
  margin-top: 80px;
  min-height: 70vh;
}

/* Global header consistency for main page sections */

h1.service-title,
h1.conviction-title,
h1.engagemang-title,
h1.jonas-title,
h1.references-title,
h1.english-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: var(--text-dark) !important;
  font-family: "Figtree", sans-serif !important;
  text-align: center !important;
  margin-bottom: 1.5rem !important;
}

/* Universal hero section positioning - no page-specific targeting */
.hero-section {
  margin-top: -80px !important;
}

.content-section {
  padding: 40px 0;
  background: #fffefa;
}

.content-section h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.conviction-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 4rem !important;
}

.conviction-header {
  text-align: center;
  margin-bottom: 2rem !important;
}

.page-breadcrumb {
  margin-bottom: 1rem;
}

.breadcrumb-item {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 400;
  font-family: "Figtree", sans-serif;
}

.breadcrumb-arrow {
  color: var(--secondary-color);
  font-weight: 500;
  margin: 0 0.8rem;
}

.breadcrumb-current {
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  font-family: "Figtree", sans-serif;
}

.conviction-title {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: var(--text-dark) !important;
  margin: 0 0 1rem 0 !important;
  font-family: "Figtree", sans-serif !important;
}

/* Reduce spacing in conviction section paragraphs */
.conviction-intro {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 1rem !important;
  font-family: "Figtree", sans-serif;
  font-weight: 500;
}

/* Ultra specific rules for erbjudande page Extra kraft section */
#anlita-trustcom .conviction-header {
  margin-bottom: 2rem !important;
}

#anlita-trustcom .conviction-title {
  margin-bottom: 0.8rem !important;
}

#anlita-trustcom .conviction-intro {
  margin-bottom: 1rem !important;
}

/* Simple two-column layout for Övertygelse page - text left, logo right */
.conviction-content-simple {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.conviction-text-column {
  text-align: left;
}

.conviction-text-column p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-family: "Figtree", sans-serif;
}

.highlight-trust {
  color: #14b1ef !important;
  font-weight: 700 !important;
}

.highlight-com {
  color: #14b1ef !important;
  font-weight: 700 !important;
}

.signature-simple {
  text-align: right !important;
  margin-top: 1rem;
  padding-top: 0;
  /* border-top removed as requested */
}

/* Jonas signatur ovanför citatet */

.signature-simple .signature-text {
  font-style: italic;
  font-weight: 600;
  color: var(--primary-color);
  font-size: inherit;
  font-family: "Figtree", sans-serif;
}

.conviction-logo-column {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  padding-top: 0;
}

.conviction-logo-wrapper {
  text-align: center;
  max-width: 280px;
  width: 100%;
}

.conviction-vertical-logo {
  width: 100%;
  height: auto;
  max-width: 280px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

/* Responsive styles for conviction page */

.engagemang-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.engagemang-header {
  text-align: center;
  margin-bottom: 3rem;
}

.breadcrumb-arrow {
  color: var(--secondary-color);
  font-weight: 500;
  margin: 0 0.5rem;
}

.engagemang-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-family: "Figtree", sans-serif;
}

.engagemang-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 1rem 0 0 0;
  font-family: "Figtree", sans-serif;
  text-align: center;
  max-width: 1300px;
  margin: 1rem auto 0 auto;
}

/* Engagement categories grid layout */
.engagement-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
}

.engagement-category {
  background: #fffefa;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  height: fit-content;
}

.engagement-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(21, 50, 67, 0.1);
}

.engagement-category h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-family: "Figtree", sans-serif;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.engagement-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.engagement-details p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
  font-family: "Figtree", sans-serif;
}

.engagement-details p strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Performance metrics styling */

/* CTA Section */

/* CTA Button wrapper and label */

/* CTA Section - EXACT clone of hero-cta-simple with dark colors */
.hero-cta-simple {
  margin-top: 2rem;
  text-align: left;
}

/* Mobile responsive */

.testimonials-ppt-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 4rem;
}

/* Hero image section */

/* Main quote section - large centered */

/* Testimonials carousel layout */
.testimonials-carousel {
  margin: 2rem 0;
  padding: 1rem 0;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
}

/* Navigation arrows */

.carousel-arrow {
  background: rgba(21, 50, 67, 0.8);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: auto;
  z-index: 10;
}

.carousel-arrow:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

.carousel-prev {
  margin-left: -20px;
}

.carousel-next {
  margin-right: -20px;
}

/* Navigation dots */

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.dot:hover {
  background: var(--text-light);
  transform: scale(1.1);
}

.dot.active {
  background: var(--secondary-color);
  transform: scale(1.2);
}

/* Compact evaluation scores */

/* Main testimonials grid */

.quote-content {
  opacity: 1 !important;
  transform: none !important;
}

.quote-content p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-family: "Figtree", sans-serif;
  quotes: '"' '"';
}

.quote-content p::before {
  content: open-quote;
  font-size: 1.5em;
  color: var(--secondary-color);
}

.quote-content p::after {
  content: close-quote;
  font-size: 1.5em;
  color: var(--secondary-color);
}

/* Evaluation scores section */

.score-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.7rem;
  font-family: "Figtree", sans-serif;
}

.score-label {
  font-size: 0.8rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Figtree", sans-serif;
}

/* Additional testimonials */

/* Responsive styles for testimonials PPT page */

/* Universal support section styles - replaces support-page-section */

/* TrustCom Philosophy Section - Enhanced with more impact */
.trustcom-philosophy-section {
  padding: 6rem 3rem;
  margin: 5rem 0;
  position: relative;
}

.philosophy-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.philosophy-left {
  text-align: left;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.philosophy-description {
  max-width: 600px;
}

.philosophy-description p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #153243;
  margin-bottom: 1.8rem;
  font-weight: 400;
}

.philosophy-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.philosophy-list li {
  margin-bottom: 1.2rem;
  padding-left: 1.2rem;
  position: relative;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #153243;
  font-family: "Figtree", sans-serif;
}

.philosophy-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: white !important;
  font-size: 1.2rem;
}

.philosophy-list li span {
  font-weight: 600;
}

.philosophy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.philosophy-description p:hover {
  color: var(--primary-color);
}

.philosophy-list {
  margin: 2rem 0;
  padding-left: 2rem;
  list-style: none;
}

.philosophy-list li {
  margin-bottom: 1.5rem;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft 0.6s ease forwards;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 500;
  padding: 1rem 0;
  border-left: 3px solid transparent;
  padding-left: 1rem;
}

.conviction-container .philosophy-list li:nth-child(1) {
  animation-delay: 0.3s;
}
.conviction-container .philosophy-list li:nth-child(2) {
  animation-delay: 0.4s;
}
.conviction-container .philosophy-list li:nth-child(3) {
  animation-delay: 0.5s;
}
.conviction-container .philosophy-list li:nth-child(4) {
  animation-delay: 0.6s;
}
.conviction-container .philosophy-list li:nth-child(5) {
  animation-delay: 0.7s;
}

.philosophy-list li::before {
  content: "▶";
  color: var(--secondary-color);
  font-weight: bold;
  position: absolute;
  left: -2rem;
  font-size: 1.4rem;
}

/* Keyframes for animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Strategi Page Layout - Ultra compact version */
.strategi-top-row {
  display: flex;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 0rem auto;
  padding: 0;
  align-items: flex-start;
}

.strategi-subtitle-section {
  flex: 1;
  text-align: left;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 60px;
  padding: 0;
}

.strategi-tag-wide {
  flex: 1;
  text-align: center;
}

/* Make Strategi tag same width as subtitle (50/50 split) */
.strategi-tag-wide .service-tag {
  background: #153243;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  margin: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  height: 40px;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.strategi-offering-narrow {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.strategi-main-text {
  flex: 1;
}

/* Restore normal font sizes but adjust spacing for square layout */
.strategi-main-text p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}

.strategi-main-text .intro-text {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.strategi-main-text .challenge-list {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.strategi-main-text .challenge-list li {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.strategi-main-text .next-step {
  font-size: 1.1rem;
  margin: 1.5rem 0 0 0;
  font-weight: 600;
}

/* Adjust bottom row spacing to align heights */

/* Make offering box taller to reach closer to top text */
.strategi-offering-narrow .service-offering {
  background: var(--primary-color);
  color: white;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Make offering box shorter/more compact */
.strategi-offering-narrow .service-offering {
  background: var(--primary-color);
  color: white;
  padding: 1.2rem;
  border-radius: 8px;
}

.strategi-offering-narrow .offering-label {
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.strategi-offering-narrow .offering-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* New horizontal layout for strategi */

.strategi-subtitle {
  color: var(--primary-color);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.4;
  font-family: "Figtree", sans-serif;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.next-step {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.offering-label {
  color: var(--accent-orange) !important;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Removed conflicting CTA section rule that was overriding the main CTA */

/* Enhanced contact CTA for support page - more prominent and indented */

/* Main page CTA section - white background */

@keyframes fadeInRotate {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

/* Målstyrning Page Layout - Ultra compact version */
.malstyrning-top-row {
  display: flex;
  gap: 2rem;
  max-width: 1400px;
  padding: 0;
  align-items: flex-start;
}

.malstyrning-subtitle-section {
  flex: 1;
  text-align: left;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 60px;
  padding: 0;
}

.malstyrning-tag-wide {
  flex: 1;
  text-align: center;
}

.malstyrning-tag-wide .service-tag {
  background: #153243;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  margin: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  height: 40px;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.malstyrning-offering-narrow {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.malstyrning-main-text {
  flex: 1;
}

.malstyrning-offering-narrow .service-offering {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.malstyrning-offering-narrow .offering-label {
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.malstyrning-offering-narrow .offering-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.malstyrning-main-text p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}

.malstyrning-main-text .intro-text {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.malstyrning-main-text .benefits-list {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

.malstyrning-main-text .next-step {
  font-size: 1.1rem;
  margin: 1.5rem 0 0 0;
  font-weight: 600;
}

/* Kommunikation Page Layout - Ultra compact version */
.kommunikation-top-row {
  display: flex;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 0rem auto;
  padding: 0;
  align-items: flex-start;
}

.kommunikation-subtitle-section {
  flex: 1;
  text-align: left;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 60px;
  padding: 0;
}

.kommunikation-tag-wide {
  flex: 1;
  text-align: center;
}

.kommunikation-tag-wide .service-tag {
  background: #153243;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  margin: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  height: 40px;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.kommunikation-offering-narrow {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.kommunikation-main-text {
  flex: 1;
}

.kommunikation-offering-narrow .service-offering {
  background: var(--primary-color);
  color: white;
  padding: 1.2rem;
  border-radius: 8px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kommunikation-offering-narrow .offering-label {
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.kommunikation-offering-narrow .offering-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.kommunikation-main-text p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.kommunikation-main-text .intro-text {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.kommunikation-main-text .next-step {
  font-size: 1.1rem;
  margin: 1.5rem 0 0 0;
  font-weight: 600;
}

/* Responsive for Målstyrning */

/* Responsive for Kommunikation */

/* Detailed core areas section */

/* Integration section */

/* Call to action section */

/* Responsive styles for support page */

/* Support page responsive styles */

.service-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 4rem;
}

.service-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-breadcrumb {
  margin-bottom: 1rem;
}

.breadcrumb-item {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 400;
  font-family: "Figtree", sans-serif;
}

.breadcrumb-arrow {
  color: var(--secondary-color);
  font-weight: 500;
  margin: 0 0.8rem;
}

.breadcrumb-current {
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  font-family: "Figtree", sans-serif;
}

.service-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-family: "Figtree", sans-serif;
  text-align: center;
}

.service-content {
  max-width: 1400px;
  margin: 0 auto;
}

.intro-text {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-family: "Figtree", sans-serif;
}

.highlight-box {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
  margin: 2rem 0;
}

.highlight-text {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: var(--primary-color) !important;
  margin: 0 !important;
  text-align: center;
  font-family: "Figtree", sans-serif;
}

.service-offering {
  background: var(--primary-color);
  color: white;
  padding: 3rem 2.5rem;
  border-radius: 12px;
}

.service-offering h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1.5rem;
  font-family: "Figtree", sans-serif;
}

.offering-description {
  font-size: 1.1rem !important;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95) !important;
  margin: 0 !important;
  font-family: "Figtree", sans-serif;
}

/* Responsive styles for service detail pages */

/* Hire (Anlita TrustCom) Page Styles */

/* Hire CTA Section */

.contact-details p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0;
}

.contact-details strong {
  color: var(--secondary-color);
}

.jonas-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.jonas-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-family: "Figtree", sans-serif;
}

/* New two-column layout for Jonas page */
.jonas-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  align-items: start;
}

.bio-first-paragraph {
  margin-top: 3rem !important;
  padding-top: 1rem;
}

.jonas-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.jonas-profile-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  max-height: 700px;
  object-fit: cover;
}

/* Horizontal Timeline Section */
.career-timeline-section {
  margin-top: 4rem;
  border-top: 2px solid var(--background-light);
}

.career-timeline-section h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-weight: 600;
  font-family: "Figtree", sans-serif;
  text-align: center;
}

.timeline-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 0;
  position: relative;
  flex-wrap: nowrap;
}

.timeline-horizontal::before {
  content: "";
  position: absolute;
  top: 3rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--secondary-color);
  z-index: 1;
}

.timeline-horizontal .timeline-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-horizontal .timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-color);
  background: #fffefa;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  margin-bottom: 1rem;
  border: 2px solid var(--secondary-color);
  font-family: "Figtree", sans-serif;
  display: inline-block;
  position: relative;
  z-index: 3;
}

.timeline-horizontal .timeline-content {
  text-align: center;
}

.timeline-horizontal .timeline-item.current .timeline-year {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

.references-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.references-header {
  margin-bottom: 5rem;
}

.references-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-family: "Figtree", sans-serif;
}

.references-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  align-items: start;
}

.final-quote {
  font-weight: 500;
  color: var(--primary-color) !important;
}

.final-quote::after {
  content: none;
}

.references-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Enhanced English Page Styles */
.english-page-section {
  padding: 40px 0;
  background: #fffefa;
}

.english-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.english-header {
  text-align: center;
  margin-bottom: 5rem;
}

.english-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-family: "Figtree", sans-serif;
}

.english-intro {
  max-width: 1300px;
  margin: 0 auto;
}

.english-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-family: "Figtree", sans-serif;
}

.english-content {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.overview-header {
  text-align: center;
  margin-bottom: 3rem;
}

.overview-header h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-family: "Figtree", sans-serif;
}

.overview-intro {
  font-size: 1.2rem;
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto;
  font-family: "Figtree", sans-serif;
}

.services-grid-english {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 4rem 0;
}

.service-card-english {
  text-align: center;
  padding: 3rem 2rem;
  background: #fffefa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.service-card-english:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(21, 50, 67, 0.1);
}

.service-tag-english {
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Figtree", sans-serif;
}

.service-card-english h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
  font-family: "Figtree", sans-serif;
}

.goal-summary {
  text-align: center;
  margin: 3rem 0;
}

.goal-summary p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-family: "Figtree", sans-serif;
}

.english-cta {
  text-align: center;
  background: var(--background-light);
  padding: 3rem 2rem;
  border-radius: 12px;
}

.english-cta h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-family: "Figtree", sans-serif;
}

.partner-message-english {
  background: var(--primary-color);
  color: white;
  padding: 4rem 3rem;
  border-radius: 12px;
  text-align: center;
}

.partner-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 2rem;
  font-family: "Figtree", sans-serif;
}

.partner-description {
  max-width: 700px;
  margin: 0 auto 3rem;
}

.partner-description p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  font-family: "Figtree", sans-serif;
}

.services-label h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin: 0;
  font-family: "Figtree", sans-serif;
}

/* Responsive styles for new sections */

/* Welcome Section - Bridge between hero and services */

/* REMOVED: orange-highlight styling - "Anlita TrustcoM" ska vara som vanlig text */

/* REMOVED: Orange styling for "Anlita TrustcoM" - ska vara som vanlig länk */

.nav-column-list a[href*="anlita-trustcom"]:hover {
  /* Inga speciella stilar - använd standard hover-styling */
  color: #fffefa !important;
}

/* Enhanced Page Headers for Combined Pages */
.section-nav {
  background: linear-gradient(135deg, #153243 0%, #1a3d50 100%);
  padding: 60px 0 40px;
  margin-bottom: 0;
}

/* Responsive adjustments */

/* Hide empty testimonials header when in content-only mode */
.testimonials-ppt-header:empty {
  display: none;
}

/* Ensure first section doesn't have excessive top margin */

/* Carousel button styling for andra tycker */
.testimonials-carousel {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
}

.carousel-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  display: block;
  opacity: 1;
}

.carousel-prev,
.carousel-next {
  background: rgba(21, 50, 67, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 15;
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
}

.carousel-prev:hover,
.carousel-next:hover,
.carousel-prev:focus,
.carousel-next:focus {
  background: rgba(254, 127, 45, 0.9);
  transform: scale(1.1);
  outline: none;
}

.carousel-prev:active,
.carousel-next:active {
  transform: scale(0.95);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(21, 50, 67, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 15;
  user-select: none;
}

.dot:hover {
  background: rgba(21, 50, 67, 0.6);
}

.dot.active {
  background: rgba(254, 127, 45, 0.9);
  transform: scale(1.2);
}

/* Ensure carousel content doesn't interfere with buttons */

/* Linked Testimonials Carousel - New Structure */
.linked-testimonials-carousel {
  position: relative;
  max-width: 1400px;
  margin: 3rem auto;
  padding: 2rem 0;
}

.linked-testimonials-carousel .carousel-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.linked-testimonials-carousel .carousel-slide.active {
  display: block;
  opacity: 1;
}

/* Individual testimonial image - Full width with overlay */

/* Quote styling for linked carousel - Overlay */

/* Individual testimonial stat - Bottom overlay */

/* Evaluation info section */

/* Unified button style based on hero CTA link */

.cta-button,
.cta-button.primary,
.cta-button.secondary {
  display: inline-block;
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: "Figtree", sans-serif;
  background: transparent;
}

.cta-button:hover,
.cta-button.primary:hover,
.cta-button.secondary:hover {
  color: white !important;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

/* Special styling for buttons on light backgrounds */

/* Unified Section Header Styling - Always Centered */

/* Unified Bullet Point Styling */

.philosophy-list,
.challenge-list,
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.philosophy-list li,
.challenge-list li,
.benefits-list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.5rem;
}

.philosophy-list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.5rem;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
  font-family: "Figtree", sans-serif;
}

.philosophy-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: #14b1ef;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.6;
}

.challenge-list li::before,
.benefits-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: #14b1ef;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1.6;
}

.challenge-list li,
.benefits-list li {
  padding-left: 1.5rem;
}

.challenge-list p,
.benefits-list p {
  margin-bottom: 0 !important;
}

/* Company logo placeholders for career timeline */
.timeline-logo {
  margin-bottom: 1rem;
}

/* Real company logos styling */
.company-logo {
  width: 120px;
  height: 50px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: var(--background-light);
  padding: 8px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  margin: 0 auto;
  display: block;
}

.company-logo:hover {
  background: rgba(20, 177, 239, 0.05);
  transform: scale(1.05);
}

/* Remove the old timeline-company class since we're replacing it with logos */

/* Erbjudande Header Section */

/* Ensure services overview section flows well after header */

/* Service cards should remain Baby Powder White for better contrast and restore original size */

/* Ensure all card-like elements remain Baby Powder White for better contrast */
.engagement-category,
.timeline-item {
  background: #fffefa !important;
}

.engagement-category:hover {
  background: #fffefa !important;
}

/* Rolling quotes section styling */
/* Testimonials main quote - now a title without background */
.testimonials-main-quote {
  text-align: center;
  margin: 3rem 0 2rem 0;
  padding: 0;
  background: none;
  border-radius: 0;
  position: relative;
  min-height: auto;
  display: block;
}

.testimonials-main-quote h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.2;
  font-style: italic;
  font-family: "Figtree", sans-serif;
}

.quote-mark-blue {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--secondary-color);
  font-family: serif;
  line-height: 1;
  vertical-align: top;
  margin: 0 0.2rem;
}

/* Combined testimonials with background images - COMPLETE REDESIGN */
.testimonials-combined-section {
  margin: 3rem 0;
  padding: 0 2rem;
}

.testimonials-carousel {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(21, 50, 67, 0.25);
  height: 500px;
  background: linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
  padding: 0;
  border: none;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(20px);
  overflow: hidden;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.group-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.group-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15% !important;
  filter: brightness(0.8);
  display: block;
}

.quote-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(21, 50, 67, 0.18) 0%, rgba(15, 20, 25, 0.12) 40%, rgba(21, 50, 67, 0.18) 100%);
  z-index: 2;
  align-items: flex-end;
  display: flex;
}

.quote-container {
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  padding: 2rem 4rem;
  padding-bottom: 6rem;
  z-index: 2;
}

/* ===== TESTIMONIALS - FINAL CONSISTENT DESIGN ===== */

/* CORE CONTAINER */
.quote-content {
  color: white !important;
  position: relative;
  max-width: 100%;
  padding: 1.5rem !important;
  margin: 0 !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 200px;
}

/* UNIFIED QUOTE CONTAINER */
.unified-quote {
  display: flex !important;
  flex-direction: column !important;
  gap: 4rem !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  text-align: left !important;
  width: 100% !important;
}

/* QUOTE PARTS - ABSOLUTE UNIFORMITY */
.testimonials-combined-section .quote-part,
.testimonials-carousel .quote-part,
.testimonial-slide .quote-part,
.quote-overlay .quote-part,
.quote-content .quote-part {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Figtree", sans-serif !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

/* OLD RULE REMOVED - USING NEW UNIFORM STYLING */

/* OLD CITATTECKEN RULES REMOVED - USING NEW UNIFORM RULES */

/* OLD RULE REMOVED - USING NEW UNIFORM STYLING */

/* ABSOLUTE OVERRIDES - NO CONFLICTS */

/* GLOBAL TESTIMONIALS RESET */
.testimonials-combined-section *,
.testimonials-carousel *,
.testimonial-slide *,
.quote-overlay *,
.quote-content *,
.unified-quote * {
  box-sizing: border-box !important;
}

/* SPECIFIC RESETS FOR QUOTE PARTS */
.quote-part.highlight,
.quote-part.secondary {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* TEXT OPTIMIZATION */
.quote-content,
.unified-quote,
.quote-part {
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* OLD RULES REMOVED - USING NEW UNIFORM STYLING */

/* ======================================
   ULTIMAT TESTIMONIALS ÖVERVÄLDNING FIX
   Denna sektion SKA ALDRIG ÄNDRAS!
   ====================================== */

/* SUPER HIGH SPECIFICITY - BEATS ALL WORDPRESS CORE STYLES */
/* OLD RULE REMOVED - USING NEW UNIFORM STYLING */

/* OLD RULE REMOVED - USING NEW UNIFORM STYLING */

/* OLD CITATTECKEN NUCLEAR RULES REMOVED - USING NEW UNIFORM RULES */

/* ÖVERVÄLDNING AV WORDPRESS CORE BLOCKS */
html body div.testimonials-combined-section,
html body div.testimonials-carousel,
html body .testimonial-slide,
html body [class*="testimonial"],
html body [class*="quote"] {
  font-family: "Figtree", sans-serif !important;
}

/* DESTROY ALL WORDPRESS CONFLICTING STYLES FOR QUOTES */

html body .testimonials-combined-section p,
html body .testimonials-carousel p,
html body .testimonial-slide p,
html body [class*="testimonial"] p,
html body [class*="quote"] p {
  font-style: normal !important;
  font-weight: normal !important;
  font-size: inherit !important;
  line-height: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ================================================
   ✨ FINAL PERFECT TESTIMONIALS DESIGN ✨
   ================================================ */

/* ALLA CITAT SER EXAKT LIKADANA UT */
span.quote-part.highlight,
span.quote-part.secondary {
  display: block !important;
  font-weight: 500 !important;
  font-style: normal !important;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem) !important;
  color: #fffefa !important;
  text-align: left !important;
  font-family: "Figtree", sans-serif !important;
  line-height: 1.4 !important;
  margin: 0 0 1rem 0 !important;
  padding: 0 !important;
  text-rendering: optimizeLegibility !important;
}

span.quote-part.secondary {
  font-style: italic !important;
}

/* CITATTECKEN PÅ ALLA CITAT - STARK BLÅ FÄRG */
span.quote-part.highlight::before,
span.quote-part.secondary::before {
  content: '"' !important;
  opacity: 1 !important;
  font-style: normal !important;
  color: #14b1ef !important;
  font-weight: bold !important;
}

span.quote-part.highlight::after,
span.quote-part.secondary::after {
  content: '"' !important;
  opacity: 1 !important;
  font-style: normal !important;
  color: #14b1ef !important;
  font-weight: bold !important;
}

/* VÄNSTER-HÖGER LAYOUT */
.unified-quote {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* RESPONSIVE - MOBIL STACKS VERTIKALT */

.quote-score {
  background: linear-gradient(135deg, #fffefa 0%, #f8f9fa 100%);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  min-width: 220px;
  width: 220px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(20, 177, 239, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  margin-left: 1.5rem;
  flex-shrink: 0;
  align-self: end;
}

.quote-score::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(20, 177, 239, 0.05) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.quote-score:hover::before {
  transform: translateX(100%);
}

.score-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.7rem;
  line-height: 0.9;
  font-family: "Figtree", sans-serif;
  letter-spacing: -0.03em;
  filter: drop-shadow(0 2px 4px rgba(20, 177, 239, 0.3));
}

.score-number-total {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--secondary-color);
  margin-bottom: 0.7rem;
  line-height: 0.9;
  font-family: "Figtree", sans-serif;
}

.score-label {
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--text-dark);
  font-weight: 600;
  font-family: "Figtree", sans-serif;
  text-align: center;
}

/* Force "Ämne:" label to break before topic text */
.score-label-title::after {
  content: "\A";
  white-space: pre;
}

.score-label-subtext {
  font-size: 0.6rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.score-label-title {
  color: var(--accent-orange);
  font-weight: 600;
  font-family: "Figtree", sans-serif;
}

/* Testimonials navigation arrows - REDESIGNED */
.carousel-arrow {
  position: absolute;
  bottom: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(20, 177, 239, 0.1);
  backdrop-filter: blur(12px);
}

.carousel-arrow:hover {
  background: linear-gradient(135deg, #fffefa 0%, #fffefa 100%);
  transform: scale(1.1) translateY(-2px);
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(20, 177, 239, 0.3);
}

.carousel-arrow-left {
  left: calc(50% - 140px);
}

.carousel-arrow-right {
  right: calc(50% - 140px);
}

/* Navigation dots - REDESIGNED */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  padding: 1rem;
  z-index: 1;
  position: relative;
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  backdrop-filter: blur(8px);
}

.testimonial-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--secondary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.testimonial-dot.active::before,
.testimonial-dot:hover::before {
  width: 8px;
  height: 8px;
}

.testimonial-dot.active,
.testimonial-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.3);
  border-color: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(20, 177, 239, 0.4), 0 0 0 4px rgba(20, 177, 239, 0.1);
}

/* Responsive adjustments - REDESIGNED */

/* Responsive adjustments for quotes and images */

/* Universal content section styles - replaces om-hero-section */

.page-section {
  background: #fffefa;
  min-height: auto;
  display: flex;
  align-items: center;
}

/* Orange text utility class - now blue for philosophy section */

/* Blue text utility class */

/* Dark CTA button for light backgrounds */

/* Mobile language switcher */
.mobile-language-switcher {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang-link {
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-lang-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.mobile-lang-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  font-family: "Figtree", sans-serif;
  letter-spacing: 0.5px;
}
/* CSS CACHE BUSTER - Thu Jul 31 17:52:23 CEST 2025 */
/* FINAL CSS UPDATE - Thu Jul 31 17:56:06 CEST 2025 */
/* CITATTECKEN FIX APPLIED - Thu Jul 31 18:00:32 CEST 2025 */
/* NAVBAR FIXES APPLIED - Thu Jul 31 18:06:43 CEST 2025 */

/* ===================================
   QUOTE BACKGROUND COMPONENT
   ================================= */

.quote-background-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.conviction-quote-bg.quote-background-wrapper {
  padding-left: 8rem;
}

.quote-background-mark {
  position: absolute;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  color: #14b1ef;
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 0.5;
}

/* Conviction specific quote mark */
.conviction-quote-bg .quote-background-mark {
  opacity: 0.15 !important;
  z-index: 0 !important;
  font-size: 8rem !important;
}

/* Jonas quote background styling */
.jonas-quote-bg.quote-background-wrapper {
  padding-left: 6rem;
}

.jonas-quote-bg .quote-background-mark {
  opacity: 0.1 !important;
  z-index: 0 !important;
}

/* References quote background styling */
.references-quote-bg.quote-background-wrapper {
  padding-left: 6rem;
}

.references-quote-bg .quote-background-mark {
  opacity: 0.1 !important;
  z-index: 0 !important;
}

/* Position variants */

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 0.15;
    transform: translateX(0);
  }
}

/* Size variants */

.quote-background-content {
  position: relative;
  z-index: 1;
}

/* Comma sign image styling */
.comma-sign-image {
  width: auto;
  height: 10rem;
  max-width: none;
  display: block;
  filter: brightness(0) saturate(100%) invert(59%) sepia(93%) saturate(1453%) hue-rotate(174deg) brightness(95%) contrast(96%);
}

/* Size variants for image */

/* Responsive sizing */

/* ===================================
   END QUOTE BACKGROUND COMPONENT
   ================================= */
/* QUOTE BACKGROUND DEBUG - Thu Jul 31 18:17:45 CEST 2025 */
/* QUOTE MARK FIXED - Thu Jul 31 18:21:19 CEST 2025 */

/* ==========================================================================
   CLEAN HIRE SECTION - MINIMALIST DESIGN MATCHING IMAGE
   ========================================================================== */

.services-list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list-clean li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  padding-left: 1.2rem;
  position: relative;
}

.services-list-clean li::before {
  content: "•";
  color: var(--secondary-color);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: 0;
}

/* Responsive design for clean hire section */

/* ==========================================================================
   MAIN.CSS CONTENT - MODERN ORGANIZED STYLES
   ========================================================================== */

/**
 * TrustCom Main CSS
 * Modern styling for all sections following brand guidelines
 * 
 * @package TrustCom
 * @version 2.0
 */

/* ==========================================================================
   TYPOGRAPHY & BASE STYLES
   ========================================================================== */

body {
  font-family: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fffefa !important;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   NEW SECTIONS STYLING
   ========================================================================== */

/* Shared section styles */

/* Why TrustCom Section */

/* What is TrustCom Section */

/* Who is Behind Section */

.intro-text h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* Responsive Design for New Sections */

h1,
h2,
h3 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

p {
  margin: 0 0 1.5rem 0;
  color: var(--text-dark);
}

/* Logo Styles - Clean BYN Style with Color Swapping */
.logo {
  position: relative;
  display: inline-block;
}

.logo-image {
  height: 42px;
  width: auto;
  transition: opacity 0.3s ease;
}

.logo-image.desktop {
  height: 42px;
  width: auto;
}

.logo-image.mobile {
  height: 45px;
  width: auto;
  display: none;
}

/* Mobile logo variants removed: using horizontal logos also on mobile */
.logo-image.mobile.logo-mobile-vertical {
  display: none;
}
.logo-image.mobile.logo-mobile-symbol {
  display: none;
}

/* Default state - transparent header shows white logos */
.logo-white {
  opacity: 1;
}

.logo-black {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

/* Scrolled state - dark header shows black logos */
.site-header.scrolled .logo-white {
  opacity: 0 !important;
}

.site-header.scrolled .logo-black {
  opacity: 1 !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

/* Video Background */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: black;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
}

/* Image Background for hero sections */

/* Fullscreen background - only behind the support section, not whole page */
.page-fullscreen-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page-fullscreen-bg-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(2px);
}

.conviction-container .philosophy-description {
  color: white !important;
}

.philosophy-description-full-width {
  max-width: inherit;
}

.conviction-container .philosophy-list li {
  color: white !important;
  font-size: 1.2rem;
  line-height: 1.6;
  font-family: "Figtree", sans-serif;
  font-weight: 500;
}

.conviction-container .philosophy-list li span {
  color: white !important;
}

.conviction-container .philosophy-description p {
  color: white !important;
}

.conviction-container .trustcom-philosophy-section {
  padding: 0 !important;
  margin: 0 !important;
}

.conviction-container .philosophy-layout {
  display: flex !important;
}

.conviction-header {
  margin-bottom: 0px !important;
}

/* Conviction section (Valda sanningar) - text styling for visibility on dark background */
.conviction-page-section .conviction-title {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-family: "Figtree", sans-serif;
  text-align: center;
  text-shadow: 0 2px 4px rgba(21, 50, 67, 0.1);
}

/* Conviction section (Valda sanningar) - text styling for visibility on dark background */

.conviction-page-section .conviction-intro {
  font-size: 1.4rem;
  line-height: 1.6;
  color: white !important;
  max-width: none;
  margin: 0 auto;
  font-family: "Figtree", sans-serif;
  font-weight: 500;
}

.conviction-page-section .services-list-clean li {
  color: white !important;
  font-size: 1.3rem !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  margin-bottom: 1.2rem !important;
  padding-left: 1.5rem !important;
  position: relative !important;
}

.conviction-page-section .services-list-clean li::before {
  color: var(--secondary-color) !important;
}

.conviction-page-section .breadcrumb-current {
  color: rgba(255, 255, 255, 0.9) !important;
}

.conviction-page-section .breadcrumb-arrow {
  color: var(--accent-orange) !important;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.35) 100%);
  z-index: 2;
}

/* Hero Content - Left aligned but wider like BYN */
.hero-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 3rem;
}

.hero-content-wrapper-truths {
  justify-content: center;
}

.hero-content-wrapper-truths h1.conviction-title {
  color: white !important;
}

.hero-content-wrapper-truths .conviction-intro {
  color: white !important;
}

.hero-content {
  max-width: 1300px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: white;
  font-family: "Figtree", sans-serif;
  transition: opacity 0.5s ease, transform 1s ease;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: white;
  font-family: "Figtree", sans-serif;
}

.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 2rem 0;
  color: white;
  font-family: "Figtree", sans-serif;
}

/* Text Highlighting - BYN Style with Animations */
.highlight {
  position: relative;
  color: inherit;
}

/* Tasteful blue underline highlight for hero title - moved closer to text */
.highlight-underline {
  position: relative;
  background: linear-gradient(180deg, transparent 93%, rgba(20, 177, 239, 0.7) 93%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  padding: 0 2px;
  transition: background-size 0.8s ease-in-out;
}

.highlight-underline.animated {
  background-size: 100% 100%;
}

/* Box highlight with subtle background */
.highlight-box {
  background: rgba(161, 224, 249, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  transform: scale(1);
  transition: all 0.3s ease;
}

.highlight-box:hover {
  background: rgba(161, 224, 249, 0.25);
  transform: scale(1.02);
}

/* Border highlight - good for smaller text */
.highlight-border {
  position: relative;
  padding-bottom: 2px;
}

.highlight-border::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.6s ease-in-out;
}

.highlight-border.animated::after {
  width: 100%;
}

/* Hero CTA Simple - Minimal left-aligned link */
.hero-cta-simple {
  margin-top: 2rem;
  text-align: left;
}

.hero-cta-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.8);
  padding: 12px 24px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: "Figtree", sans-serif;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-cta-link:hover {
  color: white;
  border-color: white;
  background: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Legacy hero button - keep for backward compatibility */

/* ==========================================================================
   CASES SECTION - BYN Style Grid
   ========================================================================== */

/* ==========================================================================
   PHILOSOPHY SECTION - BYN Style Layout
   ========================================================================== */

.philosophy-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.philosophy-description p {
  margin-bottom: 1.5rem;
}

.highlight-text {
  color: var(--secondary-color);
  font-weight: 600;
}

.conviction-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  text-align: center;
}

/* ==========================================================================
   CORE AREAS SECTION
   ========================================================================== */

/* ==========================================================================
   ENGAGEMENTS SECTION
   ========================================================================== */

/* ==========================================================================
   REFERENCES SECTION
   ========================================================================== */

.references-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.references-title {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--text-dark);
}

/* ==========================================================================
   ABOUT JONAS SECTION
   ========================================================================== */

.jonas-image {
  width: 100%;
  height: auto;
  margin-top: -2rem;
}

.jonas-ctas {
  margin-top: 4rem;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.cta-button-jonas {
  background: var(--primary-color) !important;
  color: white;
  border-color: var(--primary-color) !important;
}

/* ==========================================================================
   ANIMATION CLASSES
   ========================================================================== */

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
  transform: translateY(30px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations */

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.site-footer {
  background: var(--primary-color);
  color: white;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: auto 2fr 1.5fr 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-logo-img {
  height: 55px;
  width: auto;
}

/* All footer content left-aligned */
.footer-company,
.footer-contact,
.footer-business {
  text-align: left;
}

.footer-company h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: white;
  text-align: left;
}

.footer-company p {
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 0.95rem;
  text-align: left;
}

.footer-contact p {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
}

.footer-link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
  text-decoration: underline;
}

.footer-business p {
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: left;
}

/* ==========================================================================
   ANLITA TRUSTCOM BUTTON OVERRIDE - Make button much larger
   ========================================================================== */

/* Override the CTA button styling for Anlita TrustCom specifically */
a[href*="anlita-trustcom"] {
  padding: 0.7em 2em !important;
  font-size: 1.15rem !important;
  min-width: auto !important;
  text-align: center !important;
  display: inline-block !important;
  margin: 0 0.5rem 0 0 !important;
}

/* Also override the general CTA button class for consistency */
.cta-button,
.english-cta a,
a[href*="anlita-trustcom"] {
  padding: 0.7em 2em !important;
  font-size: 1.15rem !important;
  min-width: auto !important;
  text-align: center !important;
  display: inline-block !important;
  margin: 0 0.5rem 0 0 !important;
}

/* ==========================================================================
   CUSTOM IMPROVEMENTS - Quote positioning, section spacing, testimonial sizing
   ========================================================================== */

/* Move quote marks closer to text in conviction section */

/* Fix quote background mark to use proper serif font for nice quotes */
.quote-background-mark {
  font-family: "Times New Roman", Times, Georgia, serif !important;
  font-weight: 400 !important;
  color: #14b1ef !important;
  opacity: 0.15 !important;
}

/* Ensure conviction quote background has proper styling */
.conviction-quote-bg .quote-background-mark {
  font-family: "Times New Roman", Times, Georgia, serif !important;
  font-size: 8rem !important;
  opacity: 0.15 !important;
  z-index: 0 !important;
}

/* Only fix the quote marks themselves, not the text font */

/* Reduce spacing between sections on front page */

/* Specific fix for the gap between övertygelse and engagemang */

/* Fix the padding for these specific sections when used on front page */

/* ==========================================
   UNIFIED LANDING PAGE SYSTEM - NO PAGE-SPECIFIC TARGETING
   ========================================== */

/* Universal hero section styles */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Larger and tighter testimonials - desktop */
.testimonials-combined-section .quote-part.highlight,
.quote-content .quote-part.highlight,
.testimonials-combined-section .quote-part.secondary,
.quote-content .quote-part.secondary {
  font-size: clamp(1.4rem, 3.3vw, 1.5rem) !important;
  line-height: 1.3 !important;
}

/* Larger and tighter testimonials - mobile */

/* ==========================================================================
   FOOTER REDESIGN - Professional & Clean
   ========================================================================== */

/* Footer container redesign */
.footer-content {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 3rem 4rem 2rem !important;
  display: grid !important;
  grid-template-columns: auto 1fr 1fr 1fr auto !important;
  gap: 3rem !important;
  align-items: start !important;
}

/* Logo section */
.footer-logo {
  display: flex !important;
  align-items: flex-start !important;
}

.footer-logo-img {
  height: 60px !important;
  width: auto !important;
}

/* Company section */
.footer-company h3 {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  color: white !important;
}

.company-address p {
  margin-bottom: 0.5rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

/* Contact person section - Two distinct groups */
.footer-contact {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
}

.contact-person .person-name {
  font-weight: 600 !important;
  color: white !important;
  margin-bottom: 0.2rem !important;
  font-size: 1rem !important;
}

.contact-person .person-title {
  color: rgba(255, 255, 255, 0.8) !important;
  margin-bottom: 0 !important;
  font-size: 0.9rem !important;
  font-style: italic !important;
}

.contact-details p {
  margin-bottom: 0.3rem !important;
  line-height: 1.3 !important;
}

.contact-details .footer-link {
  color: var(--secondary-color) !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
}

.contact-details .footer-link:hover {
  color: white !important;
  text-decoration: underline !important;
}

.linkedin-link {
  font-weight: 500 !important;
}

/* Business details */
.business-details p {
  margin-bottom: 0.4rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.85rem !important;
  line-height: 1.3 !important;
}

/* Copyright section */
.footer-copyright {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.8rem !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

/* Mobile responsiveness */

/* ==========================================================================
   FINAL DESIGN FIXES
   ========================================================================== */

/* 1. Better testimonial dots - match brand style */
.testimonials-dots {
  display: flex !important;
  justify-content: center !important;
  gap: 0.8rem !important;
  margin-top: 2rem !important;
}

.testimonial-dot {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.3) !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

.testimonial-dot:hover {
  background: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  transform: scale(1.1) !important;
}

.testimonial-dot.active {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 8px rgba(161, 224, 249, 0.4) !important;
}

/* 2. Fix quote mark position - closer to text */

.conviction-quote-bg .quote-background-mark {
  font-size: 8rem !important;
  opacity: 0.12 !important;
}

/* 3. Hero section text stability - prevent movement during title changes */
.hero-title {
  min-height: 240px !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

/* Compensation approach: Add space after title to stabilize subtitle position */
.hero-title {
  margin-bottom: 2rem !important;
}

/* Add smooth transitions for all hero content when compensating for title height */
.hero-subtitle,
.hero-tagline,
.hero-cta-simple {
  margin-top: 0 !important;
  transform: translateY(0) !important;
  transition: transform 0.3s ease !important;
}

/* ==========================================================================
   CYCLING TEXT LAYOUT SHIFT PREVENTION
   ========================================================================== */

.hero-title-wrapper {
  position: relative !important;
}

/* Mobile adjustments */

.hero-title {
  margin-bottom: 1.5rem !important;
}

.conviction-quote-bg .quote-background-mark {
  font-size: 8rem !important;
}

.hero-content.front-page {
  margin-top: 5%;
  margin-bottom: 10%;
  align-self: flex-end;
}

.service-offering li {
  color: white;
  margin-bottom: 0.2rem;
}

/* ==========================================================================
   IMPROVED FULL-WIDTH LAYOUT FOR SERVICE PAGES
   ========================================================================== */

.malstyrning-offering-row {
  display: flex;
  max-width: 1400px;
  margin: 0 auto 0 auto;
  justify-content: flex-start;
}

.strategi-offering-row {
  display: flex;
  max-width: 1400px;
  margin: 0 auto 0 auto;
  justify-content: flex-start;
}

.kommunikation-offering-row {
  display: flex;
  max-width: 1400px;
  margin: 0 auto 0 auto;
  justify-content: flex-start;
}

/* ==========================================
   FINAL UNIFIED SYSTEM - OVERRIDES ALL PAGE-SPECIFIC CSS
   ========================================== */

/* All hero sections get identical styling */
.hero-section {
  position: relative !important;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: -80px !important;
}

/* Hero video container fills entire hero section */
.hero-video-container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
}

/* Hero video fills container completely */
.hero-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Hero content appears above video - custom positioning for full-width sections */
.hero-content-wrapper {
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 4rem !important;
}

/* Hero overlay for better text readability */
.hero-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.4) !important;
  z-index: 2 !important;
}

/* Universal main container - centers all sections EXCEPT hero sections */
.site-main {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Hero sections break out of centered layout - full width */
.hero-section {
  align-self: stretch !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

/* Prevent horizontal scrollbar */
body {
  overflow-x: hidden !important;
}

/* Universal container styles - standardized width and padding */
.conviction-container,
.service-container,
.engagemang-container,
.jonas-container,
.references-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 4rem !important;
}

/* Universal header styles - ensure all headers are centered */
.conviction-header,
.service-header,
.engagemang-header,
.jonas-header,
.references-header {
  text-align: center !important;
}

.service-header,
.engagemang-header,
.jonas-header,
.references-header {
  margin-bottom: 5rem !important;
}

/* Universal title styles - ensure all titles are centered */
.conviction-title,
.service-title,
.engagemang-title,
.jonas-title,
.references-title {
  text-align: center !important;
}

/* Special quote sections - ensure they are centered */
.testimonials-main-quote,
.testimonials-main-quote h2 {
  text-align: center !important;
  margin-top: 0 !important;
}

/* Universal image sizing - prevent huge images from breaking layout */

.conviction-vertical-logo,
img:not(.person-image):not(.group-bg-image) {
  max-width: 100% !important;
  max-height: 400px !important;
  object-fit: contain !important;
}

/* Let content flow naturally - remove any forced centering */
.page-section * {
  text-align: inherit;
}

/* FORCE testimonial images to show faces - highest priority */

.jonas-header {
  margin-bottom: 0rem !important;
}

.page-section {
  padding: 4rem 0 !important;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.service-header {
  margin-bottom: 3rem;
}

.service-tag {
  background: #153243; /* Prussian Blue from brandbook */
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #153243;
  font-weight: 600;
  max-width: none;
  text-align: center;
  height: 100px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #5a6c7d;
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--accent-orange); /* Pumpkin Orange from brandbook */
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-block;
  transition: color 0.3s ease;
  margin-top: auto !important;
  align-self: center;
}

.service-card p {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.service-link:hover {
  color: #153243;
}

.service-card,
.services-grid .service-card,
.services-overview-section .service-card {
  background: #fffefa !important;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(21, 50, 67, 0.1);
  padding: 3rem 2rem;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 400px !important;
  justify-content: flex-start !important;
  text-align: center;
  margin-top: 1rem;
}

.service-card:hover {
  background: #fffefa !important;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(21, 50, 67, 0.15);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  align-items: center;
  align-content: center;
}

.section-header {
  text-align: center;
}

.delayed-fade-in {
  transition: opacity 0.5s ease-in-out 0.3s !important;
}

.delayed-fade-in-cta {
  opacity: 0;
  transform: translateY(10px) !important;
  transition: opacity 0.5s ease-in-out 0.7s, transform 0.5s ease-in-out 0.7s !important;
}

.delayed-fade-in-cta.visible {
  opacity: 1;
  transform: translateY(0) !important;
}

#andra-tycker {
  width: 100%;
}

.testimonials-ppt-section {
  width: 100%;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES (Mobile-first additions that DO NOT affect desktop)
   - Only apply below given max-widths to preserve desktop appearance
   ========================================================================== */

/* Large tablets and down */
@media (max-width: 1024px) {
  /* Global containers: tighten side padding */
  .conviction-container,
  .service-container,
  .engagemang-container,
  .jonas-container,
  .references-container,
  .testimonials-ppt-container,
  .nav-menu-columns {
    padding: 0 2rem !important;
  }

  /* 3-column nav overlay becomes 2 columns */
  .nav-main-columns {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
  }

  /* Services grids: 3 -> 2 columns */
  .services-grid,
  .services-grid-english {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }

  /* Footer tighten gaps */
  .footer-content {
    gap: 2rem !important;
  }
}

/* Tablets and down */
@media (max-width: 900px) {
  /* Header sizing */
  .site-header,
  .site-header.scrolled {
    padding: 1rem 1.5rem !important;
  }

  /* Quote container tighter */
  .quote-container {
    gap: 2rem !important;
    padding: 1.5rem 2rem !important;
    padding-bottom: 4rem !important;
  }
}

/* Mobile (phones) */
@media (max-width: 768px) {
  /* Header adjustments */
  .site-header,
  .site-header.scrolled {
    padding: 0.8rem 1rem !important;
  }

  .menu-toggle {
    width: 52px !important;
    height: 48px !important;
    gap: 5px !important;
    padding: 10px !important;
    border-radius: 6px !important;
  }
  .menu-toggle span {
    width: 26px !important;
    height: 3px !important;
  }

  /* Swap to mobile logo symbol */
  .logo-image.desktop {
    display: none !important;
  }
  .logo-image.mobile {
    display: inline-block !important; /* will be vertical asset per header */
  }
  /* Mobile uses the default horizontal .logo-image.mobile from above */

  /* Overlay menu content spacing */
  .menu-overlay-content {
    padding: 1.5rem !important;
  }
  .menu-navigation {
    margin-bottom: 0 !important;
  }
  .nav-menu-columns {
    padding: 0 1rem !important;
  }
  .nav-main-columns {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .nav-column-title {
    font-size: 1.4rem !important;
  }
  .nav-column-list a {
    padding: 0.5rem 0.8rem !important;
  }

  .conviction-container,
  .service-container,
  .engagemang-container,
  .jonas-container,
  .references-container,
  .testimonials-ppt-container,
  .nav-menu-columns {
    padding: 0 !important;
  }

  /* Global spacing */
  .page-section {
    padding: 2rem 1rem !important;
  }
  .content-area {
    margin-top: 0px !important;
  }

  /* Hero */
  .hero-section {
    padding-top: 6rem;
    height: auto !important;
    min-height: 80vh !important;
    width: 100% !important; /* avoid 100vw-induced horizontal scroll */
    margin-left: 0 !important;
    margin-top: 0 !important; /* prevent header overlap on secondary landing pages */
  }
  .hero {
    background-attachment: scroll !important;
  }
  .hero-content-wrapper {
    padding: 3.5rem 1.25rem 0 !important; /* add top padding to clear fixed header */
  }
  .hero-title {
    min-height: 160px !important;
  }
  /* Slightly smaller headings for narrow screens */
  h1,
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem) !important;
  }
  h2 {
    font-size: clamp(1.3rem, 6vw, 1.8rem) !important;
  }

  /* Two-column layouts -> single column */
  .conviction-content-simple,
  .jonas-content-grid,
  .references-content,
  .philosophy-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Strategy/Kommunikation/Malstyrning rows: stack */
  .strategi-top-row,
  .strategi-offering-row,
  .malstyrning-top-row,
  .malstyrning-offering-row,
  .kommunikation-top-row,
  .kommunikation-offering-row {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  /* Services grid -> single column */
  .services-grid,
  .services-grid-english {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .service-card,
  .services-grid .service-card,
  .services-overview-section .service-card {
    min-height: 0 !important;
    padding: 2rem 1.25rem !important;
  }
  .service-card h3 {
    height: auto !important;
  }

  /* Engagement categories -> single column */
  .engagement-categories {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .carousel-arrow {
    bottom: 1rem !important;
  }
  .carousel-arrow-left {
    left: 1rem !important;
    right: auto !important;
  }
  .carousel-arrow-right {
    right: 1rem !important;
    left: auto !important;
  }
  .testimonials-dots {
    bottom: 1rem !important;
  }
  .quote-container {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 1rem 1.25rem 3.5rem !important;
  }
  .unified-quote {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .quote-score {
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    height: auto !important;
  }

  /* Timeline: verticalize */
  .timeline-horizontal {
    gap: 5px !important;
    padding: 0 !important;
  }
  .timeline-horizontal::before {
    display: none !important;
  }
  .timeline-horizontal .timeline-item {
    min-width: unset !important;
  }
  .timeline-horizontal .timeline-year {
    padding: 0.3rem 0.4rem;
    font-size: 0.75rem;
  }

  /* Footer -> single column */
  .footer-content {
    grid-template-columns: 1fr !important;
    text-align: left !important;
    padding: 2rem 1.25rem !important;
    gap: 1.25rem !important;
  }
  .footer-logo {
    justify-content: flex-start !important;
  }
  .footer-logo-img {
    height: 48px !important;
  }

  /* Contact HUD: fit small screens */
  .contact-hud-bar {
    left: 1rem !important;
    right: 1rem !important;
    bottom: 1rem !important;
    white-space: normal !important;
  }
  .hud-simple-container {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    padding: 0.6rem 0.8rem !important;
    font-size: 0.9rem !important;
  }
  .hud-separator {
    display: none !important;
  }

  /* Hide HUD when menu is open on small screens */
  body.menu-open #contactHUD {
    display: none !important;
  }

  /* Navigation overlay: use dynamic viewport height on mobile browsers */
  .main-navigation {
    height: 100dvh !important;
  }

  /* Quote background marks: smaller & tighter on phones */
  .conviction-quote-bg.quote-background-wrapper {
    padding-left: 0 !important;
  }
  .quote-background-mark {
    font-size: 4rem !important;
  }
  .comma-sign-image {
    height: 6rem !important;
  }

  h1.service-title,
  h1.conviction-title,
  h1.engagemang-title,
  h1.jonas-title,
  h1.references-title,
  h1.english-title {
    font-size: 2rem !important;
  }

  .conviction-intro {
    font-size: 1.2rem;
  }

  .conviction-container .philosophy-list li {
    font-size: 1rem;
  }

  .conviction-container .philosophy-description p {
    font-size: 1rem;
  }

  .conviction-vertical-logo,
  img:not(.person-image):not(.group-bg-image):not(.jonas-profile-image):not(.references-jonas-image) {
    max-height: 100px !important;
  }

  .conviction-logo-column {
    padding: 1rem !important;
  }

  .site-header {
    max-width: 100vw !important;
  }

  .testimonials-combined-section {
    padding: 0px;
  }

  .testimonials-combined-section .quote-part.highlight,
  .quote-content .quote-part.highlight,
  .testimonials-combined-section .quote-part.secondary,
  .quote-content .quote-part.secondary {
    font-size: 1.2rem !important;
  }

  .testimonial-slide .quote-content {
    padding: 0 !important;
  }
  .quote-score {
    padding: 1rem !important;
  }

  .score-number {
    font-size: 2.4rem;
  }

  .jonas-quote-bg.quote-background-wrapper {
    padding: 0 !important;
  }

  .service-header,
  .engagemang-header,
  .jonas-header,
  .references-header {
    margin-bottom: 1rem !important;
  }

  .references-quote-bg.quote-background-wrapper {
    padding-left: 0 !important;
  }

  .jonas-ctas {
    margin-top: 2rem;
    flex-direction: column;
  }

  .jonas-image {
    margin-top: 0;
  }

  .quote-overlay {
    align-items: stretch;
    padding-bottom: 2rem;
  }

  .testimonials-carousel {
    height: 600px;
  }

  .jonas-profile-image {
    max-height: 400px !important;
  }

  .main-navigation .nav-menu li {
    margin: 1rem 0 !important;
  }

  .mobile-language-switcher {
    display: none;
  }

  .nav-column-title span {
    font-weight: 600;
    font-size: 1.2rem;
  }

  .nav-main-columns {
    margin-bottom: 0;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-title {
    min-height: 120px !important;
  }

  /* Optional: hide HUD on very small screens for clarity */
  .contact-hud-bar {
    display: none !important;
  }

  /* Menu link sizes */
  .main-navigation .nav-menu a,
  .nav-column-list a {
    font-size: 1rem !important;
  }
}
