/*
Theme Name: PK Minimal Theme
Theme URI: https://example.com/
Author: PK
Author URI: https://example.com/
Description: A minimal theme for testing purposes
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Branding on the banner */
a#CybotCookiebotDialogPoweredbyCybot,
div#CybotCookiebotDialogPoweredByText {
  display: none;
}

/* Branding on the Privacy trigger */
#CookiebotWidget .CookiebotWidget-body .CookiebotWidget-main-logo {
  display: none;
}
#CybotCookiebotDialogPoweredByText {
  display: none !important;
}

div.wpforms-container-full .wpforms-confirmation-container-full {
  background-color: var(--primary-color) !important;
  border: 0 !important;
}
div.wpforms-container-full .wpforms-confirmation-container-full p {
  color: var(--neutral-color) !important;
  font-family: "DMSans", sans-serif !important;
}
html.lenis {
  height: 100%;
}

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

:root {
  /* Primary Colors */
  --primary-color: #1f2e2d;
  --secondary-color: #ff8203;

  /* Neutral Colors */
  --bg-color: #f0f0f0;
  --text-color: #5f5a54;
  --text-color-hover: #cfc7bb;
  --neutral-color: #f8f3f1;

  /* Accent Colors */
  --accent-color: #5ab091;
  --error-color: #d62828;

  /* Alternative Accent Colors (for graphical elements) */
  --accent-blue: #009aec;
  --accent-yellow: #fedb01;
  --accent-pink: #f9c0d9;
  --accent-dark-earth: #333333ff;
  --accent-primary-semi-transp: #1f2e2dcd;
}

/* Global styles */
body {
  font-family: "DMSans", sans-serif;
  background-color: var(--neutral-color) !important;
  overflow: visible;
  height: auto;
  min-height: 100vh;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--primary-color);
}
header {
  width: 100%;
  box-sizing: border-box;
}

img {
  border-radius: 1rem;
  z-index: 1;
}
section {
  width: 100%;
}

h3 {
  color: var(--accent-color);
  font-family: "Space Mono", monospace;
  padding: 1rem;
}

/* Base Button Styling */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Button Hover and Active States */
.btn:hover {
  background-color: var(--accent-color);
  transform: scale(1.02);
}

.btn:active {
  background-color: var(--primary-color);
  transform: scale(0.98);
}

/* Optional Variants */
.btn.outline {
  background-color: transparent;
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  text-transform: uppercase;
}

.btn.outline:hover {
  background-color: var(--secondary-color);
  color: var(--neutral-color);
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.section-title {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
}

/* Custom classes */
/* header styles */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: var(--neutral-color);
  position: fixed;
  top: 0;
  width: 100%;
  transition: transform 0.3s ease-in-out;
  height: 80px;
  z-index: 9999;
  overflow-y: visible;
}

.site-header.hidden {
  transform: translateY(-100%);
}

.header-logo {
  overflow: visible;
  max-height: 100px;
  height: auto;
  width: 100px;
  display: block;
  margin-top: 20px;
  align-items: center;
}

.header-logo .cls-1 {
  fill: var(--accent-blue);
  animation: colorAnimation 15s linear infinite;
}

.header-menu {
  flex: 1;
  text-align: center;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  list-style: none;
}

.main-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 0;
  padding: 0;
  flex-direction: row-reverse;
}
.main-menu > li {
  position: relative;
}
.main-menu li a {
  text-decoration: none;
  text-transform: lowercase;
  font-weight: 400;
  color: var(--text-color);
  align-items: center;
  display: flex;
  justify-content: center;
}
.main-menu li a:hover {
  color: var(--primary-color);
  transition: color 0.3s ease;
}
/* Position the dropdown below the parent menu item */
.main-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 285px;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: var(--primary-color);
  color: var(--neutral-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* Style the dropdown items */
.main-menu .sub-menu li {
  padding: 10px 15px;
}
.main-menu .sub-menu li a {
  color: var(--text-color-hover);
  display: block;
  text-decoration: none;
  text-transform: initial;
}
.main-menu .sub-menu li a:hover {
  color: var(--neutral-color);
}

/* Display the dropdown on hover */
.main-menu > li:hover .sub-menu {
  display: none;
}

/* Add space between parent and dropdown */
.main-menu .sub-menu {
  margin-top: 5px;
}
/* Dropdown */

.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px) !important;
  transform: translateX(-50%);
  list-style: none;
  margin: 0;
  padding: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  min-width: 285px;
  background-color: var(--primary-color);
  padding: 10px 0;
  border-radius: 1rem;
}

