/* ==== 
 --------- (5.0) all sections styles start ---------
 ==== */

@use "../abstracts/mixins" as *;

// 5.01 overview section styles start
.tp-overview {
  .tp-overview-single {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 60px 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    &:nth-of-type(1) {
      padding-top: 0px;
    }

    .thumb {
      min-width: 124px;
    }

    .wrapper {
      flex-grow: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
    }

    .content {
      flex-grow: 1;
    }

    .cta {
      a {
        font-size: 40px;
        color: var(--tertiary-color);
        &:hover {
          color: var(--primary-color);
        }
      }
    }

    &:hover {
      h4 {
        a {
          color: var(--primary-color);
        }
      }

      .cta {
        a {
          color: var(--primary-color);
        }
      }
    }
  }
}

// 5.02 story section styles start
.tp-story {
  position: relative;
  overflow: visible;
  
  .tp-story-row {
    align-items: flex-start;
    position: relative;
  }

  .tp-story__content {
    position: relative;
  }

  .tp-story__items {
    position: relative;
    padding-bottom: 60px;
  }

  .tp-story__single {
    padding: 60px 0px;
    border-bottom: 1px solid #ffffff40;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-margin-top: 100px;
    
    &:nth-of-type(1) {
      padding-top: 80px;
    }
    &:nth-last-of-type(1) {
      padding-bottom: 60px;
      border-bottom: 0px;
      min-height: 300px;
    }
    a {
      color: white;
      &:hover {
        color: var(--enterprise-blue);
      }
    }

    p {
      &:nth-last-of-type(1) {
        color: #ffffff80;
        text-transform: none;
      }
    }
  }

  .active {
    a {
      color: var(--enterprise-blue);
    }
  }

  .tp-story__thumbs {
    position: relative;
    height: fit-content;
    min-height: 400px;
    z-index: 1;
    align-self: flex-start;
    margin-bottom: 0;

    .tp-story-thumb-wrapper {
      position: relative;
      width: 100%;
      height: 100%;
      min-height: 400px;
      transition: transform 0.3s ease-out;
      will-change: transform;
    }
  }

  .tp-story-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
    will-change: opacity;
    
    img {
      display: block;
      width: 100%;
      height: auto;
      object-fit: cover;
    }
    
    &[data-loaded="true"] {
      // Ensure loaded images are ready
    }
  }

  .thumb-active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2;
    pointer-events: auto;
    // Removed zoom animation to prevent blinking
  }
}


// 5.04 latest post section styles start
.tp-latest-post {
  overflow-x: clip;
  .tp-lp-slider-wrapper {
    min-width: 100vw;
  }

  .tp-lp-slider {
    .swiper-slide {
      max-width: 416px !important;
    }
  }

  .tp-lp-slider__single {
    width: 100%;
    padding: 20px;
    background-color: white;
    box-shadow: 0px 4px 14px 0px rgba(163, 163, 163, 0.25);
    .thumb {
      img {
        transition: var(--transition);
      }
    }

    &:hover {
      .thumb {
        img {
          transform: scale(1.2) rotate(-6deg);
        }
      }

      a {
        color: var(--primary-color);
      }
    }
  }

  .tp-lp-post__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    span {
      width: 1px;
      height: 20px;
      background-color: var(--tertiary-color);
    }
  }
}

// 5.05 sponsor section styles start
.sponsor {
  img {
    transition: var(--transition);
  }
  .swiper-slide-active {
    img {
      filter: brightness(0) saturate(100%) invert(12%) sepia(96%)
        saturate(6152%) hue-rotate(233deg) brightness(100%) contrast(113%);
    }
  }
}

// 5.06 case study section styles start
.tp-study {
  position: relative;
  overflow-x: clip;

  .tp-study-arrows {
    gap: 30px;
    button {
      position: relative;
      font-size: 30px;
      z-index: 1;
      font-weight: 200;
      span {
        font-weight: 200;
      }
      &::before {
        content: "";
        position: absolute;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background-color: var(--white);
        z-index: -1;
        top: 50%;
        left: 8px;
        transform: translateY(-50%);
        transition: var(--transition);
      }
      &:hover {
        color: var(--secondary-color);
        &::before {
          background-color: var(--enterprise-blue);
        }
      }
    }

    .prev-study {
      &::before {
        left: unset;
        right: 8px;
      }
    }
  }

  .slick-list {
    overflow: visible !important;
  }
  .tp-study-slider-wrapper {
    min-width: 100vw;
    margin: 100px 0px 40px;
  }

  .tp-study-slider {
    overflow-x: clip;
    overflow-y: unset !important;
    .swiper-slide {
      max-width: 306px;
      &:hover {
        z-index: 2;
      }
    }
  }

  .tp-study-slider__single {
    width: 100%;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    &::before {
      content: "";
      position: absolute;
      inset: 0px;
      transition: var(--transition);
      background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) -2.65%,
        rgba(0, 0, 0, 0.55) 45.47%,
        #000 100%
      );
      transform: translateY(100%);
    }
    &:hover {
      transform: scale(1.2);
      z-index: 2;
      &::before {
        transform: scale(1);
      }

      .content {
        transform: translateY(0px);
      }
    }
  }

  .content {
    padding: 40px 20px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    transform: translateY(100%);
    transition: var(--transition);
    transition-delay: 0.2s;

    a {
      color: white;
    }
  }

  .counter__single {
    border-right: 1px solid #00000030;
    padding: 0px 20px;
    h2 {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
  }
}

// 5.07 gallery section styles start
.tp-gallery {
  .tp-gallery-inner {
    position: relative;
    z-index: 1;
    border-bottom: 1px solid #ffffff40;
    overflow: hidden;
    &::after {
      content: "";
      position: absolute;
      bottom: 0px;
      left: 10%;
      width: 10vw;
      height: 10vw;
      min-width: 80px;
      min-height: 80px;
      border-radius: 50%;
      background-image: linear-gradient(
        to bottom,
        #2563eb60 50%,
        transparent 50%
      );
      transform: translateY(50%);
      z-index: -1;
      animation: moveInfinite 20s alternate infinite;
    }
  }

  .parallax-image-wrap {
    min-width: 100vw;
  }

  .tp-gallery-slider-wrapper {
    min-width: 100vw;
  }

  .tp-gallery-slider {
    .swiper-slide {
      width: 100%;
      max-width: 306px;
      cursor: pointer;
    }
  }
}

// 5.08 service section styles start
.tp-service {
  position: relative;
  z-index: 1;
  overflow: hidden;
  .service-hr {
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    overflow: hidden;
    &::after {
      content: "";
      position: absolute;
      bottom: 0px;
      left: 10%;
      width: 10vw;
      height: 10vw;
      min-width: 80px;
      min-height: 80px;
      border-radius: 50%;
      background-image: linear-gradient(
        to bottom,
        #2563eb60 50%,
        transparent 50%
      );
      transform: translateY(50%);
      z-index: -1;
      animation: moveInfinite 20s alternate infinite;
    }
  }

  .tp-service__thumb {
    .parallax-image-wrap {
      width: 100%;
    }
  }
}

