﻿:root {
    --primary-color: #00A0DB;
    --secondary-color: #001844;
    --yellow: #FFD700;
    --teal: var(--primary-color);
    --grey: #797F8B;
    --pink: #fe0c7d;
    --black: #162356;
    --white: #FFFFFF;
    --red: #FE0C7D;
    --light-grey: #f3f4fa;
    --violet: #8E59FD;
    --faded-gray: #E6E9EC;
    --primary-color-light: #a5d8ff;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.product-details-page .related-products-grid .title {
  position: relative;
}

  .product-details-page .related-products-grid .title .swiper-nav {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

    .product-details-page .related-products-grid .title .swiper-nav .swiper-button-next,
    .product-details-page .related-products-grid .title .swiper-nav .swiper-button-prev {
      background: none;
      transform: translateY(0) scale(0.7);
    }

.product-details-page .related-products-grid .swiper-slide {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding-inline: 5px;
}

  .product-details-page .related-products-grid .swiper-slide .item-box {
    width: 50%;
  }

.product-details-page .product-tags-list {
    display: none;
}
@media (min-width: 768px) {
  .product-details-page .related-products-grid .swiper-slide {
    width: 66.66%;
  }
}

@media (min-width: 1200px) {
  .product-details-page .related-products-grid .swiper-slide {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .product-three-column .related-products-grid {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 20px;
    border-left: 1px solid #E6E9EC;
    min-height: 100%;
  }

    .product-three-column .related-products-grid .title strong {
      font-size: 18px;
    }

    .product-three-column .related-products-grid .swiper-slide {
      width: 100%;
      display: block;
      padding-inline: 0;
      gap: 0;
    }

      .product-three-column .related-products-grid .swiper-slide .item-box {
        width: 100%;
      }

        .product-three-column .related-products-grid .swiper-slide .item-box .product-item .picture img {
          width: 100%;
          object-fit: cover;
        }

        .product-three-column .related-products-grid .swiper-slide .item-box .product-title {
          padding-bottom: 0;
          margin: 0;
          border: none;
        }

          .product-three-column .related-products-grid .swiper-slide .item-box .product-title a {
            width: 100%;
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-weight: 600;
            font-size: 16px;
            height: auto;
          }

        .product-three-column .related-products-grid .swiper-slide .item-box .prices {
          display: none;
        }

        .product-three-column .related-products-grid .swiper-slide .item-box .buttons {
          display: none;
        }
}

/**********************Topic***********************/
.latest-work,
.contact-banner,
.banner-container {
  position: relative;
  margin-bottom: 50px;
}

.banner-container {
  background: url("https://www.nop-station.com/images/uploaded/Topics/hero-banner-ui-ux-design.webp") no-repeat;
  padding-top: 43%;
  background-position: top left;
  animation: mymove 4s infinite;
  background-size: 102%;
  width: 100%;
  max-width: 100%;
  box-shadow: -2px 14px 45px -16px rgba(0, 0, 0, 0.2);
  border-radius: 10px 10px 120px 10px;
}

@keyframes mymove {
  50% {
    background-position: center;
  }
}

.banner-container img {
  display: none;
}
/*
*/

.banner-container .banner-text {
  position: absolute;
  top: 80px;
  left: 5%;
  max-width: 460px;
  font-size: 20px;
  line-height: 32px;
  font-weight: 600;
}

.banner-container img {
  width: 100%;
  max-width: 100%;
  box-shadow: -2px 14px 45px -16px rgba(0, 0, 0, 0.2);
  border-bottom-right-radius: 120px;
}

.tab-title {
  position: relative;
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  padding-left: 65px;
}

  .tab-title::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 60px;
    height: 40px;
    display: block;
    background: linear-gradient(270deg, #61d1fb 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 0 50px 50px 0;
  }

.tab-sub-title {
  padding-left: 65px;
  font-size: 20px;
  line-height: 24px;
}

.tab-items {
  position: relative;
  overflow: hidden;
  padding: 50px 0 80px;
}

.tab-item {
  width: 47%;
}

.tab-details {
  position: absolute;
  width: 47%;
  left: calc(50% + 3%);
  text-align: center;
  top: 110%;
}

.tab-item.active .tab-details {
  display: block;
  top: 50%;
  transform: translateY(-50%);
  transition: top ease-in-out 0.4s;
}

.tab-details p {
  max-width: 450px;
  margin: auto;
  font-size: 20px;
  line-height: 30px;
  text-align: left;
}

.tab-details img {
  max-height: 220px;
  margin-bottom: 30px;
}

.tab-item-title {
  box-shadow: -2px 14px 45px -16px rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
  padding: 12px;
  background: rgba(244, 249, 253, 1);
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
}

span.number {
  display: inline-block;
  padding: 0 0 0 20px;
  border-radius: 0 50px 50px 0;
  margin-right: 15px;
}

.tab-item.active .tab-item-title {
  background: #fff;
}

.tab-item.active .number {
  background: linear-gradient(270deg, #61d1fb 0%, rgba(255, 255, 255, 0) 100%);
  padding: 0 20px;
  transition: all ease 0.3s;
}

.tab-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

  .tab-right .tab-details {
    left: 0;
  }

.contact-banner img {
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
}

.contact-information {
  position: absolute;
  top: 20%;
  left: 10%;
}

  .contact-information p {
    color: #fff;
    font-size: 22px;
    line-height: 30px;
  }

.contact-buttons {
  margin: 20px 0 15px;
}

  .contact-buttons a {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
  }

.contact-information .contact-buttons img {
  width: 155px;
}

.contact-email-links h4 span {
  display: block;
  color: #8db849;
}

  .contact-email-links h4 span a {
    margin-top: 5px;
    color: #fff;
  }

.latest-work h4 {
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  margin-bottom: 30px;
}

.latest-work-contents {
  display: flex;
  justify-content: space-between;
}

.latest-work-content {
  background: #fff;
  box-shadow: -2px 14px 45px -16px rgba(0, 0, 0, 0.2);
  border-radius: 10px 10px 100px 10px;
}

.latest-work-outer {
  width: 48%;
}

.latest-work-content.margin-top {
  margin-top: 50px;
}

.latest-work-content .lw-img {
  width: 100%;
  margin-bottom: 25px;
  border-radius: 10px 10px 0 0;
}

.latest-work-content .lw-logo {
  margin: 0 20px 25px;
  display: block;
}

.latest-work-content .lw-text {
  margin: 0 20px 25px;
  font-size: 18px;
  line-height: 26px;
}

.latest-work-content a {
  color: #00aff0;
  display: block;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  padding: 0 20px 30px;
  text-decoration: none;
}

  .latest-work-content a span {
    display: inline-flex;
    background: #00aff0;
    margin-left: 10px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
  }

    .latest-work-content a span img {
      max-width: 100%;
      width: 16px;
    }

.tab-item-title {
  background-color: transparent;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  z-index: 11;
}

  .tab-item-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
    background-color: rgba(175, 218, 252, 0.19);
    left: -100%;
  }

.tab-item:not(.active) .tab-item-title:hover::before {
  left: 0;
  z-index: 1;
}

/*Case 1 Starts*/
.cs-top-banner {
  position: relative;
  margin-bottom: 30px;
}

.cs-top-banner-text {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.cs-top-banner::before {
  content: "";
  position: absolute;
  background-color: rgba(217, 215, 228, 1);
  top: -27px;
  left: -25%;
  width: 150%;
  height: 60%;
  z-index: 1;
}

.cs-top-banner-img {
  position: relative;
  z-index: 10;
}

  .cs-top-banner-img img {
    width: 100%;
    max-width: 100%;
    border-bottom-right-radius: 120px;
  }

.cs-top-banner-left {
  width: 50%;
  position: relative;
  z-index: 10;
}

.cs-top-banner-right {
  background: rgba(239, 238, 245, 1);
  width: 331px;
  padding: 20px;
  position: relative;
  z-index: 10;
}

h2.cs-top-banner-title {
  font-size: 30px;
  line-height: 36px;
  margin-bottom: 30px;
}

.cs-top-banner-left-text {
  font-size: 18px;
  line-height: 28px;
}

.cs-top-services-title {
  font-size: 18px;
  line-height: 28px;
  text-decoration: underline;
  margin-bottom: 20px;
}

.cs-top-services-text {
  line-height: 26px;
}

.bullet-point-title {
  display: inline-block;
  font-weight: 700;
}

  .bullet-point-title span {
    display: inline-block;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

.project-scope .bullet-point-title {
  margin-bottom: 30px;
}

  .project-scope .bullet-point-title span {
    font-size: 30px;
    line-height: 40px;
  }

.bullet-point li {
  list-style: none;
  position: relative;
  padding-left: 20px;
  font-size: 20px;
  line-height: 30px;
}

  .bullet-point li::before {
    content: "";
    width: 7px;
    height: 7px;
    position: absolute;
    border-radius: 50%;
    background: #000;
    left: 0;
    top: 10px;
  }

.project-scope {
  margin-bottom: 30px;
}

.approach .bullet-point-title {
  font-size: 24px;
  line-height: 28px;
  margin-bottom: 10px;
}

.user-research {
  margin-bottom: 60px;
}

.cs-title {
  position: relative;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  padding-left: 70px;
}

  .cs-title::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 60px;
    height: 32px;
    display: block;
    background: linear-gradient(270deg, #61d1fb 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 0 50px 50px 0;
  }

.approach-title {
  margin-bottom: 50px;
}

.approach-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 55px;
}

.approach-left,
.approach-right {
  width: 47%;
}

.approach-container img {
  width: 100%;
  border-radius: 12px;
}

.approach-container .bullet-point-title {
  margin-bottom: 30px;
}

.approach-left .bullet-point,
.approach-right img {
  margin-bottom: 25px;
}

.challenges-solution {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 40px;
}

.challenges-title,
.solution-title {
  margin-bottom: 30px;
}

.solution {
  margin-top: 66px;
}

.challenges-solution img {
  box-shadow: -2px 14px 45px -16px rgba(0, 0, 0, 0.2);
  margin-bottom: 40px;
  border-radius: 12px;
  width: 100%;
  max-width: 100%;
}

.challenges-solution .bullet-point-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 10px;
}

.challenges-solution .bullet-point {
  margin-bottom: 20px;
}

.result {
  padding: 40px;
  background: #fff;
  box-shadow: -2px 14px 45px -16px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin-bottom: 40px;
}

.result-title {
  margin-bottom: 40px;
}

.result .bullet-point-title {
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 10px;
}

.result ul {
  margin-left: 10px;
}

.result .bullet-point {
  margin-bottom: 20px;
}

/*Case 1 Ends*/

@media (min-width: 969px) {
  .tab-items::before {
    content: "";
    width: 50%;
    position: absolute;
    display: block;
    height: 100%;
    background: #f4f9fd;
    z-index: 2;
    top: 0;
  }

  .tab-details {
    position: absolute;
    width: 47%;
    left: 0;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
  }

  .tab-right .tab-details {
    left: initial;
    right: 0;
  }

  .tab-item.active .tab-details {
    left: calc(50% + 3%);
    transition: left ease-in-out 0.6s;
  }

  .tab-right .tab-item.active .tab-details {
    left: initial;
    right: calc(50% + 3%);
    transition: right ease-in-out 0.6s;
  }
}

@media (max-width: 968px) {
  .banner-container {
    background: linear-gradient(90deg, rgba(218, 211, 250, 1) 0%, rgba(218, 211, 250, 1) 100%);
    border-radius: 20px;
    padding: 0;
  }

    .banner-container img {
      display: none;
    }

    .banner-container .banner-text {
      position: static;
      max-width: 100%;
      padding: 30px;
    }

  .tab-item {
    overflow: hidden;
    width: 90%;
    margin: auto;
  }

  .tab-details {
    display: block;
    position: relative;
    left: 0;
    top: 500px;
    height: 0;
    margin: auto;
    width: 80%;
  }

  .tab-item.active .tab-details {
    display: block;
    transform: initial;
    height: auto;
    top: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: ease-in-out top 0.3s;
  }

  .contact-banner {
    background: rgba(9, 44, 36, 1);
    border-radius: 20px;
  }

    .contact-banner > img {
      display: none;
    }

  .contact-information {
    position: static;
    max-width: 100%;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .tab-title::before {
    height: 30px;
  }

  .latest-work-contents {
    flex-direction: column;
    align-items: center;
  }

  .latest-work-outer {
    width: 90%;
  }

  .tab-item-title {
    font-size: 16px;
    line-height: 20px;
  }

  .tab-title {
    font-size: 22px;
  }

  .contact-information .contact-buttons img {
    width: 120px;
  }

  .latest-work h4 {
    font-size: 28px;
    line-height: 36px;
  }

  .tab-sub-title {
    font-size: 18px;
    line-height: 22px;
  }

  .tab-items {
    padding: 20px 0 50px;
  }
}

@media (max-width: 568px) {
  .contact-email-links h4 {
    gap: 20px;
    flex-direction: column;
  }

  /*Case 1 starts*/
  .cs-top-banner-text {
    align-items: center;
    flex-direction: column;
  }

  .cs-top-banner-left {
    width: 100%;
  }

  .cs-top-banner-right {
    width: 100%;
  }

  .cs-top-banner::before {
    height: 90%;
  }

  .cs-top-banner-img img {
    border-bottom-right-radius: 50px;
  }

  h2.cs-top-banner-title {
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 20px;
  }

  .cs-top-banner-left-text {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
  }

  .cs-top-banner-text {
    margin-bottom: 25px;
  }

  .cs-top-banner {
    margin-bottom: 20px;
  }

  .project-scope .bullet-point-title span {
    font-size: 20px;
    line-height: 30px;
  }

  .project-scope .bullet-point-title {
    margin-bottom: 10px;
  }

  .bullet-point li {
    font-size: 16px;
    margin-left: 10px;
  }

  .project-scope {
    margin-bottom: 20px;
  }

  .approach-title {
    margin-bottom: 20px;
  }

  .cs-title {
    font-size: 20px;
    line-height: 24px;
    position: relative;
    padding-left: 60px;
  }

    .cs-title::before {
      width: 50px;
      height: 28px;
    }

  .approach .bullet-point-title {
    font-size: 20px;
    line-height: 30px;
  }

  .user-research {
    margin-bottom: 20px;
  }

  .approach-left,
  .approach-right {
    width: 100%;
  }

  .approach-container {
    flex-direction: column;
    gap: 20px;
  }

    .approach-container .bullet-point-title {
      margin-bottom: 10px;
    }

  .approach-left .bullet-point,
  .approach-right img {
    margin-bottom: 20px;
  }

  .challenges-solution {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .challenges-title,
  .solution-title {
    margin-bottom: 20px;
  }

  .challenges-solution img {
    margin-bottom: 20px;
  }

  .solution {
    margin-top: 0;
  }

  .result {
    padding: 30px 20px;
  }

  .result-title {
    margin-bottom: 20px;
  }

  .result ul {
    margin-left: 0;
  }
  /*Case 1 ends*/
}
/**Animation Text Starts**/
#textContainer {
  position: relative;
  width: 95%; /* Allow wrapping for multiline text */
  text-align: left;
  margin: 25px auto;
  height: 30px;
}

  /**Animation Text Starts**/
  #textContainer .line {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    white-space: normal;
    overflow: visible;
    display: inline-block;
    position: absolute; /* Position lines on top of each other */
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    opacity: 1; /* Initially hide all lines */
  }

  /**Animation Text Starts**/
  #textContainer.letter {
    opacity: 0;
    display: inline-block;
  }

  /**Animation Text Starts**/
  #textContainer .cursor {
    font-size: 30px;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }

@media (max-width: 568px) {
  #textContainer {
    height: 18px;
  }

    #textContainer .line {
      font-size: 18px;
    }

    #textContainer .cursor {
      font-size: 18px;
    }
}
/**Animation Text Ends**/
@media (min-width: 992px) {
  .product-contactus-wrapper .contact-links .contact-buttons img {
    width: 150px !important;
  }
}

.block-account-navigation select.account-dropdown {
  display: none;
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

@media (max-width: 768px) {
  .block-account-navigation .list {
    display: none;
  }

  .block-account-navigation select.account-dropdown {
    display: block;
  }
}


/* Main container for the team section to ensure unique styling */
.ts-team-section-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff; /* A light background for context */
  margin: 4rem 0; /* Padding for the section */
  gap: 0;
  max-width: 100%;
}

/* Wrapper for the image */
.ts-image-wrapper {
  flex: 1 1 55%; /* Flex properties to control size */
}

/* The team image itself */
.ts-image-wrapper img , .ts-image-wrapper picture {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 20px 20px 0; /* Matching the mockup's rounded corners */
  object-fit: cover; /* Ensures the image covers the area without distortion */
}

/* Wrapper for the text content */
.ts-content-wrapper {
  flex: 1 1 45%; /* Flex properties to control size */
  padding: 5rem 3rem;
  color: #2c3e50; /* Dark text color for readability */
  background: #F3F4FA;
}

  /* Paragraph styling */
  .ts-content-wrapper p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: #34495e;
  }

    /* Styling for the first paragraph to make it slightly bolder */
    .ts-content-wrapper p:first-of-type {
      font-weight: 500;
      color: #2c3e50;
    }

