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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 40px 80px;
  overflow: hidden;
  min-height: calc(100vh - 65px);
  justify-content: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  width: 100%;
  max-width: 1000px;
  color: #fff;
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content h1 {
  font-size: 70px;
  line-height: 1.15;
  font-weight: 400;
}

.hero-content strong {
  font-weight: 700;
  color: #ffffff;
}

.hero-content p {
  margin-top: 22px;
  font-size: 22px;
  line-height: 1.7;
  color: #ffffff;
  text-align: center;
}

.hero-image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 50%;
}

.hero-image img {
  width: 75%;
  max-width: 100%;
}

/* Marquee section */
.marquee-section {
  padding: 40px 0;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}

.marquee-section::before,
.marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
}

.marquee {
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 60px;
  animation: scroll 30s linear infinite;
}

.marquee-track img {
  height: 50px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.marquee-track img:hover {
  opacity: 1;
  transform: scale(1.1);
  cursor: pointer;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Why Primus One section */
.why-section {
  background: #ffffff;
  padding: 0 0 0 80px;
}

.why-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.why-content {
  /* width: 55%; */
  flex: 1;
}

.why-content h4 {
  color: #7a1c1c;
  font-size: 42px;
  margin-bottom: 10px;
  font-weight: 600;
}

.why-content h2 {
  font-size: 42px;
  font-weight: 400;
  color: #000000;
  line-height: 1.3;
}

.why-description {
  margin-top: 20px;
  font-size: 15px;
  color: #000000;
  line-height: 1.7;
}

.why-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding-right: 40px;
  margin-bottom: 80px;
}

.feature-box h5 {
  font-size: 18px;
  font-weight: 500;
  margin: 10px 0;
  color: #000000;
}

.feature-box p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.why-image {
  flex: 1;
  text-align: right;
}

.why-image img {
  width: 800px;
}

/* DEPLOYED SECTION */
.deployed-section {
  padding: 60px 0;
  background: #f5f5f5;
}

.deployed-title {
  font-size: 36px;
  margin-left: 80px;
  margin-bottom: 30px;
  color: #7a1c1c;
  font-weight: 400;
}

.deployed-wrapper {
  overflow: hidden;
  padding-left: 80px;
  position: relative;
}

.deployed-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.deploy-card {
  position: relative;
  flex: 0 0 95%;
  height: 550px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.deploy-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.card-overlay h4 {
  font-size: 30px;
  font-weight: 500;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
}

.card-bottom img {
  width: 10%;
}

.tag {
  align-self: flex-end;
  background: transparent;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid white;
}

.deployed-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 100%;
  pointer-events: none;
}

/* PRIMUS AI section */
.primus-section {
  padding: 80px 20px;
  background: #ffffff;
}

.primusai-container {
  max-width: 1200px;
  margin: auto;
}

.primusai-title {
  font-size: 36px;
  margin-bottom: 30px;
  color: #7a1c1c;
  font-weight: 400;
  text-align: center;
}

.primusai-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.primusai-tab {
  padding: 10px 16px;
  border: none;
  background: #e5e2df;
  cursor: pointer;
  border-radius: 6px;
  font-size: 12px;
  color: #555;
  transition: 0.3s;
}

.primusai-tab.active {
  background: #e9dede;
  color: #7b1e1e;
}

.primusai-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.primusai-text-content {
  flex: 1;
}

.primusai-image-content {
  flex: 1;
  text-align: center;
}

.primusai-image-content img {
  width: 100%;
}

.primusai-tab-content {
  display: none;
}

.primusai-tab-content.active {
  display: block;
}

.primusai-h3 {
  font-size: 32px;
  margin: 35px 0px;
  color: #7b1e1e;
  font-weight: 400;
}

.primusai-p {
  margin: 35px 0;
  color: #000000;
}

.primusai-ul {
  list-style: none;
  margin-bottom: 20px;
  padding-left: 0;
}

.primusai-ul li {
  margin-bottom: 10px;
  color: #444;
  background-color: #e3cfcf;
  padding: 12px;
  display: block;
  width: fit-content;
}

.primusai-cta {
  padding: 10px 18px;
  border: none;
  background: #7b1e1e;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.csx-section {
  background: #f5f4f1;
  padding: 80px 20px;
}

.csx-container {
  margin: 0 65px;
}

.csx-header {
  margin-bottom: 20px;
}

.csx-title {
  font-size: 36px;
  color: #740f0f;
  font-weight: 600;
  margin-bottom: 10px;
}

.csx-subtitle {
  color: #000000b2;
  font-size: 18px;
  line-height: 1.6;
}

.csx-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.csx-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  width: calc(33.333% - 16px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.csx-card:hover {
  background-color: #531313;
}

.csx-card:hover .csx-card-text {
  color: #ffffff;
}

.csx-card:hover .csx-image-wrapper img {
  transform: scale(1.08);
}

.csx-image-wrapper {
  position: relative;
  overflow: hidden;
}

.csx-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 30.61%);
  pointer-events: none;
  z-index: 1;
}