// 5.09 transform section styles start
.transform {
  position: relative;
  overflow-x: clip;
  .anime {
    position: absolute;
    left: 0px;
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 1;
    span {
      width: 8vw;
      height: 8vw;
      border-radius: 50%;
      background-image: linear-gradient(
        to right,
        #2563eb50 50%,
        transparent 50%
      );
      margin-left: -90px;
      display: inline-block;
      &:nth-of-type(1) {
        margin-left: 20px;
        background-image: linear-gradient(
          to right,
          #2563eb20 50%,
          transparent 50%
        );
      }
      &:nth-of-type(2) {
        background-image: linear-gradient(
          to right,
          #2563eb30 50%,
          transparent 50%
        );
      }
      &:nth-of-type(3) {
        background-image: linear-gradient(
          to right,
          #2563eb40 50%,
          transparent 50%
        );
      }
      &:nth-of-type(4) {
        background-image: linear-gradient(
          to right,
          #2563eb50 50%,
          transparent 50%
        );
      }
      &:nth-of-type(6) {
        background-image: linear-gradient(
          to right,
          #2563eb80 50%,
          transparent 50%
        );
      }
    }
  }

  .transform-inner {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }

  .transform-slider-wrapper {
    min-width: 100vw;
  }

  .transform-slider {
    margin-left: -40px;

    .swiper-slide {
      max-width: 326px !important;
    }
  }

  .transform-single {
    padding: 0px 40px;
    border-right: 1px solid #2563eb;
    width: 100%;

    h5 {
      position: relative;
      display: inline-block;
      z-index: 1;
      &::after {
        content: "";
        position: absolute;
        bottom: 0px;
        left: 0px;
        right: 0px;
        width: 100%;
        height: calc(100% - 20px);
        background-color: var(--enterprise-blue);
        z-index: -1;
      }
    }
  }

  .team-single {
    h4 {
      position: relative;
      display: inline-block;
      z-index: 1;
      &::after {
        content: "";
        position: absolute;
        bottom: 0px;
        left: 0px;
        right: 0px;
        width: 100%;
        height: calc(100% - 20px);
        background-color: var(--enterprise-blue);
        z-index: -1;
      }
    }
  }

  .tp-team-arrow {
    display: flex;
    align-items: center;
    gap: 12px;
    button,
    span {
      color: var(--tertiary-color);
    }

    .divider {
      width: 1px;
      height: 24px;
      background-color: var(--tertiary-color);
    }

    button {
      font-size: 30px;
      &:hover {
        span {
          color: var(--primary-color);
        }
      }
    }
  }
}

// 5.10 process section styles start
.tp-process {
  .process__single {
    margin-bottom: 80px;
    &:nth-last-of-type(1) {
      margin-bottom: 0px;
    }
  }

  .op-text {
    position: relative;
    z-index: 1;
    &::before {
      content: "";
      position: absolute;
      width: 80px;
      height: 80px;
      background-color: var(--primary-color);
      border-radius: 50%;
      z-index: -1;
      left: 50%;
      top: -10px;
      transform: translateX(-50%);
    }

    &::after {
      content: "";
      position: absolute;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 12px solid black;
      background-color: var(--enterprise-blue);
      left: -100px;
      top: 50%;
      transform: translateY(-50%);
    }
  }
}

// 5.11 case study main section styles start
.c-study {
  .c-study-banner {
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    overflow: hidden;
    &::after {
      content: "";
      position: absolute;
      bottom: 0px;
      left: 10%;
      width: 10vw;
      height: 10vw;
      min-width: 80px;
      min-height: 80px;
      border-radius: 50%;
      background-image: linear-gradient(
        to bottom,
        #2563eb60 50%,
        transparent 50%
      );
      transform: translateY(50%);
      z-index: -1;
      animation: moveInfinite 20s alternate infinite;
    }
  }

  .c-study-btns {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    span {
      width: 2px;
      height: 30px;
      background-color: #44444480;
    }

    button {
      font-size: 32px;
      font-weight: 600;
      line-height: 1;
      font-family: var(--mont);
    }
    .study-btn-active {
      color: var(--primary-color);
    }
  }

  .thumb {
    border: 10px solid #fff;
    background: #ebebeb;
    box-shadow: 0px 4px 28px 0px rgba(0, 0, 0, 0.06);
  }

  .c-study-single {
    a {
      color: var(--primary-color);
    }

    h4 {
      a {
        color: var(--secondary-color);
        &:hover {
          color: var(--primary-color);
        }
      }
    }
  }
}

.c-tab-single {
  display: none;
}

.active-tab {
  display: block;
  animation: fadeInc 1s ease-in;
}

@keyframes fadeInc {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

// 5.12 open position section styles start
.op-position {
  .op-position-single {
    flex-wrap: wrap;
    padding: 40px 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.17);
    &:nth-of-type(1) {
      padding-top: 0px;
    }

    .vertical-column-gap {
      row-gap: 16px;
    }

    h4,
    h5 {
      color: var(--tertiary-color);
      display: inline-block;
    }

    .cta {
      a {
        font-size: 40px;
      }
    }

    &:hover {
      a {
        color: var(--secondary-color);
      }
    }
  }
}

// 5.13 thrive section styles start
.thrive {
  .thumb {
    @include box(200px);
    background-color: var(--enterprise-blue);
    border-radius: 0px;
  }

  p {
    max-width: 500px;
  }
}

// 5.14 masonry gallery styles start
.mason {
  img {
    width: 100%;
    max-height: 470px;
    min-height: 470px;
  }

  .botter {
    min-height: 420px !important;
  }

  .toper {
    margin-top: -50px;
  }
}

// 5.15 job details styles start
.job-single {
  .j-d-sidebar {
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #fff;
    box-shadow: 0px 4px 31px 0px rgba(118, 118, 118, 0.09);
    padding: 40px;

    .cta {
      a {
        width: 100%;
        background-color: var(--secondary-color);
        color: white;
        transition: all 0.6s ease-in-out;
        &::before {
          transition: all 0.6s ease-in-out;
        }
      }
    }
  }
}

// 5.16 blog main styles start
.blog-m {
  .post-filter__wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    button {
      padding: 10px 24px;
      font-weight: 500;
      background-color: #ebebeb;
      color: black;
      border-radius: 50px;
      &:hover {
        background-color: black;
        color: white;
      }
    }
    .active {
      background-color: black;
      color: white;
    }
  }

  .tp-lp-slider__single {
    padding: 20px;
    background: #fff;
    box-shadow: 0px 4px 14px 0px rgba(163, 163, 163, 0.25);
  }

  .tp-lp-post__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    span {
      width: 1px;
      height: 20px;
      background-color: var(--tertiary-color);
    }
  }

  .masonry-grid {
    margin-bottom: -40px;
  }

  .grid-item-main {
    margin-bottom: 40px;
  }
}

// 5.17 blog details styles start
.tp-post-details {
  .tppr {
    flex-wrap: wrap;
    gap: 24px;
    row-gap: 30px;
  }
  .tp-post-tags-container {
    gap: 16px;
    flex-wrap: wrap;
  }
  .tp-post-meta,
  .tp-post-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    span {
      width: 1px;
      height: 20px;
      background-color: var(--tertiary-color);
    }
  }

  .bd-social {
    padding: 30px 0px;
    border-top: 1px solid #c1c1c1;
    border-bottom: 1px solid #c1c1c1;
    justify-content: flex-start;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    a {
      width: auto;
      background-color: transparent;
      color: var(--tertiary-color);
      padding: 0px;
      min-width: auto;
      font-size: 18px;
      &:hover {
        color: var(--secondary-color);
      }
    }
  }
}