.sub-menu li {
  padding: 10px 15px;
  text-align: left;
}

.sub-menu li a {
  color: var(--text-color-hover);
  display: block;
  text-decoration: none;
}

.sub-menu li a:hover {
  color: var(--neutral-color);
}

/* Hover and Rotate Arrow */
.has-dropdown:hover .sub-menu {
  display: block;
}

/* Arrow Styling */
.arrow {
  margin-left: 5px;
  margin-top: 16px;
  border: solid var(--primary-color);
  border-width: 0 2px 2px 0;
  display: inline-block;
  transform: rotate(45deg);
  transform-origin: center;
  /* transition: transform 0.3s ease; */
  width: 10px;
  height: 10px;
}
.main-menu .arrow {
  margin-top: -2px;
}

.has-dropdown:hover .arrow {
  transform: rotate(-135deg); /* Rotate arrow downwards on hover */
}

.header-btn {
  margin-right: 2rem;
  padding: 0.5rem 1rem !important;
  font-size: 0.75rem !important;
}

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

.burger-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0rem;
}

.burger-icon {
  font-style: 1.5rem;
  line-height: 0.6;
  transform: rotate(45deg) scale(1.2, 1);
  display: inline-block;
}

/* Footer */
.site-footer {
  background-color: var(--accent-dark-earth);
  color: var(--neutral-color);
  padding: 4rem 2rem 0rem 2rem;
  display: flex;
  justify-content: center;
  align-items: top;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 4fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  width: 100%;
  max-width: 1600px;
  padding: 2rem 2rem 2rem 0rem;
}

.footer-left,
.footer-middle {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
}
.footer-left {
  align-items: end;
  align-items: start;
}

.footer-right {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 10px;
}

.footer-text {
  font-size: 1rem;
  margin-top: 5px;
  color: #ccc;
}
.footer-ctn-lyckas p {
  max-width: 300px;
}
.footer-ctn-links {
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding-right: 5rem;
}

.footer-ctn-lyckas a {
  color: var(--text-color-hover);
  text-decoration: none;
  font-weight: 400;
}

.footer-ctn-lyckas a:hover {
  color: var(--neutral-color);
}

.footer-ctn-lyckas li {
  list-style: none;
  padding-bottom: 0.5rem;
}

.footer-services {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: start;
  margin-bottom: 20px;
}

.footer-services li {
  font-size: 1rem;
  padding-bottom: 0.5rem;
}

.footer-services a {
  color: var(--text-color-hover);
  text-decoration: none;
  font-weight: 400;
}

.footer-services a:hover {
  color: var(--neutral-color);
}

.footer-secondary-links {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  gap: 20px;
  grid-column: 2; /* Targets the middle column */
  justify-self: center; /* Centers horizontally */
  align-self: center; /* Centers vertically */
  text-align: center; /* Ensures text is centered */
}

.footer-secondary-links a {
  color: var(--text-color-hover);
  font-size: 1rem;
  text-decoration: none;
}
.footer-secondary-links a:hover {
  color: var(--neutral-color);
  text-decoration: none;
}

.footer-social-icons {
  display: flex;
  gap: 1.5rem;
  padding-top: 0.5rem;
}
.footer-social-icons a i {
  font-size: 3rem; /* Directly target the icon's font size */
  gap: 1rem;
  padding-bottom: 1rem;
}

.footer-social-icons a {
  color: var(--text-color-hover);
  text-decoration: none;
}

.footer-social-icons a:hover {
  color: var(--neutral-color); /* Hover color for icons */
}

.footer-right p {
  margin: 5px 0;
  font-size: 14px;
}

.footer-right a {
  text-decoration: none;
  color: var(--text-color-hover);
  gap: 5rem;
  font-size: 1rem;
}
.footer-right a:hover {
  color: var(--neutral-color);
}
.footer-copywrite {
  grid-column: 1 / -1; /* Span all columns */
  grid-row: 3; /* Place in the second row */
  text-align: center;
  font-size: 14px;
  color: #666;
}

/* Front-page styles */
/* Hero Section */
.hero-section {
  position: relative;
  padding: calc(4rem + 120px) 2rem 4rem;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 0;
  margin: 0; */
}