/* 'Meet our Team' button */
.ts-team-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #00a0db; /* Teal color from mockup */
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none; /* Remove underline from link */
  transition: all 0.3s ease;
}

  .ts-team-button:hover {
      filter: brightness(110%);
  }

  /* Arrow icon within the button */
  .ts-team-button .ts-arrow {
    margin-left: 0.75rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }

  .ts-team-button:hover .ts-arrow {
    transform: translateX(5px); /* Move arrow on hover */
  }

/* Responsive Design: Media Query for smaller screens */
@media (max-width: 768px) {
  .ts-team-section-container {
    flex-direction: column; /* Stack image and text vertically */
    margin: 2rem 1rem;
  }

  .ts-image-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 2;
  }

  /* On mobile, the unique corner is less pronounced */
  .ts-image-wrapper img, .ts-image-wrapper picture {
    border-radius: 5px;
  }

  .ts-content-wrapper {
    padding-left: 0; /* Remove side padding */
    text-align: left; /* Center text on mobile */
    margin-top: -5px;
    padding: 20px 15px;
    position: relative;
    z-index: 1;
  }
  .ts-team-button {
    font-size: 14px;
    line-height: 1;
  }
}

/*technology section*/
.technology-section {
  margin: auto;
  margin: 60px 0;
  text-align: center;
  box-sizing: border-box;
}