.csx-card:hover .csx-image-wrapper::after {
  background: linear-gradient(180deg, #531313 0%, rgba(0, 0, 0, 0) 30.61%);
}

.csx-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.csx-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ffffff;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 6px;
  color: #333;
  font-weight: 500;
  z-index: 2;
}

.csx-card-text {
  padding: 16px;
  font-size: 16px;
  color: #444;
  line-height: 1.5;
}

.csx-card,
.csx-card-text,
.csx-title,
.csx-subtitle {
  transition: all 1s ease;
}

.csx-image-wrapper img {
  transition: transform 0.4s ease;
}

.ai-section-gx9 {
  background: #740f0f;
  padding: 100px 40px;
  color: #ffffff;
}

.ai-img-wrap-gx9 {
  position: relative;
  overflow: hidden;
}

.ai-overlay-gx9 {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.ai-overlay-gx9 p {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.ai-card-gx9:hover .ai-overlay-gx9 {
  opacity: 1;
}

.ai-container-gx9 {
  margin: 0 50px;
}

.ai-header-gx9 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-header-gx9 h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 10px;
}

.ai-header-gx9 p {
  margin-top: 10px;
  font-size: 18px;
  color: #ffffff;
  opacity: 0.7;
  font-weight: 400;
}

.ai-arrows-gx9 button {
  background: #ffffff;
  border: none;
  margin-left: 10px;
  margin-bottom: 40px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.ai-slider-wrapper-gx9 {
  overflow: hidden;
}

.ai-slider-gx9 {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.ai-card-gx9 {
  width: 300px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  color: #000;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.ai-card-gx9 img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.ai-card-gx9 span {
  display: block;
  padding: 14px;
  font-size: 14px;
  color: #000;
}

.ai-card-gx9 img {
  transition: transform 0.4s ease;
}

.ai-card-gx9:hover img {
  transform: scale(1.08);
}

.ai-header-img-gx9 {
  height: 180px;
  width: 750px;
}

.ai-thoughts-sec-x91 {
  background: #f5f4f1;
  padding: clamp(50px, 8vw, 100px) 20px;
}

.ai-thoughts-container-x91 {
  max-width: 1350px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 80px);
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border-radius: 16px;
}

.ai-thoughts-left-x91 {
  flex: 1;
  position: relative;
}

.ai-thoughts-left-x91 h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.ai-thoughts-left-x91 span {
  color: #8b1c1c;
}

.ai-bg-wrap-x91 {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: auto;
}

.ai-left-heading-x91 {
  position: absolute;
  left: 5%;
  top: 65%;
  transform: translateY(-50%);
  font-size: clamp(28px, 4vw, 48px);
}

.ai-bg-img-x91 {
  width: 100%;
  opacity: 0.3;
}

.ai-left-heading-x91 span {
  color: #8b1c1c;
}

.ai-bubbles-x91 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ai-bubble-x91 {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  position: absolute;
  cursor: pointer;
  object-fit: cover;
  transition: 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.6;
}

.ai-bubble-x91 {
  width: clamp(45px, 6vw, 70px);
  height: clamp(45px, 6vw, 70px);
}

.ai-bubble-x91.active-x91 {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.15);
  border: 3px solid #8b1c1c;
}

.ai-bubble-x91:nth-child(1) {
  top: 5%;
  left: 60%;
}
.ai-bubble-x91:nth-child(2) {
  top: 30%;
  left: 80%;
}
.ai-bubble-x91:nth-child(3) {
  top: 65%;
  left: 80%;
}
.ai-bubble-x91:nth-child(4) {
  top: 90%;
  left: 60%;
}

.ai-thoughts-right-x91 {
  flex: 1;
}

.ai-thoughts-right-x91 h3 {
  font-size: 38px;
  color: #8c1414;
  font-weight: 600;
}

.ai-thoughts-right-x91 p {
  color: rgba(0, 0, 0, 0.7);
  margin: 20px 0;
}

.ai-card-x91 {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 5px 10px 25px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
}

.ai-card-x91 p {
  position: relative;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.7);
  margin: 15px 15px 15px 30px;
}

.ai-card-x91 p::before {
  content: "“";
  position: absolute;
  left: -30px;
  top: -25px;
  font-size: 50px;
  color: #8c1414;
  font-weight: bold;
}

.ai-user-x91 {
  display: flex;
  align-items: center;
  margin: 15px 15px 15px 30px;
}

.ai-user-x91 img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  border: 1px solid #8c1414;
}

.ai-user-x91 span {
  font-size: 12px;
  color: #777;
}

.ai-nav-x91 {
  margin-top: 3cqh;
}