// 5.18 contact section enterprise styles start
.tp-contact {
  background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
  position: relative;
  
  &.luxury-contact {
    padding: 40px 0 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    
    &.fix-top {
      padding-top: 220px;
      padding-bottom: 60px;
    }
    
    .container {
      max-width: 1400px;
    }
  }
  
  .contact-info-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
    position: relative;
    overflow: hidden;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--primary-color), var(--enterprise-blue), var(--primary-color));
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    &:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
      border-color: var(--primary-color);
      
      &::before {
        opacity: 1;
      }
    }

    .contact-info-icon {
      width: 48px;
      height: 48px;
      background: linear-gradient(135deg, var(--primary-color), var(--enterprise-blue));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 14px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);

      &:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
      }

      i {
        font-size: 18px;
        color: white;
      }
    }

    h4 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 6px;
      color: #1e293b;
      letter-spacing: -0.02em;
    }

    p {
      color: #64748b;
      margin-bottom: 10px;
      font-size: 12px;
      font-weight: 500;
    }

    a {
      color: var(--primary-color);
      font-weight: 600;
      text-decoration: none;
      font-size: 13px;
      display: block;
      margin-bottom: 6px;
      transition: all 0.2s ease;

      &:hover {
        color: var(--enterprise-blue);
        transform: translateX(2px);
      }
    }

    .contact-hours {
      color: #10b981;
      font-size: 11px;
      font-weight: 600;
      margin-top: 8px;
      padding: 4px 10px;
      background: rgba(16, 185, 129, 0.1);
      border-radius: 12px;
      display: inline-block;
    }

    address {
      font-style: normal;
      color: #475569;
      line-height: 1.5;
      margin-bottom: 8px;
      font-size: 12px;
      font-weight: 500;
    }
  }

  .contact-section-header {
    margin-bottom: 30px;

    .contact-subtitle {
      font-size: 16px;
      color: #64748b;
      line-height: 1.5;
      margin-top: 12px;
    }
  }

  .enterprise-form {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--primary-color), var(--enterprise-blue), var(--enterprise-gold), var(--primary-color));
      background-size: 200% 100%;
      animation: shimmer 3s linear infinite;
    }

    &.luxury-form {
      padding: 24px;
      border-radius: 20px;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    }

    .form-section {
      margin-bottom: 24px;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(241, 245, 249, 0.8);

      &:last-of-type {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
      }

      &.compact-section {
        margin-bottom: 20px;
        padding-bottom: 16px;
      }

      .form-section-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 18px;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--primary-color);
        letter-spacing: -0.02em;

        i {
          color: var(--primary-color);
          font-size: 18px;
        }
      }
    }
  }

  .form-header-compact {
    margin-bottom: 24px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.5);

    .luxury-title {
      font-size: 32px;
      font-weight: 800;
      color: #1e293b;
      margin-bottom: 8px;
      letter-spacing: -0.03em;
      background: linear-gradient(135deg, #1e293b 0%, var(--primary-color) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .luxury-subtitle {
      font-size: 14px;
      color: #64748b;
      margin-bottom: 16px;
      font-weight: 500;
    }

  }

  @keyframes shimmer {
    0% {
      background-position: -200% 0;
    }
    100% {
      background-position: 200% 0;
    }
  }

    .input-single {
      margin-bottom: 16px;

      &.compact-input {
        margin-bottom: 14px;
      }

      label {
        display: block;
        font-weight: 600;
        color: #334155;
        margin-bottom: 6px;
        font-size: 12px;
        letter-spacing: 0.01em;
        text-transform: uppercase;
      }

      input,
      select,
      textarea {
        width: 100%;
        padding: 10px 14px;
        border: 1.5px solid #e2e8f0;
        border-radius: 8px;
        font-size: 14px;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        background: #ffffff;
        color: #1e293b;
        font-weight: 500;

        &:focus {
          outline: none;
          border-color: var(--primary-color);
          box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
          transform: translateY(-1px);
        }

        &:hover:not(:focus) {
          border-color: #cbd5e1;
        }

        &::placeholder {
          color: #94a3b8;
          font-weight: 400;
        }
      }

      textarea {
        resize: vertical;
        min-height: 100px;
        font-family: inherit;
        line-height: 1.6;
      }

      select {
        cursor: pointer;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 10px center;
        background-repeat: no-repeat;
        background-size: 14px;
        padding-right: 32px;
        appearance: none;
      }
    }

    .checkbox-group {
      display: flex;
      flex-direction: column;
      gap: 10px;

      &.compact-checkbox {
        gap: 8px;
        margin-top: 12px;
      }

      .checkbox-single {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 8px;
        border-radius: 8px;
        transition: background 0.2s ease;

        &:hover {
          background: rgba(241, 245, 249, 0.5);
        }

        input[type="checkbox"] {
          width: 18px;
          height: 18px;
          margin: 0;
          margin-top: 2px;
          accent-color: var(--primary-color);
          cursor: pointer;
          flex-shrink: 0;
        }

        label {
          margin: 0;
          font-size: 12px;
          line-height: 1.5;
          color: #475569;
          font-weight: 500;
          cursor: pointer;

          a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;

            &:hover {
              text-decoration: underline;
            }
          }
        }
      }
    }

    .form-actions {
      text-align: center;
      padding-top: 20px;
      border-top: 1px solid rgba(226, 232, 240, 0.5);

      .enterprise-btn {
        background: linear-gradient(135deg, var(--primary-color), var(--enterprise-blue)) !important;
        border: none !important;
        padding: 14px 36px;
        border-radius: 12px;
        color: white !important;
        font-weight: 700;
        font-size: 15px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
        position: relative;
        overflow: hidden;
        letter-spacing: 0.02em;

        &::before {
          content: '';
          position: absolute;
          top: 0;
          left: -100%;
          width: 100%;
          height: 100%;
          background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
          transition: left 0.5s ease;
        }

        &:hover {
          transform: translateY(-3px);
          box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);

          &::before {
            left: 100%;
          }
        }

        &:active {
          transform: translateY(-1px);
        }

        &:disabled {
          opacity: 0.7;
          cursor: not-allowed;
          transform: none;
        }

        span {
          color: white !important;
          position: relative;
          z-index: 1;
        }

        i {
          transition: transform 0.3s ease;
          font-size: 14px;
          color: white !important;
          position: relative;
          z-index: 1;
        }

        &:hover i {
          transform: translateX(4px);
        }
      }

      .form-disclaimer {
        margin-top: 14px;
        color: #64748b;
        font-size: 11px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-weight: 500;

        i {
          color: #10b981;
          font-size: 12px;
        }
      }
    }
  }

  .tp-contact__sidebar {
    &.luxury-sidebar {
      position: sticky;
      top: 100px;
    }

    .contact-sidebar-card {
      background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
      border: 1px solid rgba(226, 232, 240, 0.8);
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 16px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;

      &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color), var(--enterprise-blue));
        opacity: 0;
        transition: opacity 0.3s ease;
      }

      &:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);

        &::before {
          opacity: 1;
        }
      }

      &.compact-sidebar-card {
        padding: 18px;
        margin-bottom: 14px;
        border-radius: 14px;
      }

      h3 {
        font-size: 17px;
        font-weight: 800;
        color: #1e293b;
        margin-bottom: 16px;
        position: relative;
        letter-spacing: -0.02em;

        &::after {
          content: '';
          position: absolute;
          bottom: -6px;
          left: 0;
          width: 50px;
          height: 3px;
          background: linear-gradient(90deg, var(--primary-color), var(--enterprise-blue));
          border-radius: 2px;
        }
      }

      .sidebar-features {
        &.compact-features {
          .feature-item {
            margin-bottom: 12px;
          }
        }

        .feature-item {
          display: flex;
          gap: 12px;
          margin-bottom: 14px;
          padding: 10px;
          border-radius: 10px;
          transition: all 0.2s ease;

          &:hover {
            background: rgba(241, 245, 249, 0.6);
          }

          &.compact-feature {
            margin-bottom: 10px;
            padding: 8px;
          }

          &:last-child {
            margin-bottom: 0;
          }

          .feature-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary-color), var(--enterprise-blue));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
            transition: all 0.2s ease;

            &:hover {
              transform: scale(1.1) rotate(5deg);
            }

            i {
              color: white;
              font-size: 16px;
            }
          }

          .feature-content {
            flex: 1;

            h4 {
              font-size: 14px;
              font-weight: 700;
              color: #1e293b;
              margin-bottom: 4px;
              letter-spacing: -0.01em;
            }

            p {
              font-size: 12px;
              color: #64748b;
              line-height: 1.5;
              margin: 0;
              font-weight: 500;
            }
          }
        }
      }

      .next-steps {
        &.compact-steps {
          .step-item {
            margin-bottom: 12px;
          }
        }

        .step-item {
          display: flex;
          gap: 12px;
          margin-bottom: 14px;
          padding: 10px;
          border-radius: 10px;
          transition: all 0.2s ease;

          &:hover {
            background: rgba(241, 245, 249, 0.6);
          }

          &.compact-step {
            margin-bottom: 10px;
            padding: 8px;
          }

          &:last-child {
            margin-bottom: 0;
          }

          .step-number {
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, var(--primary-color), var(--enterprise-blue));
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 13px;
            flex-shrink: 0;
            box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3);
            transition: all 0.2s ease;

            &:hover {
              transform: scale(1.1);
            }
          }

          .step-content {
            flex: 1;

            h4 {
              font-size: 14px;
              font-weight: 700;
              color: #1e293b;
              margin-bottom: 4px;
              letter-spacing: -0.01em;
            }

            p {
              font-size: 12px;
              color: #64748b;
              line-height: 1.5;
              margin: 0;
              font-weight: 500;
            }
          }
        }
      }
    }

    .company-map {
      &.compact-map {
        .map-container {
          margin-bottom: 12px;
        }
      }

      .map-container {
        margin-bottom: 14px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        
        iframe {
          border-radius: 12px;
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
          transition: transform 0.3s ease;

          &:hover {
            transform: scale(1.02);
          }
        }
      }

      .map-info {
        &.compact-map-info {
          .location-details {
            margin-bottom: 10px;
          }
        }

        .location-details {
          display: flex;
          gap: 12px;
          margin-bottom: 12px;
          padding: 10px;
          border-radius: 10px;
          background: rgba(241, 245, 249, 0.5);
          transition: background 0.2s ease;

          &:hover {
            background: rgba(241, 245, 249, 0.8);
          }

          .location-icon {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--primary-color), var(--enterprise-blue));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);

            i {
              color: white;
              font-size: 15px;
            }
          }

          .location-text {
            flex: 1;

            h4 {
              font-size: 14px;
              font-weight: 700;
              color: #1e293b;
              margin-bottom: 4px;
              letter-spacing: -0.01em;
            }

            p {
              font-size: 12px;
              color: #64748b;
              line-height: 1.5;
              margin: 0;
              font-weight: 500;
            }
          }
        }

        .location-actions {
          .map-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: linear-gradient(135deg, var(--primary-color), var(--enterprise-blue));
            color: white;
            padding: 10px 18px;
            border-radius: 8px;
            text-decoration: none;
            font-size: 12px;
            font-weight: 600;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);

            &:hover {
              transform: translateY(-2px);
              box-shadow: 0 5px 14px rgba(37, 99, 235, 0.4);
            }

            i {
              font-size: 12px;
            }
          }
        }
      }
    }
  }

  // Responsive styles for luxury contact page
  @media (max-width: 991px) {
    .tp-contact.luxury-contact {
      padding: 30px 0 50px;
      
      &.fix-top {
        padding-top: 200px;
        padding-bottom: 50px;
      }
    }

    .tp-contact__sidebar {
      &.luxury-sidebar {
        position: static;
        margin-top: 30px;
      }
    }

    .form-header-compact {
      .luxury-title {
        font-size: 26px;
      }
    }

    .enterprise-form {
      &.luxury-form {
        padding: 20px;
      }
    }
  }

  @media (max-width: 768px) {
    .tp-contact.luxury-contact {
      padding: 20px 0 40px;
      
      &.fix-top {
        padding-top: 190px;
        padding-bottom: 40px;
      }
    }

    .contact-info-card {
      margin-bottom: 16px;
      padding: 18px 14px;
    }

    .form-header-compact {
      margin-bottom: 20px;
      padding-bottom: 16px;

      .luxury-title {
        font-size: 24px;
      }

      .luxury-subtitle {
        font-size: 13px;
      }
    }

    .enterprise-form {
      &.luxury-form {
        padding: 18px;
        border-radius: 16px;
      }

      .form-section {
        &.compact-section {
          margin-bottom: 18px;
          padding-bottom: 14px;
        }
      }
    }

    .tp-contact__sidebar {
      .contact-sidebar-card {
        &.compact-sidebar-card {
          padding: 16px;
          margin-bottom: 12px;
        }
      }
    }
  }

  @media (max-width: 576px) {
    .tp-contact.luxury-contact {
      &.fix-top {
        padding-top: 190px;
        padding-bottom: 40px;
      }
    }
    
    .contact-info-card {
        padding: 16px 12px;

        .contact-info-icon {
          width: 44px;
          height: 44px;
          margin-bottom: 12px;

          i {
            font-size: 16px;
          }
        }

        h4 {
          font-size: 14px;
        }

        p, a {
          font-size: 11px;
        }
      }

      .form-header-compact {
        .luxury-title {
          font-size: 22px;
        }
      }

      .enterprise-form {
        &.luxury-form {
          padding: 16px;
        }

        .input-single {
          &.compact-input {
            margin-bottom: 12px;
          }

          label {
            font-size: 11px;
          }

          input, select, textarea {
            padding: 9px 12px;
            font-size: 13px;
          }

          textarea {
            min-height: 90px;
          }
        }

        .checkbox-group {
          &.compact-checkbox {
            gap: 6px;
          }

          .checkbox-single {
            padding: 6px;

            label {
              font-size: 11px;
            }
          }
        }

        .form-actions {
          .enterprise-btn {
            width: 100%;
            padding: 12px 24px;
            font-size: 14px;
          }
        }
      }

      .tp-contact__sidebar {
        .contact-sidebar-card {
          &.compact-sidebar-card {
            padding: 14px;
          }

          h3 {
            font-size: 16px;
          }

          .sidebar-features {
            .feature-item {
              &.compact-feature {
                padding: 6px;
                margin-bottom: 8px;
              }

              .feature-icon {
                width: 36px;
                height: 36px;

                i {
                  font-size: 14px;
                }
              }

              .feature-content {
                h4 {
                  font-size: 13px;
                }

                p {
                  font-size: 11px;
                }
              }
            }
          }

          .next-steps {
            .step-item {
              &.compact-step {
                padding: 6px;
                margin-bottom: 8px;
              }

              .step-number {
                width: 24px;
                height: 24px;
                font-size: 12px;
              }

              .step-content {
                h4 {
                  font-size: 13px;
                }

                p {
                  font-size: 11px;
                }
              }
            }
          }

          .company-map {
            &.compact-map {
              .map-container {
                iframe {
                  height: 120px;
                }
              }
            }

            .map-info {
              &.compact-map-info {
                .location-details {
                  padding: 8px;
                  margin-bottom: 8px;

                  .location-icon {
                    width: 32px;
                    height: 32px;

                    i {
                      font-size: 13px;
                    }
                  }

                  .location-text {
                    h4 {
                      font-size: 13px;
                    }

                    p {
                      font-size: 11px;
                    }
                  }
                }
              }

              .location-actions {
                .map-link {
                  width: 100%;
                  justify-content: center;
                  padding: 9px 16px;
                  font-size: 11px;
                }
              }
            }
          }
        }
      }
    }