.technology-section h2 {
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  text-transform: uppercase;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.tech-row {
  overflow: hidden;
  position: relative;
  margin: 15px 0;
  padding: 10px 0;
}

.tech-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 60s linear infinite;
}

.tech-row.reverse .tech-track {
  animation: scrollRight 60s linear infinite;
}

.tech-item {
  flex: 0 0 auto;
  width: 220px;
  height: 100px;
  margin: 0 15px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

  .tech-item img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    padding: 10px;
  }

/* Responsive */
@media (max-width: 991px) {
  .tech-item {
    width: 180px;
    height: 90px;
  }
}

@media (max-width: 768px) {
  .tech-item {
    width: 33.33vw;
    height: 80px;
  }

  .technology-section {
    margin-bottom: 30px;
  }
  .technology-section h2 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .tech-item {
    width: 45vw;
    height: 70px;
  }
}

/* Animations */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.view-all {
  margin-top: 20px;
}

.view-all a {
  color: #00a0db;
  font-weight: bold;
}

.checkout-page .select-billing-address, 
.checkout-page .select-shipping-address {
  width: 600px;
  max-width: 100%;
  margin-bottom: 20px;
}
.checkout-page .select-billing-address select, .checkout-page .select-shipping-address select {
  color: #162356;
  height: 40px;
  border: 1px solid #666;
  border-radius: 4px;
  max-width: 100%;
  width: 100%;
  display: block;
  margin-bottom: 20px;
}