.hero-section .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1rem;
}

.hero-content {
  position: relative;
  flex: 1;
  max-width: 100%;
  z-index: 4000;
}
.hero-section svg {
  position: relative;
  bottom: 20px;
  z-index: 1;
  max-width: 90%;
  padding-left: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.3;
  max-width: 100% !important;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-align: left;
  font-weight: 300;
  z-index: 2;
}

.hero-content p {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  z-index: 2;
}

.hero-content .btn {
  padding: 0.75rem 1.5rem !important;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  border-radius: 1rem;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.hero-content .btn:hover {
  background-color: var(--accent-color);
}

/* Image (Right Side) */
.hero-image {
  flex: 1;
  height: 100%;
  object-fit: cover;
  width: 50%; /* Set the width to 75% */
  margin-left: auto; /*transform: translateX(25%);  Shift the image 25% to the right */
}

/* Section Styling */
/* Proof section */
.proof-strip {
  padding: 24px 0;
}
.proof-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  width: 100%;
}

/* vänster / mitten / höger */
.proof-strip-inner > :nth-child(1) {
  justify-self: start;
}

.proof-strip-inner > :nth-child(2) {
  justify-self: center;
  text-align: center;
}

.proof-strip-inner > :nth-child(3) {
  justify-self: end;
  text-align: right;
}

.proof-small {
  font-size: 14px;
  opacity: 0.8;
  margin: 6px 0 0;
}
.proof-quote-text {
  font-style: italic;
  margin: 0;
}

.proof-strip-inner > :nth-child(2) {
  max-width: 520px;
}

@media (max-width: 900px) {
  .proof-strip-inner {
    grid-template-columns: 1fr;
    justify-content: center;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    text-align: center !important;
    gap: 2rem;
  }
  proof-strip-inner > :nth-child(1) {
    text-align: center !important;
  }

  .proof-strip-inner > :nth-child(2) {
    text-align: center !important;
  }

  .proof-strip-inner > :nth-child(3) {
    text-align: center !important;
  }
}

/* SECTION: Services (How we can help) */
.expertise-section {
  background: var(--primary-color);
}

.front-page-expertise .container {
  align-items: stretch;
}

.wrapper-services {
  width: 100%;
}

.wrapper-services h2 {
  padding-bottom: 2rem;
  font-size: 3rem;
  font-weight: 700;
  color: var(--neutral-color);
  text-align: left;
  text-transform: uppercase;
}

/* grid for cards */
.services {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

/* clickable card */
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;

  padding: 1.25rem 1.25rem;
  border-radius: 1rem;

  text-decoration: none;
  color: var(--neutral-color);

  background: rgba(248, 243, 241, 0.06);
  border: 1px solid rgba(248, 243, 241, 0.1);

  transition: transform 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease;
  min-height: 140px;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 130, 3, 0.55);
  background: rgba(248, 243, 241, 0.08);
}

.service-card:focus-visible {
  outline: 3px solid rgba(255, 130, 3, 0.65);
  outline-offset: 4px;
}

/* typography inside */
.service-card__title {
  font-family: "Space Mono", monospace;
  color: var(--neutral-color);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.35rem 0;
}

.service-card__desc {
  margin: 0;
  color: rgba(248, 243, 241, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 52ch;
}

/* CTA row */
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  font-weight: 700;
  color: var(--accent-blue);

  padding-top: 0.25rem;
  width: fit-content;

  box-shadow: 0 2px 0 0 rgba(0, 154, 236, 0.55);
  transition: color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover .service-card__cta {
  color: var(--secondary-color);
  box-shadow: 0 2px 0 0 rgba(255, 130, 3, 0.7);
  transform: translateX(2px);
}

/* Responsive */
@media (max-width: 1000px) {
  .wrapper-services h2 {
    font-size: 2.25rem;
    text-align: center;
  }
  .services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .front-page-expertise .container {
    padding: 4rem 1.25rem;
  }
  .service-card {
    padding: 1.25rem;
    min-height: unset;
  }
  .service-card__desc {
    font-size: 1rem;
  }
}

/* SECTION: What we deliver */
.what-we-deliver {
  padding: 5rem 2rem;
  text-align: center;
  overflow: hidden;
}

.what-we-deliver .container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

/* make the H2 less "empty space"-heavy on desktop */
.what-we-deliver .section-title {
  max-width: 1100px;
  margin: 0 auto;
  line-height: 1.1;
}

.deliverables {
  width: 100%;
  max-width: 1240px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Card style */
.deliverable {
  width: 100%;
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(31, 46, 45, 0.08);
  text-align: left;

  /* keep your animation hook */
  opacity: 1;
  transform: translateY(50px);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.deliverable:hover {
  transform: translateY(0);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

/* Head row: step badge + title */
.deliverable-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.deliverable-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--primary-color);
  background: var(--accent-yellow);
  border: 2px solid rgba(31, 46, 45, 0.15);
  flex: 0 0 auto;
}

.deliverable h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--primary-color);
  margin: 0;
  padding: 0; /* override your global h3 padding */
  font-family: "Space Mono", monospace;
}