// Contact Banner Styles
.tp-contact-banner {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 0;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
  }

  .contact-banner-bg {
    position: relative;
    z-index: 2;
  }

  .tp-contact-banner__content {
    .tp-contact-banner__badge {
      .badge {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        padding: 12px 24px;
        border-radius: 50px;
        font-size: 14px;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        backdrop-filter: blur(10px);

        i {
          color: var(--primary-color);
        }
      }
    }

    .tp-contact-banner__title {
      font-size: 48px;
      font-weight: 700;
      color: white;
      line-height: 1.2;

      .gradient-text {
        background: linear-gradient(135deg, var(--primary-color), var(--enterprise-blue));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }
    }

    .tp-contact-banner__text {
      font-size: 20px;
      color: rgba(255, 255, 255, 0.8);
      line-height: 1.6;
      max-width: 800px;
      margin: 0 auto;
    }

    .tp-contact-banner__features {
      .feature-item {
        text-align: center;
        padding: 20px;

        .feature-icon {
          width: 80px;
          height: 80px;
          background: linear-gradient(135deg, var(--primary-color), var(--enterprise-blue));
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          margin: 0 auto 20px;
          transition: all 0.3s ease;

          &:hover {
            transform: scale(1.1);
          }

          i {
            color: white;
            font-size: 32px;
          }
        }

        h4 {
          font-size: 20px;
          font-weight: 600;
          color: white;
          margin-bottom: 12px;
        }

        p {
          font-size: 14px;
          color: rgba(255, 255, 255, 0.7);
          line-height: 1.5;
        }
      }
    }

    .tp-contact-banner__stats {
      .stat-item {
        text-align: center;

        .stat-number {
          font-size: 36px;
          font-weight: 700;
          color: white;
          margin-bottom: 8px;
          background: linear-gradient(135deg, var(--primary-color), var(--enterprise-blue));
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          background-clip: text;
        }

        .stat-label {
          font-size: 14px;
          color: rgba(255, 255, 255, 0.7);
          font-weight: 500;
        }
      }
    }
  }
}

