/* =============================================================================
   REFACTORED CSS - ONLY USED STYLES FROM index.html
   ============================================================================= */

/* Section Titles */
.dev-section-title .title {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1666666667;
  color: var(--bs-gray-900);
  padding-bottom: 15px;
}
@media (min-width: 575px) {
  .dev-section-title .title {
    font-size: 38px;
  }
}
@media (min-width: 992px) {
  .dev-section-title .title {
    font-size: 48px;
    padding-bottom: 24px;
  }
}
.dev-section-title .text {
  font-weight: 400;
  font-size: 16px;
  color: var(--bs-gray-700);
  line-height: 1.4;
}
@media (min-width: 768px) {
  .dev-section-title .text {
    font-size: 18px;
  }
}
@media (min-width: 992px) {
  .dev-section-title .text {
    font-size: 20px;
  }
}

/* Consistent padding for section titles on small screens */
@media (max-width: 767px) {
  .dev-section-title .title,
  .dev-section-title .text {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* UI Display Title */
.ui-display-title .title {
  font-weight: 600;
  font-size: 36px;
  color: var(--bs-gray-900);
  line-height: 112%;
  font-family: "Sora", sans-serif;
  padding-bottom: 20px;
}
@media (min-width: 575px) {
  .ui-display-title .title {
    font-size: 44px;
    padding-bottom: 15px;
  }
}
@media (min-width: 768px) {
  .ui-display-title .title {
    font-size: 54px;
  }
}
@media (min-width: 992px) {
  .ui-display-title .title {
    padding-bottom: 15px;
    font-size: 64px;
  }
}
.ui-display-title .title span {
  color: var(--bs-tertiary-500);
}
.ui-display-title .text {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  color: var(--bs-gray-900);
  font-family: "Sora", sans-serif;
}
@media (min-width: 575px) {
  .ui-display-title .text {
    font-size: 18px;
  }
}
@media (min-width: 768px) {
  .ui-display-title .text {
    font-size: 20px;
  }
}

/* UI Section Title */
.ui-section-title {
  text-align: center;
}
.ui-section-title .title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 32px;
  color: var(--bs-gray-900);
  line-height: 117%;
  font-family: "Sora", sans-serif;
}
@media (min-width: 768px) {
  .ui-section-title .title {
    font-size: 38px;
  }
}
@media (min-width: 992px) {
  .ui-section-title .title {
    font-size: 48px;
  }
}
.ui-section-title .text {
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  color: var(--bs-gray-600);
  font-family: "Sora", sans-serif;
}

/* Consistent padding for UI section titles on small screens */
@media (max-width: 767px) {
  .ui-section-title .title,
  .ui-section-title .text {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Color Utilities */
.text-white {
  color: #fff;
}

.bg-white {
  background-color: #fff;
}

.bg-tertiary-500 {
  background-color: #8A43FF;
}

.text-light {
  color: var(--bs-gray-200) !important;
}

/* Layout Utilities */
.position-relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.d-block {
  display: block;
}

.d-flex {
  display: flex;
}

.justify-content-center {
  justify-content: center;
}

.align-items-center {
  align-items: center;
}

.align-items-xxl-start {
  align-items: flex-start;
}
@media (min-width: 1400px) {
  .align-items-xxl-start {
    align-items: flex-start;
  }
}

.text-center {
  text-align: center;
}

.text-start {
  text-align: start;
}

.text-xs-start {
  text-align: start;
}
@media (min-width: 480px) {
  .text-xs-start {
    text-align: start;
  }
}

.offset-xxl-1 {
  margin-left: 8.33333%;
}
@media (min-width: 1400px) {
  .offset-xxl-1 {
    margin-left: 8.33333%;
  }
}

.w-100 {
  width: 100%;
}

/* Spacing */
.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mb-lg-0 {
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .mb-lg-0 {
    margin-bottom: 0;
  }
}

.ms-2 {
  margin-left: 0.5rem;
}

.pt-1 {
  padding-top: 0.25rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-3 {
  padding-top: 1rem;
}

/* .pt-5 {
  padding-top: 3rem;
} */

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-5 {
  padding-bottom: 3rem;
}

/* Site Wrapper */
.site-wrapper {
  overflow-x: hidden;
  overflow-y: visible;
}

@media (max-width: 991px) {
  .site-wrapper {
    overflow: visible;
  }
}

/* Header Styles */
.site-header {
  background-color: var(--bs-white);
}

.site-navbar {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0px;
}
@media (min-width: 992px) {
  .site-navbar {
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
  }
}
@media (min-width: 992px) {
  .site-navbar .menu-block-wrapper {
    display: flex;
    width: 100%;
    align-items: center;
  }
}

.site-header--sticky:not(.mobile-sticky-enable) {
  position: absolute !important;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 999;
}
@media (min-width: 992px) {
  .site-header--sticky:not(.mobile-sticky-enable) {
    position: fixed !important;
    transition: 0.4s;
  }
  .site-header--sticky:not(.mobile-sticky-enable).scrolling {
    transform: translateY(-100%);
    transition: 0.4s;
  }
  .site-header--sticky:not(.mobile-sticky-enable).reveal-header {
    transform: translateY(0%);
    box-shadow: 0 12px 34px -11px rgba(65, 62, 101, 0.1);
    z-index: 1000;
  }
}

.site-header--sticky.mobile-sticky-enable {
  top: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  position: fixed !important;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  background-color: var(--bs-white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header--sticky.mobile-sticky-enable.scrolling {
  transform: translateY(-100%);
}
.site-header--sticky.mobile-sticky-enable.reveal-header {
  transform: translateY(0%);
  background-color: rgba(19, 34, 56, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
}

.site-header--sticky.mobile-sticky-enable .nav-link-item {
  color: var(--bs-gray-600);
}

.site-header--sticky.mobile-sticky-enable ~ .site-wrapper .ui-hero-area,
.ui-hero-area {
  padding-top: 100px !important;
}
@media (min-width: 576px) {
  .site-header--sticky.mobile-sticky-enable ~ .site-wrapper .ui-hero-area,
  .ui-hero-area {
    padding-top: 110px !important;
  }
}
@media (min-width: 768px) {
  .site-header--sticky.mobile-sticky-enable ~ .site-wrapper .ui-hero-area,
  .ui-hero-area {
    padding-top: 120px !important;
  }
}
@media (min-width: 992px) {
  .site-header--sticky.mobile-sticky-enable ~ .site-wrapper .ui-hero-area,
  .ui-hero-area {
    padding-top: 130px !important;
  }
}
@media (min-width: 1200px) {
  .site-header--sticky.mobile-sticky-enable ~ .site-wrapper .ui-hero-area,
  .ui-hero-area {
    padding-top: 140px !important;
  }
}
@media (min-width: 1400px) {
  .site-header--sticky.mobile-sticky-enable ~ .site-wrapper .ui-hero-area,
  .ui-hero-area {
    padding-top: 150px !important;
  }
}

/* Project Details Page - Header offset for sticky header */
.project-banner-area {
  padding-top: 100px !important;
}
@media (min-width: 576px) {
  .project-banner-area {
    padding-top: 110px !important;
  }
}
@media (min-width: 768px) {
  .project-banner-area {
    padding-top: 120px !important;
  }
}
@media (min-width: 992px) {
  .project-banner-area {
    padding-top: 130px !important;
  }
}
@media (min-width: 1200px) {
  .project-banner-area {
    padding-top: 140px !important;
  }
}
@media (min-width: 1400px) {
  .project-banner-area {
    padding-top: 150px !important;
  }
}

/* Case Study Hero Image */
.case-study-hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Project Details Page - Section Spacing */
.inner-project-details-area h2.title,
.inner-gallery-area h2.title,
.dev-project-area h2.title,
.ui-work-area h2.title {
  padding-top: 40px;
}

@media (min-width: 768px) {
  .inner-project-details-area h2.title,
  .inner-gallery-area h2.title,
  .dev-project-area h2.title,
  .ui-work-area h2.title {
    padding-top: 60px;
  }
}

@media (min-width: 992px) {
  .inner-project-details-area h2.title,
  .inner-gallery-area h2.title,
  .dev-project-area h2.title,
  .ui-work-area h2.title {
    padding-top: 40px;
  }
}

@media (min-width: 768px) {
  .case-study-hero-img {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media (min-width: 992px) {
  .case-study-hero-img {
    max-width: 80%;
  }
}

/* Project Details Page - Section Backgrounds and Styling */
.inner-project-details-area {
  background: var(--bs-bg-ui-linear-gradient-8, linear-gradient(180deg, rgba(232, 241, 252, 0.6) 0%, rgba(232, 241, 252, 0) 100%));
  padding: 3% 0;
}

.inner-gallery-area {
  background: var(--bs-gray-50, #F0F1F3);
  padding: 80px 0;
}

.ui-work-area {
  padding: 40px 0;
}

.ui-work-area .ui-section-title .text {
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .ui-work-area .ui-section-title .text {
    padding-bottom: 50px;
  }
}

@media (min-width: 992px) {
  .ui-work-area .ui-section-title .text {
    padding-bottom: 60px;
  }
}

@media (max-width: 767px) {
  .inner-project-details-area {
    padding: 80px 0;
  }

  .inner-gallery-area {
    padding: 60px 0;
  }

  .ui-work-area {
    padding: 60px 0;
  }
}

.site-header--menu-right .menu-block {
  margin-left: auto;
}

.mobile-menu-trigger-dark .mobile-menu-trigger span {
  background-color: var(--bs-gray-900);
}
.mobile-menu-trigger-dark .mobile-menu-trigger span::before, .mobile-menu-trigger-dark .mobile-menu-trigger span::after {
  background-color: var(--bs-gray-900);
}

/* UI Header */
.ui-header {
  padding: 22px 0;
}
@media (min-width: 992px) {
  .ui-header {
    padding: 32px 0;
  }
}
.ui-header .site-navbar {
  z-index: 99;
  position: relative;
}
.ui-header .site-header__brand .logo {
  display: flex;
  align-items: center;
}
.ui-header .site-header__brand .logo .icon {
  margin-right: 16px;
  max-width: 56px;
  min-width: 56px;
  min-height: 56px;
  max-height: 56px;
  justify-content: center;
  display: flex;
  align-items: center;
  background: var(--bs-tertiary-500);
  box-shadow: 0px 8px 24px rgba(138, 67, 255, 0.24);
  border-radius: 8px;
}
.ui-header .site-header__brand .logo .text-wrapper p {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  line-height: 120%;
  white-space: nowrap;
  color: var(--bs-gray-900);
  font-size: 18px;
}
@media (min-width: 575px) {
  .ui-header .site-header__brand .logo .text-wrapper p {
    font-size: 24px;
  }
}
.ui-header .site-header__brand .logo .text-wrapper span {
  text-transform: uppercase;
  font-family: "Sora", sans-serif;
  white-space: nowrap;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  color: var(--bs-gray-400);
}

/* Menu Styles */
@media (max-width: 991px) {
  .menu-block-wrapper {
    position: relative;
  }
}

.site-menu-main {
  margin-bottom: 0;
  padding-left: 0;
}
@media (min-width: 992px) {
  .site-menu-main {
    display: flex;
    margin-bottom: 0;
    padding-left: 0;
    margin-right: 24px;
  }
}
.site-menu-main li {
  list-style: none;
}
.site-menu-main ul {
  list-style: none;
  margin-left: 0;
}
.site-menu-main a {
  transition: 0.3s;
}
.site-menu-main .nav-item {
  display: inherit;
}
.site-menu-main .nav-link-item {
  color: var(--bs-gray-600);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  position: relative;
  transition: 0.3s;
}
.site-menu-main .nav-link-item:hover {
  color: var(--bs-gray-900);
}
@media (min-width: 992px) {
  .site-menu-main .nav-link-item {
    padding: 12px 8px;
  }
}
@media (min-width: 1200px) {
  .site-menu-main .nav-link-item {
    padding: 12px 12px;
  }
}

.ui-header .site-menu-main .nav-link-item {
  font-weight: 400;
  font-size: 16px;
  padding: 16px 15px;
  line-height: 24px;
  font-family: "Sora", sans-serif;
  color: var(--bs-gray-600);
}
.ui-header .site-menu-main .nav-link-item:hover {
  color: var(--bs-gray-900);
}

.mobile-menu-head,
.mobile-menu-trigger {
  display: none;
}

@media (max-width: 991px) {
  .site-header {
    overflow: visible !important;
    position: relative;
  }

  .site-header .container {
    overflow: visible !important;
  }

  .site-navbar {
    overflow: visible !important;
  }

  .site-header .mobile-menu-trigger {
    display: flex;
    height: 30px;
    width: 30px;
    margin-left: 15px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 10;
  }

  .site-header .mobile-menu-trigger span {
    display: block;
    height: 2px;
    background-color: white;
    width: 24px;
    position: relative;
  }

  .site-header .mobile-menu-trigger span:before,
  .site-header .mobile-menu-trigger span:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
  }

  .site-header .mobile-menu-trigger span:before {
    top: -8px;
  }

  .site-header .mobile-menu-trigger span:after {
    top: 8px;
  }

  .mobile-menu-trigger-dark .mobile-menu-trigger span {
    background-color: var(--bs-gray-900) !important;
  }

  .mobile-menu-trigger-dark .mobile-menu-trigger span::before,
  .mobile-menu-trigger-dark .mobile-menu-trigger span::after {
    background-color: var(--bs-gray-900) !important;
  }

  .site-header .menu-block {
    position: fixed;
    width: 320px;
    background-color: var(--bs-white);
    left: 0;
    top: 0;
    height: 100vh;
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translate(-100%);
    transition: all 0.5s ease;
    z-index: 1099;
    -webkit-overflow-scrolling: touch;
  }

  .site-header .menu-block.active {
    transform: translate(0%);
  }

  .site-menu-main {
    padding: 0 0 24px 0;
    margin: 0;
    list-style: none;
    min-height: min-content;
  }

  .site-menu-main > li {
    line-height: 1;
    margin: 0;
    display: block;
  }

  .site-menu-main > li > a {
    line-height: 50px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--bs-gray-100);
    color: var(--bs-gray-900);
    text-decoration: none;
  }

  .site-header .menu-block .mobile-menu-head {
    display: flex;
    border-bottom: 1px solid var(--bs-gray-100);
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 501;
    position: -webkit-sticky;
    position: sticky;
    background-color: var(--bs-white);
    top: 0;
  }

  .site-header .menu-block .mobile-menu-head .go-back {
    height: 50px;
    width: 50px;
    border-right: 1px solid var(--bs-gray-100);
    line-height: 50px;
    text-align: center;
    color: var(--bs-gray-900);
    font-size: 16px;
    display: none;
  }

  .site-header .menu-block .mobile-menu-head.active .go-back {
    display: block;
  }

  .site-header .menu-block .mobile-menu-head .current-menu-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--bs-gray-900);
    visibility: hidden;
  }

  .site-header .menu-block .mobile-menu-head.active .current-menu-title {
    visibility: visible;
  }

  .site-header .menu-block .mobile-menu-head .mobile-menu-close {
    height: 50px;
    width: 50px;
    border-left: 1px solid var(--bs-gray-100);
    line-height: 50px;
    text-align: center;
    color: var(--bs-gray-900);
    font-size: 25px;
    cursor: pointer;
  }

  .site-menu-main > li > a:hover {
    background-color: var(--bs-gray-100);
    color: var(--bs-gray-900);
  }
}

/* Menu Overlay - Outside media query for all screen sizes */
.menu-overlay {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1098;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease;
  pointer-events: none;
}

.menu-overlay.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.menu-overlay.active:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.nav-item-has-children a {
  display: flex;
  justify-content: space-between;
}

.menu-block-inner {
  display: block;
}

/* Buttons */
.ui-btn {
  border-radius: 12px !important;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  font-family: "Sora", sans-serif;
  padding: 1em 1.5em;
  line-height: 1;
  width: max-content;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.ui-btn:focus {
  box-shadow: none;
  outline: none;
}
.ui-btn:active:focus {
  box-shadow: none;
  outline: none;
}
.ui-btn svg path {
  transition: 0.3s;
}
.ui-btn.ui-btn-primary {
  color: white;
  background: var(--bs-tertiary-500);
  box-shadow: 0px 12px 48px rgba(138, 67, 255, 0.24);
}
.ui-btn.ui-btn-primary svg path {
  transition: 0.3s;
  stroke: white;
}
.ui-btn.ui-btn-primary:hover {
  box-shadow: none;
  color: var(--bs-tertiary-500);
  background: var(--bs-tertiary-50);
}
.ui-btn.ui-btn-primary:hover svg path {
  stroke: var(--bs-tertiary-500);
}
.ui-btn.ui-btn-tertiary {
  box-shadow: none;
  color: var(--bs-tertiary-500);
  background: var(--bs-tertiary-50);
  border: 3px solid transparent;
}
.ui-btn.ui-btn-tertiary:hover {
  background: transparent;
  box-shadow: none;
  border: 3px solid var(--bs-tertiary-50);
}

button:focus {
  outline: none;
}

/* Hero Area */
.ui-hero-area {
  background-color: #ffffff;
  position: relative;
  z-index: 1;
  padding-top: 45px;
}

/* Dot pattern with gradient fade */
.ui-hero-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  background-image: radial-gradient(#cccccc 1.15px, transparent 1.15px);
  background-size: 23px 23px;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.3) 90%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0.3) 90%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: -1;
}
@media (min-width: 575px) {
  .ui-hero-area {
    padding-top: 45px;
  }
}
@media (min-width: 992px) {
  .ui-hero-area {
    padding: 0;
  }
}
@media (min-width: 1200px) {
  .ui-hero-area {
    padding-bottom: 35px;
  }
}
@media (min-width: 1400px) {
  .ui-hero-area .ui-display-title {
    padding-top: 35px;
  }
}
.ui-hero-area .buttton-group {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
}
@media (max-width: 480px) {
  .ui-hero-area .buttton-group {
    flex-direction: column;
  }
}
.ui-hero-area .buttton-group a.ui-btn.ui-btn-primary {
  border: 3px solid var(--bs-tertiary-500);
}
.ui-hero-area .buttton-group a.ui-btn.ui-btn-primary:hover {
  background: white;
  border: 3px solid var(--bs-tertiary-500);
}
.ui-hero-area .buttton-group a.ui-btn.ui-btn-tertiary {
  box-shadow: none;
  color: var(--bs-tertiary-500);
  background: var(--bs-tertiary-50);
  border: 3px solid transparent;
}
.ui-hero-area .buttton-group a.ui-btn.ui-btn-tertiary svg path {
  stroke: var(--bs-tertiary-500);
}
.ui-hero-area .buttton-group a.ui-btn.ui-btn-tertiary:hover {
  background: transparent;
  box-shadow: none;
  border: 3px solid var(--bs-tertiary-50);
}
.ui-hero-area .buttton-group a.ui-btn.ui-btn-tertiary:hover svg path {
  transition: 0.3s;
  stroke: var(--bs-tertiary-500);
}
.ui-hero-area__image-group {
  position: relative;
}
@media (min-width: 1400px) {
  .ui-hero-area__image-group {
    margin-right: -6px;
  }
}

/* Tools Area */
.tools-area {
  background: var(--bs-white-2);
  box-shadow: inset 0px 1px 0px var(--bs-gray-100);
  border-bottom: 1px solid var(--bs-gray-100);
  padding: 40px 0;
}
@media (min-width: 575px) {
  .tools-area {
    padding: 80px 0;
  }
}
@media (min-width: 992px) {
  .tools-area {
    padding: 100px 0;
  }
}
.tools-area .dev-section-title {
  margin-bottom: 30px;
}
@media (min-width: 992px) {
  .tools-area .dev-section-title {
    margin-bottom: 50px;
  }
}

/* Card Row */
.card-row {
  margin-bottom: -24px;
}
.card-row [class^=col] {
  margin-bottom: 24px;
}

/* Logo Animation */
.logo-wrapper {
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  will-change: transform, opacity;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

.logo-animation-container {
  -webkit-overflow-scrolling: touch;
}

@keyframes bounceInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  60% {
    opacity: 1;
    transform: translateX(-15px);
  }
  80% {
    transform: translateX(5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    transform: translateX(15px);
  }
  80% {
    transform: translateX(-5px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceOutRight {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    opacity: 1;
    transform: translateX(15px);
  }
  100% {
    opacity: 0;
    transform: translateX(100px);
  }
}

@keyframes bounceOutLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  20% {
    transform: translateX(5px);
  }
  40% {
    opacity: 1;
    transform: translateX(-15px);
  }
  100% {
    opacity: 0;
    transform: translateX(-100px);
  }
}

.logo-animation-container.animate .logo-bounce-right {
  animation: bounceInRight 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

.logo-animation-container.animate .logo-bounce-left {
  animation: bounceInLeft 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

.logo-animation-container.animate-out .logo-bounce-right {
  animation: bounceOutRight 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

.logo-animation-container.animate-out .logo-bounce-left {
  animation: bounceOutLeft 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

.logo-animation-container.animate .logo-wrapper:nth-child(1) {
  animation-delay: 0.1s;
}

.logo-animation-container.animate .logo-wrapper:nth-child(2) {
  animation-delay: 0.2s;
}

.logo-animation-container.animate .logo-wrapper:nth-child(3) {
  animation-delay: 0.3s;
}

.logo-animation-container.animate .logo-wrapper:nth-child(4) {
  animation-delay: 0.4s;
}

.logo-animation-container.animate .logo-wrapper:nth-child(5) {
  animation-delay: 0.5s;
}

.logo-animation-container.animate .logo-wrapper:nth-child(6) {
  animation-delay: 0.6s;
}

.logo-animation-container.animate-out .logo-wrapper:nth-child(6) {
  animation-delay: 0.1s;
}

.logo-animation-container.animate-out .logo-wrapper:nth-child(5) {
  animation-delay: 0.2s;
}

.logo-animation-container.animate-out .logo-wrapper:nth-child(4) {
  animation-delay: 0.3s;
}

.logo-animation-container.animate-out .logo-wrapper:nth-child(3) {
  animation-delay: 0.4s;
}

.logo-animation-container.animate-out .logo-wrapper:nth-child(2) {
  animation-delay: 0.5s;
}

.logo-animation-container.animate-out .logo-wrapper:nth-child(1) {
  animation-delay: 0.6s;
}

.logo-wrapper:hover {
  transform: scale(1.1);
}

.logo-wrapper img {
  transition: filter 0.3s ease;
}

.logo-wrapper:hover img {
  filter: brightness(1.1);
}

.logo {
  display: flex;
  align-items: center;
}

/* Project Cards */
.dev-project-card {
  overflow: hidden;
  position: relative;
  text-align: center;
  padding-top: 15px;;
}
.dev-project-card .content {
  position: absolute;
  top: 0;
  left: 0;
  color: white;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(0deg, rgba(19, 34, 56, 0.8), rgba(19, 34, 56, 0.8));
  transform: translateY(100%);
  transition: 0.4s;
}
.dev-project-card .content .list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 8px;
}
.dev-project-card .content .list li {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.7);
}
.dev-project-card .content h6 {
  white-space: nowrap;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5555555556;
  margin-bottom: 18px;
  color: white;
}
@media (min-width: 480px) {
  .dev-project-card .content h6 {
    font-size: 18px;
  }
}
@media (min-width: 768px) {
  .dev-project-card .content h6 {
    font-size: 20px;
  }
}
.dev-project-card .content .link-btn {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: white;
  padding: 6px;
}
.dev-project-card:hover .content {
  transform: translateY(0%);
}

/* Strategy Zoom Container */
.strategy-zoom-container {
  overflow: hidden;
  position: relative;
}

.strategy-zoom-image {
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.8s ease;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.strategy-zoom-container.animate .strategy-zoom-image {
  animation: zoomIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.strategy-zoom-container.animate-out .strategy-zoom-image {
  animation: zoomOut 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

/* AI Zoom Container */
.ai-zoom-container {
  overflow: hidden;
  position: relative;
}

.ai-zoom-image {
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.8s ease;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  max-width: 70%;
  margin: 0 auto;
  display: block;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes zoomOut {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: scale(0.8);
    opacity: 0;
  }
}

.ai-zoom-container.animate .ai-zoom-image {
  animation: zoomIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.ai-zoom-container.animate-out .ai-zoom-image {
  animation: zoomOut 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

/* SaaS Zoom Container */
.saas-zoom-container {
  overflow: hidden;
  position: relative;
}

.saas-zoom-image {
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.8s ease;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.saas-zoom-container.animate .saas-zoom-image {
  animation: zoomIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.saas-zoom-container.animate-out .saas-zoom-image {
  animation: zoomOut 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

/* IOT Zoom Container */
.iot-zoom-container {
  overflow: hidden;
  position: relative;
}

.iot-zoom-image {
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.8s ease;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.iot-zoom-container.animate .iot-zoom-image {
  animation: zoomIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.iot-zoom-container.animate-out .iot-zoom-image {
  animation: zoomOut 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

/* Software Zoom Container */
.software-zoom-container {
  overflow: hidden;
  position: relative;
}

.software-zoom-image {
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.8s ease;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.software-zoom-container.animate .software-zoom-image {
  animation: zoomIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.software-zoom-container.animate-out .software-zoom-image {
  animation: zoomOut 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

/* App Walkthrough Animation */
.app-walkthrough-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 40px 150px;
  position: relative;
  min-height: 600px;
  overflow: visible;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* Ensure parent containers don't clip the walkthrough */
.dev-project-card:has(.app-walkthrough-container) {
  overflow: visible;
}

.dev-project-area__slider,
.dev-project-slider,
.single-slider {
  overflow: visible;
}

.app-screen {
  position: absolute;
  max-width: 280px;
  width: 100%;
  opacity: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-walkthrough-container.animate .app-screen {
  animation: revealCard 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.app-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 55, 65, 0.75);
  border-radius: 20px;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0.75;
}

.app-screen:hover::before {
  opacity: 0;
}

.app-screen-1::before {
  opacity: 0;
}

.app-screen img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  display: block;
  position: relative;
}

.app-screen-1 {
  z-index: 4;
  transform: translateX(-130px) translateY(20px) rotate(-8deg);
}

.app-walkthrough-container.animate .app-screen-1 {
  animation-delay: 0.2s;
}

.app-screen-2 {
  z-index: 3;
  transform: translateX(-45px) translateY(10px) rotate(-3deg);
}

.app-walkthrough-container.animate .app-screen-2 {
  animation-delay: 0.4s;
}

.app-screen-3 {
  z-index: 2;
  transform: translateX(45px) translateY(10px) rotate(3deg);
}

.app-walkthrough-container.animate .app-screen-3 {
  animation-delay: 0.6s;
}

.app-screen-4 {
  z-index: 1;
  transform: translateX(130px) translateY(20px) rotate(8deg);
}

.app-walkthrough-container.animate .app-screen-4 {
  animation-delay: 0.8s;
}

.app-screen:hover {
  transform: translateX(var(--hover-x, 0)) translateY(-20px) rotate(var(--hover-rotate, 0deg)) scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  z-index: 10 !important;
  cursor: pointer;
}

.app-screen-1:hover {
  --hover-x: -130px;
  --hover-rotate: -8deg;
}

.app-screen-2:hover {
  --hover-x: -45px;
  --hover-rotate: -3deg;
}

.app-screen-3:hover {
  --hover-x: 45px;
  --hover-rotate: 3deg;
}

.app-screen-4:hover {
  --hover-x: 130px;
  --hover-rotate: 8deg;
}

@keyframes revealCard {
  0% {
    opacity: 0;
    transform: translateX(var(--start-x, 0)) translateY(100px) rotate(var(--start-rotate, 0deg)) scale(0.8);
  }
  60% {
    opacity: 1;
    transform: translateX(var(--end-x, 0)) translateY(calc(var(--end-y, 0) - 10px)) rotate(calc(var(--end-rotate, 0deg) + 5deg)) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateX(var(--end-x, 0)) translateY(var(--end-y, 0)) rotate(var(--end-rotate, 0deg)) scale(1);
  }
}

@keyframes hideCard {
  0% {
    opacity: 1;
    transform: translateX(var(--end-x, 0)) translateY(var(--end-y, 0)) rotate(var(--end-rotate, 0deg)) scale(1);
  }
  40% {
    opacity: 1;
    transform: translateX(var(--end-x, 0)) translateY(calc(var(--end-y, 0) - 10px)) rotate(calc(var(--end-rotate, 0deg) + 5deg)) scale(1.05);
  }
  100% {
    opacity: 0;
    transform: translateX(var(--start-x, 0)) translateY(100px) rotate(var(--start-rotate, 0deg)) scale(0.8);
  }
}

.app-walkthrough-container.animate-out .app-screen {
  animation: hideCard 0.6s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

.app-screen-1 {
  --start-x: -130px;
  --start-rotate: -8deg;
  --end-x: -130px;
  --end-y: 20px;
  --end-rotate: -8deg;
}

.app-screen-2 {
  --start-x: -45px;
  --start-rotate: -3deg;
  --end-x: -45px;
  --end-y: 10px;
  --end-rotate: -3deg;
}

.app-screen-3 {
  --start-x: 45px;
  --start-rotate: 3deg;
  --end-x: 45px;
  --end-y: 10px;
  --end-rotate: 3deg;
}

.app-screen-4 {
  --start-x: 130px;
  --start-rotate: 8deg;
  --end-x: 130px;
  --end-y: 20px;
  --end-rotate: 8deg;
}

@media (max-width: 991px) {
  .app-walkthrough-container {
    min-height: 500px;
    padding: 50px 30px 70px;
  }

  .app-screen {
    max-width: 200px;
  }

  .app-screen-1 {
    transform: translateX(-100px) translateY(15px) rotate(-8deg);
    --end-x: -100px;
    --start-x: -100px;
  }

  .app-screen-2 {
    transform: translateX(-35px) translateY(8px) rotate(-3deg);
    --end-x: -35px;
    --start-x: -35px;
  }

  .app-screen-3 {
    transform: translateX(35px) translateY(8px) rotate(3deg);
    --end-x: 35px;
    --start-x: 35px;
  }

  .app-screen-4 {
    transform: translateX(100px) translateY(15px) rotate(8deg);
    --end-x: 100px;
    --start-x: 100px;
  }
}

@media (max-width: 767px) {
  .app-walkthrough-container {
    min-height: 450px;
    padding: 40px 20px 60px;
  }

  .app-screen {
    max-width: 160px;
  }

  .app-screen-1 {
    transform: translateX(-80px) translateY(12px) rotate(-8deg);
    --end-x: -80px;
    --start-x: -80px;
  }

  .app-screen-2 {
    transform: translateX(-28px) translateY(6px) rotate(-3deg);
    --end-x: -28px;
    --start-x: -28px;
  }

  .app-screen-3 {
    transform: translateX(28px) translateY(6px) rotate(3deg);
    --end-x: 28px;
    --start-x: 28px;
  }

  .app-screen-4 {
    transform: translateX(80px) translateY(12px) rotate(8deg);
    --end-x: 80px;
    --start-x: 80px;
  }
}

@media (max-width: 575px) {
  .app-walkthrough-container {
    min-height: 380px;
    padding: 30px 15px 50px;
  }

  .app-screen {
    max-width: 130px;
  }

  .app-screen-1 {
    transform: translateX(-60px) translateY(10px) rotate(-6deg);
    --end-x: -60px;
    --start-x: -60px;
    --end-rotate: -6deg;
    --start-rotate: -6deg;
  }

  .app-screen-2 {
    transform: translateX(-22px) translateY(5px) rotate(-2deg);
    --end-x: -22px;
    --start-x: -22px;
    --end-rotate: -2deg;
    --start-rotate: -2deg;
  }

  .app-screen-3 {
    transform: translateX(22px) translateY(5px) rotate(2deg);
    --end-x: 22px;
    --start-x: 22px;
    --end-rotate: 2deg;
    --start-rotate: 2deg;
  }

  .app-screen-4 {
    transform: translateX(60px) translateY(10px) rotate(6deg);
    --end-x: 60px;
    --start-x: 60px;
    --end-rotate: 6deg;
    --start-rotate: 6deg;
  }
}

/* UI About Area */
.ui-about-area__content {
  padding-top: 20px;
}

.ui-about-area__content .text {
  color: var(--bs-gray-900);
  font-family: "Sora", sans-serif;
  font-weight: 300;
  line-height: 144%;
  font-size: 16px;
  margin-bottom: 20px;
}
@media (min-width: 992px) {
  .ui-about-area__content .text {
    font-size: 18px;
  }
}

/* Consistent padding for content areas on small screens */
@media (max-width: 767px) {
  .ui-about-area__content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ui-about-area__content h3 {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 10px;
  }

  .ui-about-area__content p,
  .ui-about-area__content .text {
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }

  /* Add padding to standalone h3 tags in project sections */
  .container > .row > h3,
  .tools-area .container h3 {
    padding-left: 0px;
    padding-right: 0px;
  }

  /* Ensure project card content has proper padding */
  .dev-project-card .content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* CTA Area */
.ui-cta-area {
  background-size: cover;
  position: relative;
  background-repeat: no-repeat;
  z-index: 11;
  padding: 60px 0;
}
@media (min-width: 768px) {
  .ui-cta-area {
    padding: 80px 0;
  }
}
@media (min-width: 992px) {
  .ui-cta-area {
    padding: 100px 0;
  }
}
@media (min-width: 1200px) {
  .ui-cta-area {
    padding: 120px 0;
  }
}
.ui-cta-area .ui-section-title .title {
  color: var(--bs-white) !important;
}

/* Menu List */
.menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.menu-list li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.menu-list li .icon {
  min-height: 56px;
  max-height: 56px;
  min-width: 56px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bs-tertiary-50);
}
.menu-list li .icon svg path {
  stroke: var(--bs-tertiary-500);
}
.menu-list li .text span {
  color: var(--bs-gray-600);
  font-family: "Sora", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  display: block;
}
.menu-list li .text h6 {
  color: var(--bs-white);
  padding-top: 6px;
  font-family: "Sora", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

/* Modal Styles */
.modal {
  z-index: 10000;
}

.modal-backdrop {
  z-index: 9999;
}

.modal-dialog {
  max-width: 500px;
  margin: 1.75rem auto;
}

.modal-xl {
  max-width: 1140px;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: calc(0.3rem - 1px);
  border-bottom-left-radius: calc(0.3rem - 1px);
}

.btn-close {
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em 0.25em;
  color: #000;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  border-radius: 0.25rem;
  opacity: 0.5;
}

.btn-close:hover {
  color: #000;
  text-decoration: none;
  opacity: 0.75;
}

.fade {
  transition: opacity 0.15s linear;
}

.fade:not(.show) {
  opacity: 0;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}

.modal.show .modal-dialog {
  transform: none;
}

/* Custom Modal Styles */
#websiteTransformModal .modal-content,
#coachingModal .modal-content,
#fishHunterModal .modal-content,
#geomechanicaModal .modal-content,
#personasModal .modal-content,
#customerJourneyModal .modal-content,
#usabilityTestingModal .modal-content,
#heuristicModal .modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#websiteTransformModal .modal-header,
#coachingModal .modal-header,
#fishHunterModal .modal-header,
#geomechanicaModal .modal-header,
#personasModal .modal-header,
#customerJourneyModal .modal-header,
#usabilityTestingModal .modal-header,
#heuristicModal .modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px 15px 0 0;
  padding: 20px 30px;
  border: none;
}

#websiteTransformModal .modal-title,
#coachingModal .modal-title,
#fishHunterModal .modal-title,
#geomechanicaModal .modal-title,
#personasModal .modal-title,
#customerJourneyModal .modal-title,
#usabilityTestingModal .modal-title,
#heuristicModal .modal-title {
  font-weight: 700;
  font-size: 24px;
  margin: 0;
}

#websiteTransformModal .btn-close,
#coachingModal .btn-close,
#fishHunterModal .btn-close,
#geomechanicaModal .btn-close,
#personasModal .btn-close,
#customerJourneyModal .btn-close,
#usabilityTestingModal .btn-close,
#heuristicModal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 1;
}

#websiteTransformModal .modal-body,
#coachingModal .modal-body,
#fishHunterModal .modal-body,
#geomechanicaModal .modal-body,
#personasModal .modal-body,
#customerJourneyModal .modal-body,
#usabilityTestingModal .modal-body,
#heuristicModal .modal-body {
  padding: 30px;
  background-color: #f8f9fa;
}

#websiteTransformModal .modal-footer,
#coachingModal .modal-footer,
#fishHunterModal .modal-footer,
#geomechanicaModal .modal-footer,
#personasModal .modal-footer,
#customerJourneyModal .modal-footer,
#usabilityTestingModal .modal-footer,
#heuristicModal .modal-footer {
  border-top: none;
  padding: 20px 30px;
  background-color: #f8f9fa;
  border-radius: 0 0 15px 15px;
}

#coachingModal .modal-body img,
#fishHunterModal .modal-body img,
#geomechanicaModal .modal-body img,
#personasModal .modal-body img,
#customerJourneyModal .modal-body img,
#usabilityTestingModal .modal-body img,
#heuristicModal .modal-body img {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Carousel Styles */
.carousel {
  position: relative;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}

.carousel-item.active {
  display: block;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #fff;
  text-align: center;
  background: none;
  border: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#websiteTransformModal .carousel-item img {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#websiteTransformModal .carousel-control-prev-icon,
#websiteTransformModal .carousel-control-next-icon {
  background-color: rgba(102, 126, 234, 0.8);
  border-radius: 50%;
  padding: 20px;
}

#websiteTransformModal .carousel-indicators-below {
  position: relative;
  bottom: auto;
  margin: 0;
  gap: 8px;
}

#websiteTransformModal .carousel-indicators-below button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #667eea;
  background-color: transparent;
  opacity: 0.5;
  transition: all 0.3s ease;
  margin: 0;
}

#websiteTransformModal .carousel-indicators-below button.active {
  background-color: #667eea;
  opacity: 1;
  transform: scale(1.2);
}

#websiteTransformModal .carousel-indicators-below button:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

#websiteTransformModal .carousel-caption-below {
  background-color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#websiteTransformModal .carousel-caption-below .slide-title {
  color: #667eea;
  font-weight: 600;
  font-size: 20px;
  margin: 0;
}

#websiteTransformModal .modal-text-content {
  background-color: white;
  padding: 25px;
  border-radius: 10px;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#websiteTransformModal .modal-text-content h4 {
  color: #667eea;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
}

#websiteTransformModal .modal-text-content h5 {
  color: #764ba2;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 18px;
}

#websiteTransformModal .modal-text-content ul {
  padding-left: 20px;
  margin-bottom: 0;
}

#websiteTransformModal .modal-text-content ul li {
  margin-bottom: 8px;
  color: #555;
}

@media (max-width: 991px) {
  #websiteTransformModal .modal-text-content {
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  #websiteTransformModal .modal-title,
  #coachingModal .modal-title,
  #fishHunterModal .modal-title,
  #geomechanicaModal .modal-title,
  #personasModal .modal-title,
  #customerJourneyModal .modal-title,
  #usabilityTestingModal .modal-title,
  #heuristicModal .modal-title {
    font-size: 18px;
  }

  #websiteTransformModal .modal-body,
  #coachingModal .modal-body,
  #fishHunterModal .modal-body,
  #geomechanicaModal .modal-body,
  #personasModal .modal-body,
  #customerJourneyModal .modal-body,
  #usabilityTestingModal .modal-body,
  #heuristicModal .modal-body {
    padding: 20px;
  }

  #websiteTransformModal .modal-text-content {
    padding: 20px;
  }
}

/* Journey Path Animation */
.journey-animation-container {
  padding: 120px 40px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  overflow: hidden;
}

.journey-path-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

#journeyPathSvg {
  width: 100%;
  height: auto;
  display: block;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

#journeyPath {
  filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.3));
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.journey-animation-container.animate .map-marker {
  animation: popIn 0.6s ease-out forwards;
}

.map-marker img {
  width: 40px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.4));
}

.journey-animation-container.animate .map-marker img {
  animation: bounce 2s ease-in-out infinite;
}

.marker-label {
  background: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  color: #667eea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.journey-bus {
  position: absolute;
  opacity: 0;
  z-index: 10;
  transition: opacity 0.3s ease-in;
  will-change: transform, top, left;
  pointer-events: none;
}

.journey-bus img {
  width: 40px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.5));
  transform-origin: center center;
  display: block;
  max-width: 100%;
  -moz-transform-origin: center center;
}

.marker-start {
  left: 2%;
  top: 95%;
}

.journey-animation-container.animate .marker-start {
  animation-delay: 0.3s;
}

.marker-middle {
  left: 50%;
  top: 60%;
}

.journey-animation-container.animate .marker-middle {
  animation-delay: .9s;
}

.marker-end {
  left: 95%;
  top: 5%;
}

.journey-animation-container.animate .marker-end {
  animation-delay: 1.2s;
}

@media (max-width: 768px) {
  .journey-animation-container {
    padding: 80px 20px;
  }

  .journey-path-wrapper {
    padding: 0 20px;
  }

  .map-marker img {
    width: 30px;
  }

  .marker-label {
    font-size: 12px;
    padding: 6px 12px;
  }

  .journey-bus img {
    width: 30px;
  }

  .marker-start {
    left: 5%;
    top: 90%;
  }

  .marker-middle {
    left: 50%;
    top: 55%;
  }

  .marker-end {
    left: 95%;
    top: 8%;
  }
}

@media (max-width: 480px) {
  .journey-animation-container {
    padding: 60px 15px;
  }

  .journey-path-wrapper {
    padding: 0 15px;
  }

  .journey-bus img {
    width: 20px;
  }

  .map-marker img {
    width: 25px;
  }

  .marker-label {
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* Rotating Text Animation */
.hero-title-animated {
  font-size: 28px !important;
  line-height: 1.3 !important;
}

@media (min-width: 480px) {
  .hero-title-animated {
    font-size: 32px !important;
  }
}

@media (min-width: 768px) {
  .hero-title-animated {
    font-size: 36px !important;
    padding-top: 20px !important;
  }
}

@media (min-width: 992px) {
  .hero-title-animated {
    font-size: 42px !important;
    padding-top: 25px !important;
  }
}

@media (min-width: 1200px) {
  .hero-title-animated {
    font-size: 48px !important;
    padding-top: 25px !important;
  }
}

@media (min-width: 1400px) {
  .hero-title-animated {
    padding-top: 25px !important;
  }
}

.rotating-text-wrapper {
  display: inline-block;
  vertical-align: top;
}

.rotating-text {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.rotating-text span {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  animation: rotateText 16s ease-in-out infinite;
  text-decoration: none;
}

.rotating-text span:nth-child(1) {
  animation-delay: 0s;
}

.rotating-text span:nth-child(2) {
  animation-delay: 5.33s;
}

.rotating-text span:nth-child(3) {
  animation-delay: 10.67s;
}

@keyframes rotateText {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  28% {
    opacity: 1;
  }
  33% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Signature Animation */
.signature-animation-wrapper {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero-signature-svg {
  width: 100%;
  height: auto;
  max-width: 400px;
}

.hero-signature-path {
  fill: none;
  stroke: #8A43FF;
  stroke-width: 5;
  stroke-linecap: round;
}

/* Hardware acceleration for animations */
.logo-wrapper,
.app-screen,
.strategy-zoom-image,
.ai-zoom-image,
.saas-zoom-image,
.iot-zoom-image,
.software-zoom-image,
.journey-bus,
.map-marker {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================================================
   INLINE STYLES REFACTORED TO CLASSES
   ============================================================================= */

/* Logo sizing utility */
.logo-size-120 {
  max-width: 120px;
  margin: 0 auto;
}

/* Project section heading spacing */
.project-heading {
  padding-bottom: 15px;
  padding-top: 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--bs-gray-900);
 
}

.ui-about-area__content .project-heading {
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 18px;
}

.ui-about-area__content .project-heading:first-child {
  margin-top: 0;
}

/* Project section heading alternate spacing */
.project-heading-alt {
  padding-bottom: 20px;
  padding-top: 5px;
   text-align: center;
}

/* Remove list style */
.no-list-style {
  list-style-type: none;
}

/* Icon Attribution Section */
.icon-attribution-section {
  background: var(--bs-tertiary-500);
  padding: 3rem 2rem;
  margin-top: 4rem;
  margin-bottom: 3rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-attribution-section h3 {
  color: white;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: "Sora", sans-serif;
}

.icon-attribution-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 0;
  font-family: "Sora", sans-serif;
}

.attribution-link {
  text-decoration: none;
  display: block;
}

.attribution-link:hover .icon-attribution-section {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(138, 67, 255, 0.3);
}

@media (max-width: 767px) {
  .icon-attribution-section h3 {
    font-size: 20px;
  }

  .icon-attribution-section p {
    font-size: 16px;
  }

  .icon-attribution-section {
    padding: 2rem 1.5rem;
  }
}

/* CTA background color */
.cta-bg-color {
  background-color: #132238;
}

/* Icon margin utility */
.icon-margin-right {
  margin-right: 5px;
}

/* Icon padding utility */
.icon-padding-left {
  padding-left: 5px;
}

/* =============================================================================
   UX RESEARCH SECTION - BLOG CARDS
   ============================================================================= */

/* Blog Card Styles */
.ui-blog-card {
  background: var(--bs-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

/* =============================================================================
   UXR INTERACTIVE DEMO SECTION - CONSOLIDATED FROM uxr.css
   ============================================================================= */

/* Canvas Container */
.canvas-container {
  width: 100%;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  position: relative;
  min-height: 450vh;
  background: linear-gradient(to bottom,
      white 0%,
      white 20%,
      #f9f9f9 20%,
      #f9f9f9 40%,
      white 40%,
      white 60%,
      #f9f9f9 60%,
      #f9f9f9 80%,
      white 80%);
}

/* Canvas container inside column layout - let it adapt to column width */
.canvas-container {
  min-height: auto !important;
  background: white !important;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

/* Scroll indicators */
.scroll-indicator {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  z-index: 1000;
  max-width: 200px;
}

.scroll-indicator h4 {
  margin-bottom: 0.5rem;
  color: #00D9C1;
  font-size: 1rem;
}

.scroll-indicator .threshold {
  padding: 0.25rem 0;
  border-left: 3px solid transparent;
  padding-left: 0.5rem;
  margin: 0.25rem 0;
}

.scroll-indicator .threshold.active {
  border-left-color: #00D9C1;
  font-weight: bold;
}

/* Icon Canvas - for scattered icons */
.icon-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Noun Project Icon */
.np-icon {
  position: absolute;
  width: 64px;
  height: 64px;
  cursor: pointer;
  transition: transform 0.2s ease;
  pointer-events: all;
  opacity: 0;
}

.np-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.np-icon {
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  transition: filter 0.3s ease;
}

.np-icon:hover {
  filter: drop-shadow(0 4px 12px rgba(0, 217, 193, 0.4));
  z-index: 100 !important;
}

/* Persona Layout - Mobile Mockup Style */
.persona-layout {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  max-width: 360px;
  max-height: 80vh;
  margin: 0 auto;
  overflow-y: auto;
  overflow-x: hidden;
  /* Mobile device mockup styling */
  border: 8px solid #2c2c2c;
  border-radius: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3),
              inset 0 0 0 2px #1a1a1a;
  background: white;
  font-size: 0.85rem;
}

.persona-layout.visible {
  opacity: 1;
}

/* Large screens - reduce height to 75vh */
@media (min-width: 1200px) {
  .persona-layout {
    max-height: 75vh;
  }
}

/* Icon sizing within slots - Smaller for mobile mockup */
.persona-layout .icon-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.persona-layout .icon-slot img,
.persona-layout .icon-slot .icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 18px;
  max-height: 18px;
}

/* Size variants */
.persona-layout .icon-slot.size-small {
  width: 18px;
  height: 18px;
}

.persona-layout .icon-slot.size-small img {
  max-width: 18px;
  max-height: 18px;
}

/* Keep quotation marks at smaller size */
.persona-layout .quote-icon-slot .icon-slot {
  width: 16px;
  height: 16px;
}

.persona-layout .quote-icon-slot .icon-slot img {
  max-width: 16px;
  max-height: 16px;
}

/* Smaller icons for goal and footer sections */
.persona-layout .goal-icon-slot,
.persona-layout .footer-icon-slot {
  width: 20px !important;
  height: 20px !important;
}

.persona-layout .goal-icon-slot img,
.persona-layout .footer-icon-slot img {
  max-width: 20px !important;
  max-height: 20px !important;
}

.persona-layout .icon-slot.size-large,
.persona-layout .persona-avatar-slot .icon-slot {
  width: 80px;
  height: 80px;
}

.persona-layout .icon-slot.size-large img,
.persona-layout .persona-avatar-slot .icon-slot img {
  max-width: 80px;
  max-height: 80px;
}

.persona-layout .footer-icon-slot .icon-slot {
  width: 28px;
  height: 28px;
}

.persona-layout .footer-icon-slot .icon-slot img {
  max-width: 28px;
  max-height: 28px;
  width: 100%;
  height: 100%;
}

/* Specific sizing for happy face icon - smaller to prevent overlap */
.persona-layout .footer-header .footer-icon-slot .icon-slot[data-icon-id="7709387"] {
  width: 32px !important;
  height: 32px !important;
}

.persona-layout .footer-header .footer-icon-slot .icon-slot[data-icon-id="7709387"] img {
  max-width: 32px !important;
  max-height: 32px !important;
  width: 32px !important;
  height: 32px !important;
}

/* Specific sizing for sad face icon - smaller to prevent overlap */
.persona-layout .footer-header .footer-icon-slot .icon-slot[data-icon-id="7709375"] {
  width: 32px !important;
  height: 32px !important;
}

.persona-layout .footer-header .footer-icon-slot .icon-slot[data-icon-id="7709375"] img {
  max-width: 32px !important;
  max-height: 32px !important;
  width: 32px !important;
  height: 32px !important;
}

/* Ensure checkmark icons are the same size */
.persona-layout .icon-slot[data-icon-id="5020854"],
.persona-layout .icon-slot[data-icon-id="2866731"] {
  width: 18px !important;
  height: 18px !important;
}

.persona-layout .icon-slot[data-icon-id="5020854"] img,
.persona-layout .icon-slot[data-icon-id="2866731"] img {
  max-width: 18px !important;
  max-height: 18px !important;
  width: 18px !important;
  height: 18px !important;
}

/* Persona Animation classes */
.persona-layout.visible .persona-hero {
  animation: zoomIn 0.8s ease-out forwards;
}

.persona-layout.visible .persona-goals {
  animation: slideInLeft 0.8s ease-out 0.3s forwards;
}

.persona-layout.visible .persona-right-side {
  animation: slideInRight 0.8s ease-out 0.3s forwards;
}

.persona-layout.visible .persona-footer {
  animation: slideInUp 0.8s ease-out 0.6s forwards;
}

/* Hero Section - Top to Bottom Layout */
.persona-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: #d5d5d5;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
  text-align: center;
}

.persona-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  order: 1;
}

.persona-name span {
  font-weight: 400;
  margin-left: 0.5rem;
}

.persona-avatar-slot {
  width: 70px;
  height: 70px;
  background: #e0d4f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  order: 2;
}

.persona-avatar-slot .icon-slot {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.persona-hero-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quote-container {
  display: flex;
  align-items: flex-start;
  gap: 0.2rem;
  order: 3;
  max-width: 95%;
  justify-content: center;
}

.quote-icon-slot {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  position: relative;
  align-self: flex-start;
}

.quote-icon-slot .icon-slot {
  width: 16px;
  height: 16px;
  background: transparent;
}

.persona-quote {
  font-size: 0.65rem;
  font-style: italic;
  line-height: 1.25;
  color: #333;
  text-align: center;
}

/* Main Content Grid */
.persona-main-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  background: white;
  padding: 1rem;
}

.persona-divider {
  width: 1px;
  background: #999;
  margin: 0 0.75rem;
}

/* Goals Section */
.persona-goals {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.goal-section {
  position: relative;
}

.goal-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.goal-icon-slot {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  position: relative;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.goal-title {
  font-size: 0.8rem;
  font-weight: 700;
}

.text-line {
  height: 6px;
  background: #333;
  border-radius: 2px;
  margin-bottom: 0.3rem;
}

/* Right Side - Background & Tech */
.persona-right-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-section {
  position: relative;
}

.info-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.icon-slot {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.icon-slot img,
.icon-slot .icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 100 !important;
  will-change: transform, opacity;
  transform-origin: center center;
}

/* Ensure icon images are visible in all template types */
.persona-layout .icon-slot img,
.persona-layout .icon-slot .icon-img,
.journey-layout .icon-slot img,
.journey-layout .icon-slot .icon-img,
.heuristic-layout .icon-slot img,
.heuristic-layout .icon-slot .icon-img,
.usability-layout .icon-slot img,
.usability-layout .icon-slot .icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  will-change: transform, opacity;
  transform-origin: center center;
}

/* Size variations */
.icon-slot.size-small {
  width: 32px;
  height: 32px;
}

.icon-slot.size-medium {
  width: 40px;
  height: 40px;
}

.icon-slot.size-large {
  width: 48px;
  height: 48px;
}

.icon-slot.size-xlarge {
  width: 64px;
  height: 64px;
}

.icon-slot.highlight {
  background: rgba(0, 217, 193, 0.2);
  border: 2px dashed #00D9C1;
}

/* Icon slot numbering - only show when data-slot-number exists */
.icon-slot[data-slot-number]::before {
  content: attr(data-slot-number);
  position: absolute;
  top: 2px;
  left: 2px;
  background: #00D9C1;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 3px;
  z-index: 10;
  line-height: 1;
}

/* Footer Section */
.persona-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  background: white;
  padding: 1rem;
  border-top: 1px solid #999;
}

.footer-section {
  position: relative;
}

.footer-header {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.footer-icon-slot {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
  position: relative;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-title {
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

/* Loading State */
.loading {
  text-align: center;
  padding: 3rem;
  font-size: 1.2rem;
  color: #666;
}

.loading.hidden {
  display: none;
}

/* Info Panel */
.info-panel {
  background: #e6f9f6;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid #00D9C1;
}

.info-panel h3 {
  margin-bottom: 0.5rem;
  color: #00D9C1;
}

.info-panel ul {
  margin-left: 1.5rem;
  line-height: 1.8;
}

/* Customer Journey Layout */
.journey-layout {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  overflow-y: auto;
  overflow-x: hidden;
  visibility: hidden;
  /* Desktop mockup styling */
  border: 2px solid #d0d0d0;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12),
              0 2px 8px rgba(0,0,0,0.08);
  background: white;
}

.journey-layout.visible {
  opacity: 1;
  visibility: visible;
}

/* Journey Icon Sizing - Larger for desktop layout */
.journey-layout .icon-slot {
  width: 48px;
  height: 48px;
}

.journey-layout .icon-slot img,
.journey-layout .icon-slot .icon-img {
  max-width: 48px;
  max-height: 48px;
}

/* Journey specific variants from inline styles */
.journey-persona {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 180px;
}

.journey-persona-avatar {
  width: 60px;
  height: 60px;
}

.journey-persona-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.journey-persona-role {
  color: #666;
  font-size: 0.9rem;
}

.journey-about,
.journey-goal {
  flex: 1;
}

.journey-phase-label {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #333;
  font-size: 1rem;
}

.journey-phase-grid {
  display: flex;
  margin-bottom: 1.5rem;
  gap: 0;
}

.journey-phase {
  position: relative;
  background: #e3f2fd;
  padding: 1rem 1rem 1rem 2rem;
  text-align: center;
  font-weight: 600;
  color: #1976d2;
  flex: 1;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.journey-phase:first-child {
  margin-left: 0;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
  border-radius: 8px 0 0 8px;
}

.journey-phase:last-child {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20px 50%);
  border-radius: 0 8px 8px 0;
}

.journey-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.journey-row-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex: 1;
}

.journey-cell {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-right: 1px solid #e0e0e0;
  min-height: 80px;
}

.journey-cell:last-child {
  border-right: none;
}

.journey-cell img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Journey Scroll Wrapper - for mobile horizontal scroll */
.journey-scroll-wrapper {
  width: 100%;
}

.journey-scroll-content {
  width: 100%;
}

/* Mobile: Horizontal scroll for phases and rows */
@media (max-width: 768px) {
  .journey-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1rem;
    padding: 0 1rem;
  }

  .journey-scroll-content {
    display: flex;
    flex-direction: column;
    min-width: 600px;
    width: max-content;
  }

  /* Phases row - keep chevrons in a row */
  .journey-phase-grid {
    display: flex;
    min-width: 600px;
  }

  .journey-phase {
    flex: 0 0 150px;
    min-width: 150px;
  }

  /* Row structure - label + cells stay aligned */
  .journey-row {
    display: flex;
    min-width: 600px;
  }

  .journey-row-label {
    flex: 0 0 40px;
    min-width: 40px;
  }

  .journey-row-content {
    display: flex;
    flex: 1;
  }

  .journey-cell {
    flex: 0 0 150px;
    min-width: 150px;
  }
}

.journey-footer-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

/* Journey Animations */
.journey-layout.visible .journey-header {
  animation: slideInUp 0.8s ease-out forwards;
}

.journey-layout.visible .journey-phases {
  animation: slideInLeft 0.8s ease-out 0.2s forwards;
}

.journey-layout.visible .journey-feeling {
  animation: slideInRight 0.8s ease-out 0.4s forwards;
}

.journey-layout.visible .journey-channel {
  animation: slideInLeft 0.8s ease-out 0.5s forwards;
}

.journey-layout.visible .journey-doing {
  animation: slideInRight 0.8s ease-out 0.6s forwards;
}

.journey-layout.visible .journey-footer {
  animation: slideInUp 0.8s ease-out 0.7s forwards;
}

/* Journey Header */
.journey-header {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.journey-persona-box {
  background: #c5c5c5;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.journey-persona-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.journey-persona-name span {
  font-weight: 400;
}

.journey-avatar-slot {
  width: 100px;
  height: 100px;
  background: #e0d4f7;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journey-about-box,
.journey-goal-box {
  background: #c5c5c5;
  padding: 1.5rem;
  border-radius: 8px;
}

.journey-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Journey Phases */
.journey-phases {
  margin-bottom: 1rem;
}

.journey-phases-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.journey-chevrons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: #c5c5c5;
  padding: 1rem;
  border-radius: 8px;
}

.chevron {
  background: #a0a0a0;
  color: #000;
  font-weight: 700;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
  position: relative;
}

.chevron:first-child {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
}

/* Journey Row Label */
.journey-row-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 0.5rem;
  background: #e0e0e0;
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feeling Section */
.journey-feeling {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feeling-graph {
  background: #c5c5c5;
  padding: 1.5rem;
  border-radius: 8px;
  position: relative;
  height: 120px;
}

.feeling-point {
  position: absolute;
}

/* Channel Section */
.journey-channel {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.channel-icons {
  background: #c5c5c5;
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  gap: 4rem;
  justify-content: space-around;
  align-items: center;
}

/* Doing Section */
.journey-doing {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.doing-grid {
  background: #c5c5c5;
  padding: 1.5rem;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.doing-phase {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem;
  background: #b0b0b0;
  border-radius: 4px;
  border-right: 2px solid #999;
}

.doing-phase:last-child {
  border-right: none;
}

/* Journey Footer */
.journey-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.opportunities-box,
.kpis-box {
  background: #c5c5c5;
  padding: 1.5rem;
  border-radius: 8px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Heuristic/Expert Review Layout - Match Persona Dimensions */
.heuristic-layout {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  max-width: 360px;
  width: 360px;
  min-height: 600px;
  max-height: 80vh;
  margin: 0 auto;
  overflow: hidden;
  visibility: hidden;
  /* Mobile device mockup styling */
  border: 8px solid #2c2c2c;
  border-radius: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3),
              inset 0 0 0 2px #1a1a1a;
  background: white;
  font-size: 0.85rem;
}

.heuristic-layout.visible {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Large screens - reduce height to 75vh */
@media (min-width: 1200px) {
  .heuristic-layout {
    max-height: 75vh;
  }
}

/* Heuristic Icon Sizing - Smaller for mobile mockup */
.heuristic-layout .icon-slot {
  width: 18px;
  height: 18px;
}

.heuristic-layout .icon-slot img,
.heuristic-layout .icon-slot .icon-img {
  max-width: 18px;
  max-height: 18px;
}

/* Larger icons for product cards */
.heuristic-layout .product-card .icon-slot,
.heuristic-layout .hero-image .icon-slot {
  width: 40px;
  height: 40px;
}

.heuristic-layout .product-card .icon-slot img,
.heuristic-layout .hero-image .icon-slot img {
  max-width: 40px;
  max-height: 40px;
}

/* Featured section icons */
.heuristic-layout .featured-grid .icon-slot {
  width: 50px;
  height: 50px;
}

.heuristic-layout .featured-grid .icon-slot img {
  max-width: 50px;
  max-height: 50px;
}

/* Heuristic Header/Nav */
/* OLD HEURISTIC STYLES REMOVED - Using new grid-based layout */

/* ========================================
   OLD HEURISTIC CSS - COMMENTED OUT
   Using heuristic-grid.css instead
   ======================================== */
/*
.heuristic-wireframe {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto auto auto auto auto;
  gap: 0.3rem;
  padding: 0.3rem;
  overflow: hidden;
  background: white;

  /* Icon sizing variables */
  --icon-xs: 8px;
  --icon-small: 16px;
  --icon-medium: 24px;
  --icon-large: 32px;
  --icon-hero: 40px;
}

/* Scene-specific element visibility */
.scene-1-only {
  display: none !important;
}

.scene-1 .scene-1-only {
  display: revert !important;
}

.scene-2-only {
  display: none !important;
}

.scene-2 .scene-2-only {
  display: revert !important;
}

.scene-3-only {
  display: none !important;
}

.scene-3 .scene-3-only {
  display: revert !important;
}

.scene-1-2-only {
  display: revert !important;
}

.scene-3 .scene-1-2-only {
  display: none !important;
}

/* Header */
.hz-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem;
  background: #f5f5f5;
}

.hz-hamburger, .hz-logo {
  width: 16px;
  height: 16px;
}

.hz-hamburger img, .hz-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hz-title {
  font-weight: 600;
  font-size: 0.65rem;
  flex: 1;
}

.hz-profile, .hz-cart {
  width: 16px;
  height: 16px;
}

.hz-profile img, .hz-cart img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hz-buy-btn {
  background: black;
  color: white;
  border: none;
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

/* Stars - Positioned differently per scene */
.hz-stars {
  display: flex;
  gap: 0.2rem;
  align-items: center;
}

.scene-1 .hz-stars, .scene-2 .hz-stars {
  grid-column: 1 / -1;
  grid-row: 7;
  justify-self: start;
}

.scene-3 .hz-stars {
  grid-column: 2 / 3;
  grid-row: 2;
  justify-self: center;
}

.hz-stars img {
  width: 10px;
  height: 10px;
}

.scene-3 .hz-stars img {
  width: 8px;
  height: 8px;
}

/* Hero Image */
.hz-hero-image {
  grid-column: 1 / 2;
  grid-row: 2;
  background: #e0e0e0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  aspect-ratio: 1;
}

.scene-3 .hz-hero-image {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  aspect-ratio: 1;
  max-height: none;
}

.hz-hero-image img {
  width: 40%;
  height: 40%;
  object-fit: contain;
}

/* Hero Text Lines */
.hz-text-lines {
  grid-column: 2 / -1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.2rem;
}

.scene-3 .hz-text-lines {
  grid-row: 2;
  align-self: start;
}

/* Pizza Sizes - Scene 3 only */
/* OLD STYLES - Moved to heuristic-grid.css */
/* .scene-3 .hz-sizes {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.3rem;
}

.scene-3 .size-box {
  aspect-ratio: 1;
  background: #f5f5f5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  max-height: 2.5rem;
}

.scene-3 .size-box img {
  width: 65%;
  height: 65%;
  object-fit: contain;
} */

/* Size Label - Scene 3 only */
.scene-3 .hz-size-label {
  grid-column: 1 / -1;
  grid-row: 4;
  padding: 0 0.2rem;
}

.text-line.short {
  width: 40px;
  height: 6px;
}

.text-line.medium {
  width: 80px;
  height: 6px;
}

.text-line.long {
  width: 120px;
  height: 6px;
}

/* Toppings - Scene 3 only */
.scene-3 .hz-toppings {
  grid-column: 1 / 3;
  grid-row: 5;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.2rem;
}

.topping-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.topping-circles {
  display: flex;
  gap: 2px;
  align-items: center;
}

.circle-half-left, .circle-full, .circle-half-right {
  width: 8px;
  height: 8px;
  border: 1px solid #333;
  border-radius: 50%;
}

.circle-half-left {
  background: linear-gradient(to right, #333 50%, transparent 50%);
}

.circle-full {
  background: #333;
}

.circle-half-right {
  background: linear-gradient(to left, #333 50%, transparent 50%);
}

.topping-icon {
  width: 18px;
  height: 18px;
  background: #f5f5f5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.topping-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.topping-row .text-line {
  flex: 1;
  height: 6px;
}

/* Side Label - Scene 3 */
.scene-3 .hz-side-label {
  grid-column: 3 / 4;
  grid-row: 5;
  padding: 0.2rem;
  display: flex;
  align-items: center;
}

/* Drinks Grid - Scene 1-2 */
.hz-drinks-grid {
  grid-column: 1 / -1;
  grid-row: 4;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
}

.drink-item {
  aspect-ratio: 1;
  background: #f5f5f5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  max-height: 2.5rem;
}

.drink-item img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}

/* Complimentary - Scene 1-2 */
.hz-complimentary {
  grid-column: 1 / -1;
  grid-row: 6;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
}

.comp-item {
  aspect-ratio: 1;
  background: #f5f5f5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  max-height: 2.5rem;
}

.comp-item img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}

/* Sides Grid - Scene 3 */
.scene-3 .hz-sides-grid {
  grid-column: 1 / -1;
  grid-row: 6;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
}

.scene-3 .side-item {
  aspect-ratio: 1;
  background: #f5f5f5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  max-height: 2.5rem;
}

.scene-3 .side-item img {
  width: 65%;
  height: 65%;
  object-fit: contain;
}

/* Bottom Stars - Scene 1-2 */
.hz-bottom-stars {
  grid-column: 1 / -1;
  grid-row: 8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
}

.empty-circle {
  width: 30px;
  height: 30px;
  border: 2px solid #333;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Sticky Footer - Scene 3 */
.hz-sticky-footer {
  grid-column: 1 / -1;
  grid-row: 7;
  background: #f5f5f5;
  padding: 0.4rem;
  display: flex;
  justify-content: center;
}

.order-btn {
  background: black;
  color: white;
  border: none;
  padding: 0.6rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

/* Critique Overlay */
.critique-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

.critique-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(128, 128, 128, 0.3);
  z-index: 999;
}

.critique-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  animation: critiquePulse 2s ease-in-out infinite;
  z-index: 1001;
}

.critique-icon {
  width: 30px;
  height: 30px;
  background: rgba(231, 76, 60, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.6);
  border: 2px solid white;
  position: relative;
  z-index: 1002;
}

.critique-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.critique-label {
  font-size: 0.5rem;
  font-weight: 600;
  background: rgba(231, 76, 60, 0.95);
  color: white;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1003;
}

@keyframes critiquePulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Scene 3 Improvements */
.header-search {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-cta {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.cta-button {
  background: #27ae60;
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

.cta-button-secondary {
  background: transparent;
  color: #27ae60;
  border: 1px solid #27ae60;
  padding: 0.4rem 0.8rem;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

.product-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: #27ae60;
  margin-top: 0.3rem;
}

/* Old heuristic animations removed - will add new ones for grid elements */
*/
/* ======================================== END OLD HEURISTIC CSS */

/* Usability Testing Layout */
.usability-layout {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  overflow-y: auto;
  overflow-x: hidden;
  visibility: hidden;
  /* Desktop mockup styling */
  border: 2px solid #d0d0d0;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12),
              0 2px 8px rgba(0,0,0,0.08);
  background: white;
}

.usability-layout.visible {
  opacity: 1;
  visibility: visible;
}

/* Usability Icon Sizing - Larger for desktop layout */
.usability-layout .icon-slot {
  width: 64px;
  height: 64px;
}

.usability-layout .icon-slot img,
.usability-layout .icon-slot .icon-img {
  max-width: 64px;
  max-height: 64px;
}

/* Extra large icons for lab participants */
.usability-layout .lab-researcher .icon-slot,
.usability-layout .lab-participant .icon-slot {
  width: 120px;
  height: 120px;
}

.usability-layout .lab-researcher .icon-slot img,
.usability-layout .lab-participant .icon-slot img {
  max-width: 120px;
  max-height: 120px;
}

/* Remote and field section icons */
.usability-layout .remote-icons .icon-slot,
.usability-layout .field-icons .icon-slot {
  width: 100px;
  height: 100px;
}

.usability-layout .remote-icons .icon-slot img,
.usability-layout .field-icons .icon-slot img {
  max-width: 100px;
  max-height: 100px;
}

.usability-header {
  background: #3498db;
  color: white;
  padding: 1.5rem;
  text-align: center;
  border-radius: 8px 8px 0 0;
}

.usability-header h2,
.usability-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

/* Lab Section */
.usability-lab {
  display: grid;
  grid-template-columns: 1fr 1fr 80px 1fr 1fr;
  gap: 1.5rem;
  padding: 3rem 2rem;
  background: linear-gradient(to bottom, #ecf0f1 0%, #bdc3c7 100%);
  align-items: center;
  justify-items: center;
  min-height: 300px;
}

.lab-researcher,
.lab-participant {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lab-researcher img,
.lab-participant img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lab-researcher .icon-slot,
.lab-participant .icon-slot {
  width: 150px;
  height: 150px;
  background: transparent;
}

.lab-laptop {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lab-laptop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lab-laptop .icon-slot {
  width: 120px;
  height: 120px;
  background: transparent;
}

.lab-divider {
  width: 80px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.divider-line {
  width: 8px;
  height: 100%;
  background: linear-gradient(to bottom,
    rgba(52, 73, 94, 0.3) 0%,
    rgba(52, 73, 94, 0.6) 50%,
    rgba(52, 73, 94, 0.3) 100%);
  border-radius: 4px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.lab-camera {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lab-camera img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lab-camera .icon-slot {
  width: 60px;
  height: 60px;
  background: transparent;
  position: absolute;
  top: -20px;
  transform: rotate(-15deg);
}

/* Bottom Section */
.usability-bottom {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 0;
  background: white;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.remote-section,
.field-section {
  padding: 3rem 2rem;
  text-align: center;
}

.remote-section h2,
.remote-section h3,
.field-section h2,
.field-section h3 {
  color: #2c3e50;
  margin-bottom: 2rem;
  font-size: 1.3rem;
}

.section-divider {
  background: #e0e0e0;
  width: 2px;
}

.remote-icons,
.field-icons {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: center;
}

.remote-icons img,
.field-icons img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.remote-icons .icon-slot {
  width: 120px;
  height: 120px;
  background: transparent;
}

.field-icons .icon-slot {
  width: 120px;
  height: 200px;
  background: transparent;
}

/* Usability Animations */
.usability-layout.visible .usability-header {
  animation: slideInUp 0.6s ease-out forwards;
}

.usability-layout.visible .usability-lab {
  animation: zoomIn 0.8s ease-out 0.2s forwards;
}

.usability-layout.visible .usability-bottom {
  animation: slideInUp 0.8s ease-out 0.4s forwards;
}

.ui-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.ui-blog-card .feature-img {
  position: relative;
  overflow: hidden;
  background: var(--bs-gray-100);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-blog-card .feature-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ui-blog-card:hover .feature-img img {
  transform: scale(1.05);
}

.ui-blog-card .feature-img .small {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-style: italic;
  margin: 0;
}

.ui-blog-card .blog-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ui-blog-card .blog-content-title {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  color: var(--bs-gray-900);
  margin-bottom: 15px;
  margin-top: 20px;
}

.ui-blog-card .blog-content-title:first-child {
  margin-top: 0;
}

.ui-blog-card .blog-content-text {
  font-family: "Sora", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--bs-gray-700);
  margin-bottom: 15px;
}

.ui-blog-card .blog-content-btn {
  margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .ui-blog-card .blog-content {
    padding: 25px;
  }

  .ui-blog-card .blog-content-title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .ui-blog-card {
    margin-bottom: 20px;
  }

  .ui-blog-card .feature-img {
    min-height: 200px;
  }

  .ui-blog-card .blog-content {
    padding: 20px;
  }

  .ui-blog-card .blog-content-title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .ui-blog-card .blog-content-text {
    font-size: 15px;
  }
}

/* =============================================================================
   UXR RESPONSIVE STYLES - CONSOLIDATED FROM uxr.css
   ============================================================================= */

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
  /* Persona Layout Responsive */
  .persona-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .persona-main-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .persona-divider {
    display: none;
  }

  .persona-goals,
  .persona-right-side {
    width: 100%;
  }

  /* Journey Layout Responsive */
  .journey-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .journey-phases {
    overflow-x: auto;
  }

  .journey-chevrons {
    min-width: 600px;
  }

  /* Heuristic Layout Responsive */
  .heuristic-hero {
    grid-template-columns: 1fr;
  }

  .heuristic-products {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .heuristic-featured .featured-grid {
    grid-template-columns: 1fr;
  }

  /* Usability Layout Responsive */
  .usability-lab {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .lab-divider {
    grid-column: 2;
  }

  .usability-bottom {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-divider {
    display: none;
  }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
  /* Template Max Width Mobile */
  .persona-layout,
  .journey-layout,
  .heuristic-layout,
  .usability-layout {
    max-width: 95vw;
  }

  /* Persona Layout Mobile */
  .persona-avatar-slot {
    width: 120px;
    height: 120px;
  }

  .persona-name {
    font-size: 1.5rem;
  }

  .persona-quote {
    font-size: 0.9rem;
  }

  .goal-title,
  .info-title {
    font-size: 1rem;
  }

  .text-line {
    height: 8px;
  }

  /* Journey Layout Mobile */
  .journey-header {
    flex-direction: column;
    padding: 1rem;
  }

  .journey-persona-box,
  .journey-about-box,
  .journey-goal-box {
    padding: 0.75rem;
  }

  .journey-phase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-row-label {
    font-size: 0.9rem;
    min-width: 60px;
  }

  .journey-row-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-footer {
    grid-template-columns: 1fr;
  }

  .chevron {
    font-size: 1rem;
    min-width: 80px;
  }

  /* Heuristic Layout Mobile */
  .heuristic-header {
    padding: 1rem;
    gap: 1rem;
  }

  .heuristic-hero {
    min-height: 250px;
  }

  .product-card {
    padding: 1rem;
  }

  /* Usability Layout Mobile */
  .usability-header h2,
  .usability-header h3 {
    font-size: 1.3rem;
  }

  .usability-lab {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem 1rem;
  }

  .lab-divider {
    width: 100%;
    height: 4px;
  }

  .divider-line {
    width: 100%;
    height: 4px;
  }

  .usability-bottom {
    grid-template-columns: 1fr;
    grid-template-rows: auto 2px auto;
  }

  .section-divider {
    width: 100%;
    height: 2px;
  }

  .remote-section h2,
  .remote-section h3,
  .field-section h2,
  .field-section h3 {
    font-size: 1.3rem;
  }

  .remote-icons,
  .field-icons {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
  .persona-avatar-slot {
    width: 100px;
    height: 100px;
  }

  .persona-name {
    font-size: 1.2rem;
  }

  .persona-quote {
    font-size: 0.8rem;
  }

  .journey-chevrons {
    min-width: 400px;
  }

  .chevron {
    min-width: 60px;
    font-size: 0.9rem;
  }
}

/* =============================================================================
   ANCHOR SCROLL OFFSET FOR FIXED HEADER
   ============================================================================= */

/* Apply scroll-margin to anchor targets to account for fixed header */
[id="Strategy"],
[id="UXDesign"],
[id="UXresearch"],
[id="Contact"],
.dev-section-title[id],
.tools-area .dev-section-title,
h2[id] {
  scroll-margin-top: 350px;
}

/* Responsive scroll margins matching header height at different breakpoints */
@media (max-width: 575px) {
  [id="Strategy"],
  [id="UXDesign"],
  [id="UXresearch"],
  [id="Contact"],
  .dev-section-title[id],
  .tools-area .dev-section-title,
  h2[id] {
    scroll-margin-top: 100px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  [id="Strategy"],
  [id="UXDesign"],
  [id="UXresearch"],
  [id="Contact"],
  .dev-section-title[id],
  .tools-area .dev-section-title,
  h2[id] {
    scroll-margin-top: 110px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  [id="Strategy"],
  [id="UXDesign"],
  [id="UXresearch"],
  [id="Contact"],
  .dev-section-title[id],
  .tools-area .dev-section-title,
  h2[id] {
    scroll-margin-top: 120px;
  }
}

@media (min-width: 992px) {
  [id="Strategy"],
  [id="UXDesign"],
  [id="UXresearch"],
  [id="Contact"],
  .dev-section-title[id],
  .tools-area .dev-section-title,
  h2[id] {
    scroll-margin-top: 130px;
  }
}

@media (min-width: 1200px) {
  [id="Strategy"],
  [id="UXDesign"],
  [id="UXresearch"],
  [id="Contact"],
  .dev-section-title[id],
  .tools-area .dev-section-title,
  h2[id] {
    scroll-margin-top: 140px;
  }
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* =============================================================================
   TROPHY CASE MODAL STYLES
   ============================================================================= */

/* Trophy Modal Overlay - higher z-index than Bootstrap modals */
.trophy-modal {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trophy-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

/* Trophy Modal Content Box */
.trophy-modal-content {
  background: var(--bs-white, #fff);
  padding: 40px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(0.8) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.trophy-modal.active .trophy-modal-content {
  transform: scale(1) translateY(0);
}

/* Trophy Modal Close Button */
.trophy-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: var(--bs-gray-500, #6c757d);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
  background: none;
  border: none;
  padding: 0;
}

.trophy-modal-close:hover,
.trophy-modal-close:focus {
  color: var(--bs-gray-900, #212529);
  transform: scale(1.1);
  outline: none;
}

/* Trophy Modal Logo Container */
.trophy-modal-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.trophy-modal-logo img {
  max-width: 150px;
  max-height: 100px;
  object-fit: contain;
}

/* Trophy Modal Description Text */
.trophy-modal-text {
  color: var(--bs-gray-700, #495057);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

/* Trophy Logo Clickable Styles */
.trophy-logo {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trophy-logo:hover,
.trophy-logo:focus {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Trophy Modal Responsive - Tablet */
@media (max-width: 768px) {
  .trophy-modal-content {
    padding: 35px 25px;
    max-width: 450px;
  }
}

/* Trophy Modal Responsive - Mobile */
@media (max-width: 576px) {
  .trophy-modal-content {
    padding: 30px 20px;
    margin: 0 15px;
    max-width: calc(100% - 30px);
  }

  .trophy-modal-logo img {
    max-width: 120px;
    max-height: 80px;
  }

  .trophy-modal-text {
    font-size: 14px;
    line-height: 1.5;
  }

  .trophy-modal-close {
    top: 10px;
    right: 15px;
    font-size: 24px;
  }
}

/* Trophy Modal Dark Mode Support */
[data-theme="dark"] .trophy-modal-content {
  background: var(--bs-gray-800, #343a40);
}

[data-theme="dark"] .trophy-modal-text {
  color: var(--bs-gray-300, #dee2e6);
}

[data-theme="dark"] .trophy-modal-close {
  color: var(--bs-gray-400, #ced4da);
}

[data-theme="dark"] .trophy-modal-close:hover,
[data-theme="dark"] .trophy-modal-close:focus {
  color: var(--bs-white, #fff);
}