.checkout-page #checkout-steps .tab-section [id*="delete"] {
  background: #bb2124;
}

  /* ns faq section */
.ns-faq-section * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.ns-faq-section .icon {
  font-size: 11px;
}
.ns-faq-section {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  color: #444;
  overflow: hidden;
}

  /* Section Title */
  .ns-faq-section .faq-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #444;
    text-align: center;
    margin-bottom: 40px;
  }

  /* FAQ List Container */
  .ns-faq-section .faq-list {
    border-top: 1px solid #eee;
  }

  /* Individual FAQ Item */
  .ns-faq-section .faq-item {
    border-bottom: 1px solid #eee;
  }

  /* FAQ Question (Clickable Header) */
  .ns-faq-section .faq-question {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 20px 30px 20px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease-in-out;
  }

    /* Plus/Minus Icon */
    .ns-faq-section .faq-question::after {
      content: '+';
      font-size: 1.5rem;
      font-weight: 300;
      color: #00a0db;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      transition: transform 0.3s ease;
    }

    /* Active state for icon */
    .ns-faq-section .faq-question.active::after {
      content: '−';
      transform: translateY(-50%);
    }

    /* Active state for question text */
    .ns-faq-section .faq-question.active {
      color: #00a0db;
    }


    /* Hover state for question */
    .ns-faq-section .faq-question:not(.active):hover {
      color: #00a0db;
    }

  /* FAQ Answer (Hidden by default) */
  .ns-faq-section .faq-answer {
    display: none;
    padding: 0 20px 20px 0;
    line-height: 1.6;
  }

    .ns-faq-section .faq-answer p {
      font-size: 0.95rem;
      color: #555;
    }

  /* Button Container */
  .ns-faq-section .faq-button-container {
    display: flex;
    justify-content: center;
    gap: 15px; /* Spacing between buttons */
    margin-top: 30px;
  }

  /* Load More Button (Primary) */
  .ns-faq-section .faq-load-more {
    display: block;
    margin: 0;
    padding: 12px 30px; /* Increased padding for arrow */
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: #00a0db;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
  }

    .ns-faq-section .faq-load-more:hover {
      background-color: #0082b0;
      box-shadow: 0 4px 12px rgba(0, 160, 219, 0.2);
    }

  /* Show Less Button (Secondary) */
  .ns-faq-section .faq-show-less {
    display: block;
    margin: 0;
    padding: 12px 30px; /* Increased padding for arrow */
    font-size: 1rem;
    font-weight: 500;
    color: #00a0db;
    background-color: #fff;
    border: 1px solid #00a0db;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
  }

    .ns-faq-section .faq-show-less:hover {
      background-color: #f0faff; /* Faint blue background */
      box-shadow: 0 4px 12px rgba(0, 160, 219, 0.1);
    }
        /* --- ns service section --- */

.ns-section {
  padding-top: 60px;
  padding-bottom: 60px;
  color: var(--black);
}

.ns-section-alternate-bg {
  background-color: var(--light-grey);
}

.ns-section-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  text-align: center;
}

.ns-section-subheading {
  font-size: 18px;
  color: var(--grey);
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.ns-button-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

  .ns-button-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
  }

.ns-button-secondary {
  display: inline-block;
  background-color: var(--white);
  color: var(--primary-color);
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  border: 1px solid var(--primary-color);
  transition: all 0.3s ease;
}

  .ns-button-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
  }

/* --- 3. Hero Section (.ns-ecommerce-hero) --- */
.ns-ecommerce-hero {
  padding: 80px 0;
  background-color: var(--light-grey);
}

.ns-ecommerce-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ns-ecommerce-hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 20px;
}

  .ns-ecommerce-hero-content h1 span {
    color: var(--primary-color);
  }

.ns-ecommerce-hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.ns-ecommerce-hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* --- 4. Market Section (.ns-ecommerce-market) --- */
.ns-ecommerce-market-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ns-ecommerce-market-content h2 {
  text-align: left;
  font-size: 32px;
  margin-bottom: 16px;
}

.ns-ecommerce-market-content p {
  margin-bottom: 16px;
}

.ns-ecommerce-market-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ns-ecommerce-market-stat-item {
  background: var(--white);
  border: 1px solid var(--faded-gray);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

  .ns-ecommerce-market-stat-item span {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
  }

  .ns-ecommerce-market-stat-item p {
    font-size: 16px;
    color: var(--grey);
    margin-bottom: 0;
  }

/* --- 5. Stats Section (.ns-ecommerce-stats) --- */
.ns-ecommerce-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.ns-ecommerce-stats-card {
  background: var(--white);
  border: 1px solid var(--faded-gray);
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

  .ns-ecommerce-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

.ns-ecommerce-stats-card-number {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.ns-ecommerce-stats-card-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--grey);
}

/* --- 6. Partnership Model Section (.ns-ecommerce-partnership) --- */
.ns-ecommerce-partnership-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.ns-ecommerce-partnership-card {
  padding: 30px;
  border-radius: var(--border-radius);
}

  .ns-ecommerce-partnership-card.traditional {
    background-color: rgba(254, 12, 125, 0.05); /* Light red from var(--red) */
    border: 1px solid rgba(254, 12, 125, 0.2);
  }

  .ns-ecommerce-partnership-card.nopstation {
    background-color: var(--light-grey);
    border: 1px solid var(--faded-gray);
  }

  .ns-ecommerce-partnership-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
  }

  .ns-ecommerce-partnership-card.traditional h3 {
    color: var(--red);
  }

  .ns-ecommerce-partnership-card.nopstation h3 {
    color: var(--primary-color);
  }

  .ns-ecommerce-partnership-card p {
    font-size: 16px;
    margin-bottom: 0;
  }