// 5.19 enterprise capabilities section styles start
.enterprise-capabilities {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e2e8f0' fill-opacity='0.3'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: -1;
  }

  .stat-item {
    padding: 15px;
    text-align: center;
    transition: var(--transition);

    &:hover {
      transform: translateY(-3px);
    }

    h3 {
      font-size: 32px;
      font-weight: 700;
      line-height: 1;
      margin-bottom: 6px;
      background: linear-gradient(135deg, var(--primary-color), var(--enterprise-blue));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    p {
      font-size: 14px;
      font-weight: 500;
      color: var(--tertiary-color);
      margin: 0;
    }
  }

  .capability-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    height: 100%;

    &:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
      border-color: var(--primary-color);
    }

    .capability-icon {
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, var(--primary-color), var(--enterprise-blue));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      transition: var(--transition);

      i {
        font-size: 20px;
        color: white;
      }
    }

    &:hover .capability-icon {
      transform: scale(1.05);
    }

    h4 {
      font-size: 16px;
      font-weight: 600;
      color: var(--secondary-color);
      margin-bottom: 12px;
      line-height: 1.3;
    }

    p {
      color: var(--tertiary-color);
      line-height: 1.5;
      margin: 0;
      font-size: 14px;
    }
  }
}

// 5.20 enterprise values section styles start
.enterprise-values {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #ffffff;

  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f1f5f9' fill-opacity='0.5'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: -1;
    opacity: 0.3;
  }

  .value-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    height: 100%;

    &:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
      border-color: var(--primary-color);
    }

    .value-icon {
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, var(--primary-color), var(--enterprise-blue));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 16px;
      transition: var(--transition);

      i {
        font-size: 20px;
        color: white;
      }
    }

    &:hover .value-icon {
      transform: scale(1.05);
    }

    h4 {
      font-size: 16px;
      font-weight: 600;
      color: var(--secondary-color);
      margin-bottom: 12px;
      line-height: 1.3;
    }

    p {
      color: var(--tertiary-color);
      line-height: 1.5;
      margin: 0;
      font-size: 14px;
    }
  }

  .certifications-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 25px;
    position: relative;
    overflow: hidden;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(135deg, var(--primary-color), var(--enterprise-blue));
    }

    h3 {
      font-size: 20px;
      font-weight: 700;
      color: var(--secondary-color);
      margin-bottom: 12px;
      text-align: center;
    }

    p {
      color: var(--tertiary-color);
      text-align: center;
      margin-bottom: 25px;
      font-size: 14px;
    }

    .certification-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      background: white;
      border: 1px solid #e2e8f0;
      border-radius: 6px;
      transition: var(--transition);
      margin-bottom: 12px;

      &:hover {
        transform: translateX(4px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border-color: var(--primary-color);
      }

      i {
        font-size: 16px;
        color: var(--primary-color);
        flex-shrink: 0;
      }

      span {
        font-size: 13px;
        font-weight: 500;
        color: var(--secondary-color);
        line-height: 1.4;
      }
    }
  }

  // Form Status Messages
  .form-status {
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid;
    margin-bottom: 20px;
    animation: slideIn 0.3s ease-out;

    &.success {
      background: #f0f9ff;
      border-color: #10b981;
      color: #065f46;

      .status-content i {
        color: #10b981;
      }
    }

    &.error {
      background: #fef2f2;
      border-color: #ef4444;
      color: #991b1b;

      .status-content i {
        color: #ef4444;
      }
    }

    .status-content {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 500;
      font-size: 14px;

      i {
        font-size: 18px;
        flex-shrink: 0;
      }
    }
  }

  // Disabled button styles
  .enterprise-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
  }

  // Spinner animation
  .fa-spinner {
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }

  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

// 5.XX service detail components styles start
.service-features {
  .tp-service-single {
    padding: 40px 30px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    
    &:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    .icon-wrapper {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
      
      i {
        font-size: 32px;
        color: var(--white);
      }
    }
  }
}

.service-pricing {
  .pricing-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    
    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    }
  }
  
  .price-display {
    .price-amount {
      font-size: 48px;
      line-height: 1;
      display: block;
    }
    
    .price-period {
      font-size: 16px;
      text-transform: none;
      letter-spacing: 1px;
    }
  }
  
  .feature-list {
    list-style: none;
    padding: 0;
    
    .feature-item {
      padding: 12px 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      
      &:last-child {
        border-bottom: none;
      }
    }
  }
}