/* List style: remove bullets, add subtle separators */
.deliverable ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.deliverable li {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-color);
}

.deliverable li strong {
  color: var(--primary-color);
}

/* Mobile */
@media (max-width: 768px) {
  .what-we-deliver {
    padding: 4rem 1.25rem;
  }

  .what-we-deliver .section-title {
    font-size: 2.2rem; /* tame the giant H2 on mobile */
    padding: 0; /* you had heavy padding globally on mobile */
  }

  .deliverables {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .deliverable {
    padding: 1.5rem;
  }

  .deliverable-step {
    width: 34px;
    height: 34px;
  }

  .deliverable h3 {
    font-size: 1.2rem;
  }
}

/* Testimonial Section Styling */
/* Base Styles */
.testimonial-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.testimonial-grid,
.case-grid {
  width: 100%;
}
.star {
  font-size: 20px;
  color: #ccc;
}

.star.filled {
  color: #ffd700;
}

.star.empty {
  color: #ccc;
}

/* Heading */
.container .testimonial-container .section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

/* Testimonial Grid */
.testimonial-grid {
  column-count: 3;
  column-gap: 1.5rem;
  max-width: 1600px;
}

.testimonial-card {
  display: inline-block; /* Ensure cards respect column layout */
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}
.testimonial-card img {
  max-width: 100%;
  height: auto;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin: 0.5rem 0;
}

.star {
  font-size: 1.2rem;
  color: #ffcc00;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.testimonial-author {
  font-weight: bold;
  color: var(--text-color);
  text-align: center;
}

/* Swiper Styling */
.swiper-container {
  width: 80%;
  padding: 20px 0;
}

.swiper-slide {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: left;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-color);
}

.testimonial-rating {
  margin: 10px 0;
}

.testimonial-author {
  margin-top: 15px;
  font-weight: bold;
  color: #333;
}

/* Ensure Pagination and Navigation Stay in Testimonial Section */
.testimonial-section .testimonial-pagination {
  position: relative;
  margin-top: 20px;
  z-index: 10;
}
/* For inactive bullets */
.testimonial-section .swiper-pagination-bullet {
  background-color: var(--text-color);
}

/* For active bullets */
.testimonial-section .swiper-pagination-bullet-active {
  background-color: var(--secondary-color);
}

/* Case Grid */
.container.case {
  display: flex;
  flex-direction: column;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  ); /* Responsive grid layout */
  justify-items: center;
}

.case-card {
  background: var(--neutral-color);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 250px;
  overflow: hidden;
}
.case-card:hover {
  background-color: var(--primary-color);
  opacity: 1;
  transition: 0.3s ease;
  color: var(--neutral-color);
}

.case-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 1.5rem;
}
.case-card:hover.case--text {
  color: var(--neutral-color);
}

.case-logo {
  max-width: 100px;
  height: auto;
  margin-bottom: 1rem;
}
.case-card:hover {
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.case-card:hover .case-text {
  color: var(--neutral-color);
}

.case-card:hover .case-read-more {
  display: block;
}
.case-read-more p {
  font-size: 1rem;
  font-family: "DMSans", sans-serif !important;
  font-size: 1.2rem;
  text-decoration: none;
  margin-bottom: 0;
  transition: color ease 0.3s;
  white-space: nowrap;
  align-items: center;
}

.case-text {
  font-size: 1rem;
  color: var(--text-color);
  text-align: start;
}
.case-text:hover {
  font-size: 1rem;
  color: var(--neutral-color);
  text-align: start;
}
.case-read-more {
  display: block;
  margin: 3rem;
  align-items: center;
}
.case-read-more p {
  padding-top: 0;
  padding: 0.5rem 0rem;
  justify-self: center;
}

/* SECTION: About us */
.about-us {
  background-color: var(--primary-color);
  padding: 4rem 2rem;
  text-align: center;
  width: 100%;
}
.about-us .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  grid-template-areas: "right left";
}
.about-us .container img {
  max-width: 20%;
  justify-content: center;
}
.about-us .container .text {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 100%;
  align-items: center;
  padding: 3rem 3rem;
  gap: 3rem;
}