.ai-nav-x91 button {
  background: #8b1c1c;
  color: #fff;
  border: none;
  padding: 8px 12px;
  margin-right: 8px;
  border-radius: 5px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .ai-thoughts-container-x91 {
    flex-direction: column;
    text-align: center;
  }

  .ai-thoughts-left-x91,
  .ai-thoughts-right-x91 {
    width: 100%;
  }

  .ai-left-heading-x91 {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .ai-bubbles-x91 {
    position: relative;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .ai-thoughts-container-x91 {
    padding: 30px 20px;
  }

  .ai-bg-img-x91 {
    display: none;
  }

  .ai-left-heading-x91 {
    position: static;
    transform: none;
    margin-bottom: 20px;
    font-size: 28px;
  }

  .ai-bubbles-x91 {
    position: static;
    display: flex;
    justify-content: center;
    gap: 12px;
    height: auto;
    flex-wrap: wrap;
  }

  .ai-bubble-x91 {
    position: static;
  }

  .ai-thoughts-right-x91 h3 {
    font-size: 26px;
  }

  .ai-card-x91 {
    padding: 15px;
  }

  .ai-card-x91 p {
    margin: 10px 10px 10px 25px;
    font-size: 14px;
  }

  .ai-user-x91 {
    margin: 10px 10px 10px 25px;
  }
}

@media (max-width: 480px) {
  .ai-thoughts-sec-x91 {
    padding: 40px 10px;
  }

  .ai-thoughts-container-x91 {
    padding: 20px 15px;
  }

  .ai-nav-x91 {
    margin-top: 15px;
  }

  .ai-nav-x91 button {
    padding: 6px 10px;
  }
}

@media (max-width: 768px) {
  .ai-section-gx9 {
    padding: 60px 20px;
  }

  .ai-header-gx9 {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .ai-header-img-gx9 {
    display: none;
  }

  .ai-container-gx9 {
    margin: 0 20px;
  }
}

@media (min-width: 1200px) and (max-width: 1500px) {
  .ai-header-img-gx9 {
    height: 150px;
    width: 500px;
  }
}

@media (max-width: 992px) {
  .csx-card {
    width: calc(50% - 12px);
  }
}

@media (max-width: 600px) {
  .csx-card {
    width: 100%;
  }
}

/* TABLET (<= 1024px) */
@media (max-width: 1024px) {
  .hero {
    padding: 40px 40px;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .hero-image img {
    width: 85%;
  }

  .why-section {
    padding: 40px 0 40px 40px;
  }

  .why-content h4 {
    font-size: 28px;
  }

  .why-content h2 {
    font-size: 32px;
  }

  .why-image img {
    width: 430px;
  }

  .card-bottom img {
    height: 30px;
    width: 20%;
  }

  .primusai-title {
    font-size: 30px;
  }

  .primusai-h3 {
    font-size: 26px;
    margin: 25px 0;
  }

  .primusai-content {
    gap: 25px;
  }

  .primusai-image-content img {
    max-width: 400px;
  }
}

/* MOBILE (<= 768px) */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-content h1 {
    font-size: 34px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 15px;
    margin: 15px auto 0;
  }

  .hero-image {
    width: 100%;
    margin-top: 30px;
    justify-content: normal;
  }

  .hero-image img {
    width: 300px;
  }

  .marquee-track {
    gap: 30px;
  }

  .marquee-track img {
    height: 40px;
  }

  .why-section {
    padding: 40px 20px;
  }

  .why-container {
    flex-direction: column;
    text-align: center;
  }

  .why-content {
    width: 100%;
  }

  .why-content h4 {
    font-size: 24px;
  }

  .why-content h2 {
    font-size: 28px;
  }

  .why-description {
    font-size: 14px;
  }

  .why-features {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0;
  }

  .feature-box {
    max-width: 100%;
  }

  .why-image {
    width: 100%;
    justify-content: center;
    margin-top: 30px;
  }

  .why-image img {
    width: 280px;
  }

  .deployed-wrapper {
    padding-left: 20px;
  }

  .deploy-card {
    flex: 0 0 85%;
    height: 260px;
  }

  .deployed-title {
    margin-left: 20px;
    font-size: 26px;
  }

  .card-bottom img {
    height: 24px;
  }

  .primusai-content {
    flex-direction: column;
    text-align: center;
  }

  .primusai-image-content {
    order: -1;
  }

  .primusai-title {
    font-size: 26px;
  }

  .primusai-h3 {
    font-size: 22px;
    margin: 20px 0;
  }

  .primusai-p {
    margin: 20px 0;
  }

  .csx-container {
    margin: 0;
  }
}

/* SMALL MOBILE (<= 480px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .why-content h2 {
    font-size: 24px;
  }

  .why-content h4 {
    font-size: 20px;
  }

  .marquee-track img {
    height: 35px;
  }

  .card-bottom {
    flex-direction: row;
  }

  .card-bottom img {
    height: 30px;
    width: 50%;
    border-radius: 20px;
  }

  .primus-section {
    padding: 40px 15px;
  }

  .primusai-title {
    font-size: 22px;
  }

  .primusai-tabs {
    gap: 8px;
  }

  .primusai-tab {
    font-size: 10px;
    padding: 8px 10px;
  }

  .primusai-h3 {
    font-size: 20px;
  }

  .primusai-p {
    font-size: 14px;
  }

  .primusai-ul li {
    font-size: 13px;
    padding: 10px;
  }

  .primusai-image-content img {
    max-width: 100%;
  }

  .primusai-cta {
    font-size: 14px;
    padding: 10px 14px;
  }

  .ai-container-gx9 {
    margin: 0 20px;
  }
}