.service-details {
  .service-stats {
    .stat-item {
      padding: 20px;
      background: var(--white);
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .stat-number {
      font-size: 24px;
      line-height: 1;
    }
    
    .stat-label {
      font-size: 14px;
      text-transform: none;
      letter-spacing: 1px;
    }
  }
  
  .service-meta {
    .meta-item {
      display: flex;
      align-items: center;
      font-size: 16px;
      
      i {
        width: 20px;
        text-align: center;
      }
    }
  }
  
  .service-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    
    img {
      transition: transform 0.3s ease;
    }
    
    &:hover img {
      transform: scale(1.05);
    }
  }
  
  .service-technologies {
    .tech-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      
      .tech-tag {
        background: var(--primary-color);
        color: var(--white);
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        
        &:hover {
          background: var(--secondary-color);
          transform: translateY(-2px);
        }
      }
    }
  }
  
  .service-deliverables {
    background: var(--light);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
  }
}

.service-deliverables-section {
  .deliverable-card {
    padding: 40px 30px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    
    &:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    .icon-wrapper {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--success-color, #28a745), var(--primary-color));
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
      
      i {
        font-size: 32px;
        color: var(--white);
      }
    }
  }
  
  .timeline-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    
    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    }
  }
  
  .timeline-features {
    .timeline-feature {
      text-align: center;
      
      i {
        font-size: 24px;
        display: block;
      }
      
      p {
        font-size: 14px;
        margin: 0;
      }
    }
  }
}

.transform-benefits {
  .benefit-item {
    padding: 30px 20px;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    
    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }
    
    .benefit-icon {
      i {
        font-size: 48px;
      }
    }
  }
}

.expertise-content {
  .expertise-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    
    &:last-child {
      border-bottom: none;
    }
  }
}

// 5.XX service detail components styles end

// 5.YY Enhanced Service Page Design Styles
// Consistent container alignment for all service sections
.service-banner,
.service-details,
.service-features,
.service-deliverables-section,
.service-pricing,
.transform,
.tp-process {
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .row.justify-content-center {
    margin: 0 auto;
  }
  
  .col-xl-10 {
    max-width: 100%;
    
    @media (min-width: 1200px) {
      max-width: 83.333333%;
    }
  }
  
  // Consistent row spacing
  .row {
    margin-left: -15px;
    margin-right: -15px;
    
    &.g-3 {
      margin-left: -12px;
      margin-right: -12px;
      
      > * {
        padding-left: 12px;
        padding-right: 12px;
      }
    }
    
    &.g-4 {
      margin-left: -16px;
      margin-right: -16px;
      
      > * {
        padding-left: 16px;
        padding-right: 16px;
      }
    }
  }
  
  // Consistent column padding
  [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.service-banner {
  .service-badge {
    .badge-text {
      background: var(--primary-color);
      color: var(--white);
      padding: 8px 20px;
      border-radius: 25px;
      font-size: 14px;
      font-weight: 600;
      text-transform: none;
      letter-spacing: 1px;
    }
  }
  
  .service-highlights {
    .highlight-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px 15px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.3s ease;
      
      &:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-5px);
      }
      
      i {
        font-size: 24px;
        margin-bottom: 10px;
      }
      
      span {
        font-size: 14px;
        text-align: center;
      }
    }
  }
  
  .banner-cta {
    .btn {
      min-width: 180px;
      padding: 15px 30px;
      font-weight: 600;
      border-radius: 8px;
      transition: all 0.3s ease;
      
      &:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
      }
    }
  }
}

.section-header {
  .section-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 1px;
    margin-bottom: 20px;
  }
  
  h2 {
    font-size: 48px;
    line-height: 1.2;
    
    @media (max-width: 768px) {
      font-size: 36px;
    }
  }
  
  p {
    font-size: 18px;
    line-height: 1.6;
  }
}

.max-width-600 {
  max-width: 600px;
}

.max-width-800 {
  max-width: 800px;
}

// Enhanced feature cards
.service-features {
  .tp-service-single {
    padding: 50px 30px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    
    &:hover {
      transform: translateY(-10px);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
      border-color: var(--primary-color);
    }
    
    .icon-wrapper {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 30px;
      position: relative;
      
      &::before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border-radius: 50%;
        opacity: 0.2;
        z-index: -1;
      }
      
      i {
        font-size: 36px;
        color: var(--white);
      }
    }
    
    h4 {
      font-size: 22px;
      margin-bottom: 20px;
      color: var(--secondary-color);
    }
    
    p {
      font-size: 16px;
      line-height: 1.6;
      color: var(--text-muted);
    }
  }
}

// Enhanced deliverables section
.service-deliverables-section {
  .deliverable-card {
    padding: 50px 30px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    
    &:hover {
      transform: translateY(-10px);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
      border-color: var(--success-color, #28a745);
    }
    
    .icon-wrapper {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--success-color, #28a745), var(--primary-color));
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 30px;
      position: relative;
      
      &::before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        background: linear-gradient(135deg, var(--success-color, #28a745), var(--primary-color));
        border-radius: 50%;
        opacity: 0.2;
        z-index: -1;
      }
      
      i {
        font-size: 36px;
        color: var(--white);
      }
    }
    
    h5 {
      font-size: 20px;
      margin-bottom: 20px;
      color: var(--secondary-color);
    }
  }
  
  .timeline-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    
    &:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    }
  }
}

// Enhanced pricing section
.service-pricing {
  .pricing-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    }
    
    &:hover {
      transform: translateY(-10px);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
    }
  }
  
  .price-display {
    .price-amount {
      font-size: 56px;
      line-height: 1;
      display: block;
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .price-period {
      font-size: 16px;
      text-transform: none;
      letter-spacing: 1px;
      color: var(--text-muted);
    }
  }
  
  .feature-list {
    list-style: none;
    padding: 0;
    
    .feature-item {
      padding: 15px 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      display: flex;
      align-items: center;
      
      &:last-child {
        border-bottom: none;
      }
      
      i {
        font-size: 18px;
        margin-right: 15px;
        color: var(--success-color, #28a745);
      }
    }
  }
}

// Enhanced process section
.tp-process {
  .section-header {
    .section-tag {
      background: rgba(255, 255, 255, 0.2);
      color: var(--white);
      border: 1px solid rgba(255, 255, 255, 0.3);
    }
  }
  
  .process__single {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    
    &:last-child {
      border-bottom: none;
    }
    
    .op-text {
      font-size: 48px;
      font-weight: 700;
      color: var(--primary-color);
      display: block;
      margin-bottom: 20px;
    }
    
    h5 {
      font-size: 24px;
      margin-bottom: 15px;
      color: var(--white);
    }
    
    p {
      font-size: 16px;
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.8);
    }
  }
}

// Enhanced transform section
.transform {
  .section-header {
    .section-tag {
      background: var(--primary-color);
      color: var(--white);
    }
  }
  
  .benefit-item {
    padding: 40px 25px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    
    &:hover {
      transform: translateY(-10px);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
      border-color: var(--primary-color);
    }
    
    .benefit-icon {
      i {
        font-size: 56px;
        color: var(--primary-color);
      }
    }
    
    h5 {
      font-size: 22px;
      margin-bottom: 20px;
      color: var(--secondary-color);
    }
    
    p {
      font-size: 16px;
      line-height: 1.6;
      color: var(--text-muted);
    }
  }
  
  .expertise-content {
    .expertise-item {
      padding: 25px 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      
      &:last-child {
        border-bottom: none;
      }
      
      h5 {
        font-size: 22px;
        margin-bottom: 15px;
        color: var(--secondary-color);
      }
      
      p {
        font-size: 16px;
        line-height: 1.6;
        color: var(--text-muted);
      }
    }
  }
}