/* --- 7. Services Section (.ns-ecommerce-services) --- */
.ns-ecommerce-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ns-ecommerce-services-card {
  background: var(--white);
  border: 1px solid var(--faded-gray);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

  .ns-ecommerce-services-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

.ns-ecommerce-services-card-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.ns-ecommerce-services-card img {
    max-width: 100%;
    width: 130px;
    aspect-ratio: 1/1;
    object-fit: contain;
    margin-bottom: 15px;
}
.ns-ecommerce-services-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
}

.ns-ecommerce-services-card p {
  font-size: 15px;
  color: var(--grey);
  margin-bottom: 0;
}

/* --- 8. Case Studies Section (.ns-ecommerce-studies) --- */
.ns-ecommerce-studies .swiper-slide {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--faded-gray);
  overflow: hidden;
}

.ns-ecommerce-studies-slide-layout {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  min-height: 400px;
}

.ns-ecommerce-studies-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.ns-ecommerce-studies-slide-content {
  padding: 40px;
}

  .ns-ecommerce-studies-slide-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
  }

  .ns-ecommerce-studies-slide-content p {
    font-size: 16px;
    margin-bottom: 16px;
  }

.ns-ecommerce-studies-slide-result {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  background-color: var(--light-grey);
  padding: 12px 16px;
  border-radius: var(--border-radius);
  display: inline-block;
}

.ns-ecommerce-studies .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

.ns-ecommerce-studies .swiper-button-next,
.ns-ecommerce-studies .swiper-button-prev {
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  margin: 0;
  width: 44px;
  height: 44px;
  box-shadow: var(--shadow);
}

  .ns-ecommerce-studies .swiper-button-next:after,
  .ns-ecommerce-studies .swiper-button-prev:after {
    font-size: 20px;
    font-weight: 700;
  }

/* --- 9. UK Presence Section (.ns-ecommerce-uk-presence) --- */
.ns-ecommerce-uk-presence-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ns-ecommerce-uk-presence-content h2 {
  text-align: left;
  font-size: 32px;
}

.ns-ecommerce-uk-presence-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.ns-ecommerce-uk-presence-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* --- 10. Full Expertise Section (.ns-ecommerce-expertise) --- */
.ns-ecommerce-expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ns-ecommerce-expertise-card {
  background: var(--white);
  border: 1px solid var(--faded-gray);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

  .ns-ecommerce-expertise-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
  }

  .ns-ecommerce-expertise-card p {
    font-size: 15px;
    margin-bottom: 0;
  }

/* --- 11. Process Section (.ns-ecommerce-process) --- */
.ns-ecommerce-process-intro {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

  .ns-ecommerce-process-intro h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
  }

  .ns-ecommerce-process-intro p {
    font-size: 16px;
  }

.ns-ecommerce-process-diagram {
  text-align: center;
  margin-bottom: 40px;
}

  .ns-ecommerce-process-diagram img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--faded-gray);
  }

.ns-ecommerce-process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ns-ecommerce-process-step-card {
  padding: 24px;
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--faded-gray);
  box-shadow: var(--shadow);
  text-align: center;
}

  .ns-ecommerce-process-step-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
  }

  .ns-ecommerce-process-step-card p {
    font-size: 15px;
  }

/* --- 12. FAQ Section (.ns-ecommerce-faq) --- */
.ns-ecommerce-faq-container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* jQuery UI Accordion Overrides */
.ns-ecommerce-faq .ui-accordion .ui-accordion-header {
  background: var(--white);
  border: 1px solid var(--faded-gray);
  border-radius: var(--border-radius);
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin-top: 10px;
  padding: 16px;
}

  .ns-ecommerce-faq .ui-accordion .ui-accordion-header.ui-state-active {
    background: var(--light-grey);
    color: var(--primary-color);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
  }

.ns-ecommerce-faq .ui-accordion .ui-accordion-content {
  border: 1px solid var(--faded-gray);
  border-top: none;
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  padding: 20px;
  font-size: 16px;
  background: var(--white);
}

  .ns-ecommerce-faq .ui-accordion .ui-accordion-content p {
    margin-bottom: 0;
  }

  .ns-ecommerce-faq .ui-accordion .ui-accordion-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
  }

    .ns-ecommerce-faq .ui-accordion .ui-accordion-content a:hover {
      text-decoration: underline;
    }