.about-us h2.section-title {
  margin: 0;
  text-align: left;
  color: var(--accent-blue);
}
.about-us .section-title span {
  display: block;
  margin: 0;
  text-align: center;
}
.about-us p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  color: var(--neutral-color);
}

.about-us .agency-name {
  font-weight: bold;
  color: var(--accent-yellow);
}

/* Animations */
@keyframes colorAnimation {
  0% {
    fill: var(--accent-blue);
  }
  25% {
    fill: var(--accent-yellow);
  }
  50% {
    fill: var(--accent-pink);
  }
  75% {
    fill: var(--secondary-color);
  }
  100% {
    fill: var(--accent-blue);
  }
}

@keyframes gradientShift {
  0% {
    stop-color: var(--accent-blue);
  }
  33% {
    stop-color: var(--accent-yellow);
  }
  66% {
    stop-color: var(--accent-pink);
  }
  100% {
    stop-color: var(--accent-blue);
  }
}

/* Responsiveness table ++ */
@media (max-width: 1600px) {
  .about-us .container img {
    max-width: 40%;
  }
}
@media (max-width: 1000px) {
  .header-menu {
    display: none;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .about-us .container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }
  .testimonial-grid {
    column-count: 2; /* Number of columns */
    column-gap: 1.5rem; /* Space between columns */
  }
  .expertise-section .container {
    flex-direction: column;
  }
  .container .case {
    flex-direction: column;
  }
  .expertise-grid {
    width: 100%;
  }
  .about-us .container img {
    max-width: 50%;
  }
}

/* Responsiveness mobile */