// Consistent spacing and alignment
.service-details,
.service-features,
.service-deliverables-section,
.service-pricing,
.transform,
.tp-process {
  .row {
    margin-left: -15px;
    margin-right: -15px;
  }
  
  .col-12,
  .col-md-6,
  .col-lg-4,
  .col-lg-6,
  .col-lg-8,
  .col-xl-10 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

// Ensure consistent vertical spacing
.service-details,
.service-features,
.service-deliverables-section,
.service-pricing,
.transform,
.tp-process {
  .section-header {
    margin-bottom: 80px;
    
    @media (max-width: 768px) {
      margin-bottom: 60px;
    }
  }
  
  .row {
    margin-bottom: 0;
  }
  
  .mb-40 {
    margin-bottom: 40px;
    
    @media (max-width: 768px) {
      margin-bottom: 30px;
    }
  }
  
  .mb-60 {
    margin-bottom: 60px;
    
    @media (max-width: 768px) {
      margin-bottom: 40px;
    }
  }
  
  .mb-80 {
    margin-bottom: 80px;
    
    @media (max-width: 768px) {
      margin-bottom: 60px;
    }
  }
}

// Responsive improvements
@media (max-width: 768px) {
  .section-header {
    h2 {
      font-size: 32px;
    }
    
    p {
      font-size: 16px;
    }
  }
  
  .service-banner {
    .service-highlights {
      .highlight-item {
        margin-bottom: 20px;
      }
    }
    
    .banner-cta {
      .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
      }
    }
  }
  
  .service-features,
  .service-deliverables-section {
    .tp-service-single,
    .deliverable-card {
      padding: 30px 20px;
    }
  }
  
  // Mobile alignment fixes
  .service-details,
  .service-features,
  .service-deliverables-section,
  .service-pricing,
  .transform,
  .tp-process {
    .col-xl-10 {
      padding-left: 15px;
      padding-right: 15px;
    }
    
    .container {
      padding-left: 20px;
      padding-right: 20px;
    }
  }
  
  // Mobile grid improvements
  .row.g-3,
  .row.g-4 {
    margin-left: -10px;
    margin-right: -10px;
    
    > * {
      padding-left: 10px;
      padding-right: 10px;
    }
  }
}

@media (max-width: 576px) {
  .service-banner,
  .service-details,
  .service-features,
  .service-deliverables-section,
  .service-pricing,
  .transform,
  .tp-process {
    .container {
      padding-left: 15px;
      padding-right: 15px;
    }
    
    .row {
      margin-left: -10px;
      margin-right: -10px;
      
      > * {
        padding-left: 10px;
        padding-right: 10px;
      }
    }
  }
  
  .section-header {
    h2 {
      font-size: 28px;
    }
    
    p {
      font-size: 14px;
    }
  }
}

// 5.YY Enhanced Service Page Design Styles end

// 5.ZZ Luxury Case Study Details Styles start
.case-study-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
  overflow: hidden;
  padding: 120px 0 80px;
  color: white;

  &.luxury-case-hero {
    padding-top: 220px;
    
    @media (max-width: 991px) {
      padding-top: 200px;
      min-height: 60vh;
    }
    
    @media (max-width: 768px) {
      padding-top: 190px;
      min-height: 50vh;
      padding-bottom: 60px;
    }
    
    @media (max-width: 576px) {
      padding-top: 190px;
      min-height: auto;
      padding-bottom: 40px;
    }
  }

  .hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    z-index: 1;
  }

  .hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;

    .hero-image-wrapper {
      position: relative;
      width: 100%;
      height: 100%;

      .hero-image {
        opacity: 0.3;
      }
    }

    .hero-image-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.8) 100%);
      z-index: 1;
    }
  }

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

  .case-study-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
      border: 1px solid rgba(212, 175, 55, 0.4);
      color: #d4af37;
      padding: 10px 20px;
      border-radius: 50px;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 24px;
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);

      i {
        font-size: 14px;
      }
    }

    .hero-title {
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 700;
      line-height: 1.2;
      color: white;
      margin-bottom: 20px;
      letter-spacing: -0.02em;
    }

    .hero-subtitle {
      font-size: clamp(1.25rem, 3vw, 1.75rem);
      font-weight: 400;
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 32px;
      line-height: 1.4;
    }

    .hero-meta {
      display: flex;
      gap: 32px;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 32px;

      .meta-item {
        display: flex;
        align-items: center;
        gap: 8px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 14px;

        i {
          color: #d4af37;
          font-size: 16px;
        }
      }
    }
  }
}