/* --- 13. Final CTA Section (.ns-ecommerce-cta) --- */
.ns-ecommerce-cta {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.ns-ecommerce-cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.ns-ecommerce-cta-content p {
  font-size: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  opacity: 0.9;
}

.ns-ecommerce-cta .ns-button-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

  .ns-ecommerce-cta .ns-button-secondary:hover {
    background-color: var(--light-grey);
    border-color: var(--light-grey);
  }

.ns-ecommerce-studies-slide-image {
  font-size: 0;
}
.service-topics-page  .ns-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 0.8s ease;
}

.service-topics-page .ns-section.ns-visible {
    opacity: 1;
    transform: translateY(0);
}


/* 2. Base Section Styling */
.ns-topic-section {
  padding: 80px 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
}

/* 3. Topic Hero Section */
.ns-topic-hero {
  text-align: center;
  background: #f4f7f9;
  border-radius: 16px;
  margin-bottom: 40px;
  overflow: hidden;
  border-bottom: 4px solid #00a0db;
}

.ns-topic-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #001844;
  padding: 60px 20px 0;
}

.ns-topic-hero-desc {
  font-size: 1.2rem;
  max-width: 850px;
  margin: 0 auto 40px;
  color: #666666;
  padding: 0 20px;
}

.ns-topic-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* 4. Alternating Content Section */
.ns-topic-split {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

  .ns-topic-split.ns-reverse {
    flex-direction: row-reverse;
  }

.ns-topic-split-content {
  flex: 1.2;
  min-width: 320px;
}

.ns-topic-split-image {
  flex: 0.8;
  min-width: 320px;
}

  .ns-topic-split-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 24, 68, 0.12);
  }

.ns-topic-split-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #001844;
  position: relative;
  text-align: left;
}

.ns-topic-split-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #00a0db;
  margin-top: 10px;
}

.ns-topic-split-text {
  font-size: 1.05rem;
  color: #666666;
  margin-bottom: 15px;
}

/* 5. Grid Section (Cards) */
.ns-topic-grid-header {
  text-align: center;
  margin-bottom: 50px;
}

.ns-topic-grid-header h2 {
  font-size: 2.5rem;
  color: #001844;
  margin-bottom: 15px;
}

.ns-topic-grid-header p {
  color: #666666;
  max-width: 700px;
  margin: 0 auto;
}

.ns-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.ns-topic-card {
  background: #ffffff;
  border: 1px solid #e1e8ed;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.ns-topic-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 160, 219, 0.15);
  border-color: #00a0db;
}

.ns-topic-card-img-wrapper {
  position: relative;
  overflow: hidden;
}

.ns-topic-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.ns-topic-card:hover .ns-topic-card-img {
  transform: scale(1.05);
}

.ns-topic-card-body {
  padding: 30px;
  flex-grow: 1;
}

.ns-topic-card-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #001844;
  transition: all 0.3s ease;
}

.ns-topic-card:hover .ns-topic-card-title {
  color: #00a0db;
}

.ns-topic-card-text {
  font-size: 0.95rem;
  color: #666666;
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .ns-topic-hero-title {
    font-size: 2.2rem;
  }

  .ns-topic-split-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .ns-topic-section {
    padding: 50px 0;
  }

  .ns-topic-hero-title {
    font-size: 1.8rem;
    padding-top: 40px;
  }

  .ns-topic-hero-desc {
    font-size: 1rem;
  }

  .ns-topic-split {
    flex-direction: column !important;
    text-align: center;
    gap: 30px;
  }

  .ns-topic-split-title::after {
    margin: 10px auto 0;
  }

  .ns-topic-grid-header h2 {
    font-size: 2rem;
  }
}


/* --- 14. Responsive Media Queries --- */
@media (max-width: 992px) {
  .ns-ecommerce-hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ns-ecommerce-hero-image {
    grid-row: 1; /* Image on top on mobile */
    margin-bottom: 30px;
  }

  .ns-ecommerce-market-layout {
    grid-template-columns: 1fr;
  }

  .ns-ecommerce-market-content h2 {
    text-align: center;
  }

  .ns-ecommerce-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ns-ecommerce-partnership-layout {
    grid-template-columns: 1fr;
  }

  .ns-ecommerce-services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ns-ecommerce-studies-slide-layout {
    grid-template-columns: 1fr;
  }

  .ns-ecommerce-studies-slide-image img {
    max-height: 300px;
    min-height: auto;
  }

  .ns-ecommerce-uk-presence-layout {
    grid-template-columns: 1fr;
  }

  .ns-ecommerce-uk-presence-content h2 {
    text-align: center;
  }

  .ns-ecommerce-uk-presence-image {
    grid-row: 1;
    margin-bottom: 30px;
  }

  .ns-ecommerce-expertise-grid {
    grid-template-columns: 1fr;
  }

  .ns-ecommerce-process-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .ns-section {
    padding-inline: 10px;
  }
  .ns-section-heading {
    font-size: 24px;
  }
  .ns-ecommerce-market-content h2,
  .ns-ecommerce-hero-content h1 {
    font-size: 30px;
  }

  .ns-ecommerce-market-stats {
    grid-template-columns: 1fr;
  }

  .ns-ecommerce-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ns-ecommerce-services-grid {
    grid-template-columns: 1fr;
  }

  .ns-ecommerce-process-steps-grid {
    grid-template-columns: 1fr;
  }

  .ns-ecommerce-studies .swiper-button-next,
  .ns-ecommerce-studies .swiper-button-prev {
    display: none; /* Hide nav arrows on small screens */
  }
  .ns-ecommerce-services-card,
  .ns-ecommerce-market-stat-item {
    text-align: center;
  }
  .ns-ecommerce-hero-layout,
  .ns-ecommerce-uk-presence-layout {
    gap: 0;
  }
  .ns-ecommerce-studies-slide-content {
    padding-inline: 15px;
  }
  .ns-ecommerce-studies-slide-result,
  .ns-ecommerce-uk-presence-content {
    text-align: center;
  }

  .ns-ecommerce-uk-presence-content > :not(a) {
      text-align: left;
  }
}