@media (max-width: 768px) {
  /* main styles */
  .container {
    padding: 0rem;
  }
  .section-title {
    font-size: 3rem;
    text-align: center;
    padding: 2.1rem;
  }
  /* header */
  .header-burger {
    display: block;
    width: 11%;
    align-items: end;
    justify-content: end;
    justify-items: end;
    /* margin-right: 10px; */
  }
  .header-logo {
    width: 120px;
    padding-top: 1.08rem;
    padding-left: 0.9rem;
    margin-top: 0;
  }
  .header-btn {
    margin-right: 0rem;
  }
  .site-header {
    padding: 0rem;
    height: 80px;
  }
  .btn.header-btn.outline {
    display: none;
  }
  .burger-icon {
    line-height: 0.8;
  }
  .header-burger.menu-toggle {
    margin-top: -10px;
    padding-right: 0.9rem;
  }
  .sub-menu {
    position: static;
    transform: translateX(0%);
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
  }

  /* Hero section */
  .hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: top;
    margin-top: 120px;
    margin-bottom: 120px;
    padding: 1rem 1rem;
  }
  .hero-content,
  .hero-content h1 {
    flex: 1;
    max-width: 100%;
    font-size: 1.5rem;
    line-height: 1.5;
    text-align: start;
    margin-top: -8rem;
  }
  .hero-image {
    flex: 1;
    height: 100%;
    object-fit: cover;
    width: 100%;
    transform: translateX(0);
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-radius: 1rem;
  }

  /* how we can help */

  .services {
    flex-direction: column;
    justify-content: space-evenly;
    gap: 2rem;
    padding: 4rem 2rem;
  }
  .services a {
    padding: 1;
  }
  .wrapper-services h2 {
    font-size: 2rem;
    text-align: center;
    padding: 0rem 2rem;
  }

  /* working with SOM */
  .deliverables {
    grid-template-columns: 1fr;
  }
  .deliverable h3 {
    text-align: center;
  }

  /* Testimonials */
  .testimonial-grid {
    column-count: 1; /* Number of columns */
    column-gap: 1.5rem; /* Space between columns */
    padding: 0 2rem;
  }
  .case-grid {
    grid-template-columns: 1fr;
    padding: 2rem 2rem;
    gap: 2rem;
  }
  .container.case {
    flex-direction: column;
  }

  .case-card p {
    color: var(--primary-color);
  }

  .case-read-more p {
    padding-top: 0;
    padding: 0.5rem 0rem;
    text-align: left;
  }
  /* About us: Digital Partner */
  .about-us.container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .about-us .section-title span {
    text-align: center;
    font-size: 3.5rem;
  }
  .about-us p {
    padding-top: 0.5rem;
  }
  .h3-about p {
    color: var(--accent-color);
  }
  .about-us .container text h3 {
    color: var(--accent-color);
  }
  .about-us .container img {
    max-width: 50%;
  }

  /* Footer Container */
  .site-footer {
    padding: 0;
  }
  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Space between stacked elements */
    width: 100%; /* Ensure the container takes up full width */
    max-width: 100%;
    padding: 2rem 0;
  }
  .footer.header-logo {
    height: 200px;
    width: 200px;
    padding: 0;
  }
  .footer-right {
    gap: 0;
    text-align: center;
    width: 100%;
    position: relative;
    margin: 0 auto;
  }
  .footer-left,
  .footer-secondary-links {
    text-align: center;
    width: 100%;
    position: relative;
    margin: 0 auto;
  }
  .footer-secondary-links {
    flex-direction: column;
    gap: 0;
  }
  .footer-left {
    align-items: center;
    justify-content: center;
  }
  .footer-middle {
    text-align: center;
    width: 100%;
    position: relative;
    margin: 0 auto;
    padding-top: 2rem;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .footer-ctn-links {
    justify-content: center;
    display: flex;
    padding: 0;
  }

  .footer-middle .footer-services {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-services ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .footer-services li {
    font-size: 1rem;
  }

  .footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  .footer-social-icons a i {
    font-size: 3rem;
  }

  .footer-text {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .footer-right p,
  .footer-right a {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0.5rem 0;
    text-align: center;
  }

  .footer-secondary-links a {
    font-size: 1rem;
    margin: 0.5rem 0;
  }
  .footer-secondary-links span {
    display: none;
  }

  /* Specific Adjustments */
  .footer-col--right {
    text-align: left;
  }
}

/* =========================================================
   Frontpage Hero Layout Fixes (v1)
   - Keeps existing classes/HTML
   - Fixes SVG overlap on mobile
   - Improves spacing + CTA layout
========================================================= */

/* HERO: base improvements */
.hero-section {
  height: auto; /* avoid forced 80vh that can create awkward whitespace */
  padding: calc(4rem + 80px) 2rem 3rem; /* header is 80px */
}

.hero-section .container {
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
}

.hero-sub {
  max-width: 800px;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

/* Trust bullets */
.hero-trust {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
}

.hero-trust li {
  margin: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--primary-color);
}

/* CTA row */
.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 1rem 0 1rem 0;
}

/* Secondary button (since you use .btn-secondary in HTML) */
.btn.btn-secondary {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--primary-color);
}

.btn.btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* SVG sizing on desktop */
.hero-section svg {
  width: min(440px, 40vw);
  height: auto;
  max-width: 100%;
  padding-left: 0; /* remove extra offset that can push it weirdly */
}

/* =========================================================
   MOBILE FIX (this is the key)
   Remove absolute positioning so SVG does NOT overlap CTAs/text
========================================================= */
@media (max-width: 768px) {
  /* Give containers padding again (you currently set .container { padding: 0 } on mobile) */
  .container {
    padding: 1.25rem 1rem;
  }

  .hero-section {
    padding: calc(2.5rem + 80px) 1rem 2.5rem;
    min-height: auto;
  }

  .hero-section .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 0; /* remove your big offsets */
    margin-bottom: 0;
  }

  .hero-content,
  .hero-content h1 {
    margin-top: 0; /* IMPORTANT: you currently push it up with -8rem */
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-sub {
    margin-bottom: 1rem;
  }

  /* CTA becomes stacked or two rows nicely */
  .hero-cta {
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  /* THE FIX: SVG should be in normal flow on mobile */
  .hero-section svg {
    position: relative; /* overrides your absolute */
    left: auto;
    top: auto;
    transform: none;
    margin: 0.5rem auto 0;
    width: min(320px, 85vw);
    z-index: 0;
    display: block;
  }

  /* ensure text/CTAs stay above */
  .hero-content {
    z-index: 2;
  }
}