.case-study-details {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  padding: 80px 0;

  &.luxury-case-study {
    padding: 60px 0 80px;
  }

  .case-study-poster {
    .poster-wrapper {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
      background: white;

      .poster-image {
        width: 100%;
        height: auto;
        border-radius: 16px;
      }
    }
  }

  .case-study-content {
    .section-title {
      font-size: clamp(1.75rem, 3vw, 2.25rem);
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 32px;
      letter-spacing: -0.02em;
      position: relative;
      padding-bottom: 16px;

      &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #d4af37, #8b5cf6);
        border-radius: 2px;
      }
    }

    .content-html {
      font-size: 16px;
      line-height: 1.8;
      color: #475569;

      h2, h3, h4 {
        color: #1e293b;
        margin-top: 32px;
        margin-bottom: 16px;
        font-weight: 600;
      }

      h2 {
        font-size: 1.75rem;
      }

      h3 {
        font-size: 1.5rem;
      }

      h4 {
        font-size: 1.25rem;
      }

      p {
        margin-bottom: 20px;
      }

      ul, ol {
        margin-bottom: 20px;
        padding-left: 24px;

        li {
          margin-bottom: 12px;
          line-height: 1.7;
        }
      }

      a {
        color: #2563eb;
        text-decoration: none;
        border-bottom: 1px solid rgba(37, 99, 235, 0.3);
        transition: all 0.3s ease;

        &:hover {
          color: #1d4ed8;
          border-bottom-color: #1d4ed8;
        }
      }

      strong {
        color: #1e293b;
        font-weight: 600;
      }
    }
  }

  .case-study-sidebar {
    position: sticky;
    top: 100px;

    .sidebar-image {
      .image-wrapper {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        background: white;

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

    .info-card {
      background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
      border: 1px solid rgba(226, 232, 240, 0.8);
      border-radius: 16px;
      padding: 32px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

      .info-card-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 2px solid rgba(212, 175, 55, 0.2);
      }

      .info-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 24px;

        .info-item {
          display: flex;
          justify-content: space-between;
          align-items: flex-start;
          gap: 16px;

          .info-label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            color: #64748b;
            flex-shrink: 0;

            i {
              color: #d4af37;
              font-size: 16px;
            }
          }

          .info-value {
            font-size: 14px;
            font-weight: 500;
            color: #1e293b;
            text-align: right;

            &.featured-badge {
              background: linear-gradient(135deg, #d4af37, #8b5cf6);
              color: white;
              padding: 4px 12px;
              border-radius: 20px;
              font-size: 12px;
              font-weight: 600;
            }
          }
        }
      }

      .info-card-footer {
        padding-top: 24px;
        border-top: 1px solid rgba(226, 232, 240, 0.8);

        .btn {
          width: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 8px;
          padding: 12px 24px;
          background: transparent;
          border: 2px solid rgba(212, 175, 55, 0.3);
          color: #1e293b;
          border-radius: 8px;
          font-weight: 600;
          text-decoration: none;
          transition: all 0.3s ease;

          &:hover {
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(139, 92, 246, 0.1));
            border-color: #d4af37;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
          }

          i {
            font-size: 14px;
          }
        }
      }
    }
  }

  .case-study-section {
    .section-title {
      font-size: clamp(1.75rem, 3vw, 2.25rem);
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 32px;
      letter-spacing: -0.02em;
      position: relative;
      padding-bottom: 16px;

      &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #d4af37, #8b5cf6);
        border-radius: 2px;
      }

      &.text-center {
        text-align: center;

        &::after {
          left: 50%;
          transform: translateX(-50%);
        }
      }
    }
  }

  .case-study-stats {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 20px;
    margin: 40px 0;

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 32px;
      margin-top: 40px;

      .stat-card {
        background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 16px;
        padding: 32px 24px;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

        &:hover {
          transform: translateY(-8px);
          box-shadow: 0 12px 32px rgba(212, 175, 55, 0.15);
          border-color: rgba(212, 175, 55, 0.4);
        }

        .stat-number {
          font-size: clamp(2rem, 4vw, 3rem);
          font-weight: 700;
          background: linear-gradient(135deg, #d4af37, #8b5cf6);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          background-clip: text;
          margin-bottom: 12px;
          line-height: 1.2;
        }

        .stat-label {
          font-size: 15px;
          color: #64748b;
          line-height: 1.5;
          font-weight: 500;
        }
      }
    }
  }

  .full-description {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;

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

    .gallery-item {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
      background: white;
      transition: all 0.3s ease;

      &:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
      }

      .gallery-image-wrapper {
        position: relative;
        width: 100%;
        padding-top: 75%; // 4:3 aspect ratio
        overflow: hidden;

        .gallery-image {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
        }

        .gallery-caption {
          position: absolute;
          bottom: 0;
          left: 0;
          right: 0;
          background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
          padding: 20px;
          color: white;

          p {
            margin: 0;
            font-size: 14px;
            font-weight: 500;
          }
        }
      }
    }
  }

  .loading-state,
  .error-state {
    text-align: center;
    padding: 80px 20px;

    .loading-spinner {
      width: 50px;
      height: 50px;
      border: 4px solid rgba(212, 175, 55, 0.2);
      border-top-color: #d4af37;
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin: 0 auto 24px;
    }

    h2 {
      font-size: 2rem;
      color: #1e293b;
      margin-bottom: 16px;
    }

    p {
      color: #64748b;
      margin-bottom: 32px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      background: linear-gradient(135deg, #d4af37, #8b5cf6);
      color: white;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;

      &:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
      }
    }
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

// Responsive styles for case study details
@media (max-width: 991px) {
  .case-study-details {
    .case-study-sidebar {
      position: static;
      margin-top: 40px;
    }
  }
}

@media (max-width: 768px) {
  .case-study-hero {
    .case-study-hero-content {
      .hero-meta {
        flex-direction: column;
        gap: 16px;
        align-items: center;
      }
    }
  }

  .case-study-details {
    padding: 40px 0 60px;

    .gallery-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .case-study-stats {
      padding: 40px 20px;
      margin: 20px 0;

      .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }
    }
  }
}

@media (max-width: 576px) {
  .case-study-hero {
    .case-study-hero-content {
      .hero-badge {
        font-size: 11px;
        padding: 8px 16px;
      }
    }
  }

  .case-study-details {
    .case-study-sidebar {
      .info-card {
        padding: 24px;
      }
    }
  }
}

// Process Section Styles
.case-study-process {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: white;
  position: relative;
  overflow: hidden;

  &.luxury-process {
    padding: 80px 0;
  }

  .process-content {
    .process-title {
      font-size: clamp(1.75rem, 3vw, 2.5rem);
      font-weight: 700;
      color: white;
      margin-bottom: 24px;
      letter-spacing: -0.02em;
    }

    .process-description {
      font-size: 16px;
      line-height: 1.7;
      color: rgba(255, 255, 255, 0.8);
    }
  }

  .process-steps-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;

    .process-step-item {
      display: flex;
      gap: 24px;
      position: relative;
      padding: 24px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(212, 175, 55, 0.2);
      border-radius: 12px;
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;

      &:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(212, 175, 55, 0.4);
        transform: translateX(8px);
      }

      .step-number {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #d4af37, #8b5cf6);
        border-radius: 12px;
        font-size: 24px;
        font-weight: 700;
        color: white;
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
      }

      .step-content {
        flex: 1;

        .step-title {
          font-size: 1.25rem;
          font-weight: 600;
          color: white;
          margin-bottom: 12px;
        }

        .step-description {
          font-size: 15px;
          line-height: 1.6;
          color: rgba(255, 255, 255, 0.8);
          margin: 0;
        }
      }

      .step-connector {
        position: absolute;
        left: 48px;
        bottom: -32px;
        width: 2px;
        height: 32px;
        background: linear-gradient(180deg, rgba(212, 175, 55, 0.5), transparent);
      }

      &:last-child .step-connector {
        display: none;
      }
    }
  }
}

// Related Case Studies Section
.related-case-studies {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);

  &.luxury-related {
    padding: 80px 0;
  }

  .section-header {
    text-align: center;
    margin-bottom: 60px;

    .section-title {
      font-size: clamp(1.75rem, 3vw, 2.5rem);
      font-weight: 700;
      color: #1e293b;
      margin-bottom: 16px;
      letter-spacing: -0.02em;
    }

    .section-subtitle {
      font-size: 16px;
      color: #64748b;
    }
  }

  .related-case-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;

    &:hover {
      transform: translateY(-8px);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    }

    .case-link {
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .case-image-wrapper {
      position: relative;
      width: 100%;
      padding-top: 75%; // 4:3 aspect ratio
      overflow: hidden;
      background: #f1f5f9;

      .case-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
      }

      .image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.9), rgba(139, 92, 246, 0.9));
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;

        i {
          font-size: 32px;
          color: white;
        }
      }

      &:hover {
        .case-image {
          transform: scale(1.1);
        }

        .image-overlay {
          opacity: 1;
        }
      }
    }

    .case-content {
      padding: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;

      .case-category {
        display: inline-block;
        font-size: 12px;
        font-weight: 600;
        color: #d4af37;
        background: rgba(212, 175, 55, 0.1);
        padding: 4px 12px;
        border-radius: 20px;
        margin-bottom: 12px;
        width: fit-content;
      }

      .case-title {
        font-size: 1.25rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 12px;
        line-height: 1.3;
        transition: color 0.3s ease;
      }

      .case-excerpt {
        font-size: 14px;
        line-height: 1.6;
        color: #64748b;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      &:hover .case-title {
        color: #d4af37;
      }
    }
  }
}

@media (max-width: 991px) {
  .case-study-process {
    .process-steps-list {
      .process-step-item {
        .step-connector {
          display: none;
        }
      }
    }
  }
}

@media (max-width: 768px) {
  .case-study-process {
    padding: 60px 0;

    .process-steps-list {
      gap: 24px;

      .process-step-item {
        padding: 20px;
        gap: 16px;

        .step-number {
          width: 50px;
          height: 50px;
          font-size: 20px;
        }
      }
    }
  }

  .related-case-studies {
    padding: 60px 0;
  }
}

// 5.ZZ Luxury Case Study Details Styles end

/* ==== 
 --------- (5.0) all sections styles end ---------
 ==== */