@media (max-width: 480px) {
  .ns-stats-grid {
    grid-template-columns: 1fr;
  }
}

/*video testimonial*/
.success-story-section {
  width: 100%;
  margin: 50px auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #f4f6fa; /* Light blue-grey background from image */
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Desktop: Side-by-side layout */
@media (min-width: 900px) {
  .success-story-section {
    margin-block: 80px;
    padding-inline: 0;
  }
  .story-container {
    flex-direction: row;
    align-items: center;
    /* The text section background */
    background: linear-gradient(to right, #ffffff 10%, #f4f6fa 10%);
    background-color: transparent; /* Reset to allow gradient trick or specific layout */
    /* Alternative: Grid layout for better overlap control if needed, 
                   but Flexbox is simpler for this. Let's stick to a clean split. 
                   The image shows the video slightly "popping" out. 
                   We will simulate a clean split for robustness. */
    background: #f4f6fa;
  }

  .video-wrapper {
    width: 55%;
    position: relative;
    /* To mimic the design where video might overlap or be full height */
    z-index: 2;
  }

  .content-wrapper {
    width: 45%;
    padding: 40px 60px;
  }
}

/* --- Video Section Styles --- */
.vss-section {
  width: 100%;
  display: block;
}

.vss-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* New Header Styles */
.vss-header {
  text-align: center;
  margin-bottom: 40px; /* Reduced for mobile */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.vss-main-title {
  font-size: 1.75rem; /* Mobile size */
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
  line-height: 1.2;
}

.vss-subtitle {
  font-size: 1rem; /* Mobile size */
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.vss-story-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 30px; /* Reduced for mobile */
}

/* Video Column */
.vss-video-col {
  position: relative;
  width: 100%;
  background-color: #000;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

/* Poster Image */
.vss-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

/* Play Button */
.vss-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; /* Smaller for mobile */
  height: 50px; /* Smaller for mobile */
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s;
  z-index: 2;
}

.vss-video-col:hover .vss-play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #ffffff;
}

.vss-play-icon {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid #333;
  margin-left: 4px; /* Optical centering */
}

/* Player Container (Hidden by default) */
.vss-embed-wrapper {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: #000;
}

/* Iframe Target */
.vss-embed-wrapper iframe,
.vss-embed-target {
  width: 100%;
  height: 100%;
  font-size: 0;
}

/* Utility */
.vss-hidden {
  display: none !important;
}

/* Text Content Column */
.vss-content-col {
  padding: 24px; /* Reduced for mobile */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vss-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem; /* Mobile size */
  color: #888;
  margin-bottom: 12px;
}

.vss-name {
  font-size: 1.4rem; /* Mobile size */
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.vss-role {
  font-size: 1rem; /* Mobile size */
  color: #555;
  margin-bottom: 4px;
}

.vss-company-name {
  font-size: 0.95rem; /* Mobile size */
  color: #777;
  margin-bottom: 20px;
}

.vss-logo {
  max-width: 120px; /* Smaller for mobile */
  height: auto;
  opacity: 0.8;
}

/* Desktop Layout & Sizing Adjustments */
@media(min-width: 768px) {
  .vss-story-card {
    flex-direction: row;
    align-items: stretch;
    margin-bottom: 40px;
  }

    /* The magic: Reverse the row for every even numbered story */
    .vss-story-card:nth-of-type(even) {
      flex-direction: row-reverse;
    }

  .vss-video-col {
    width: 55%;
    flex-shrink: 0;
  }

  /* Restore Larger Sizes for Desktop */
  .vss-header {
    margin-bottom: 60px;
  }

  .vss-main-title {
    font-size: 2.5rem;
  }

  .vss-subtitle {
    font-size: 1.125rem;
  }

  .vss-content-col {
    padding: 40px;
  }

  .vss-label {
    font-size: 0.85rem;
  }

  .vss-name {
    font-size: 1.75rem;
  }

  .vss-role {
    font-size: 1.1rem;
  }

  .vss-company-name {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .vss-play-overlay {
    width: 64px;
    height: 64px;
  }

  .vss-play-icon {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #333;
  }

  .vss-logo {
    max-width: 150px;
  }
}

