* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

.hero {
  position: relative;
  text-align: center;
  padding: 80px 20px 40px;
  overflow: visible;
}

.hero-video {
  position: absolute;
  left: 0;
  width: 100%;
  object-fit: cover;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 52px;
  font-weight: 600;
  line-height: 1.3;
}

.hero h1 span {
  color: #740f0f;
  font-weight: 400;
  font-size: 52px;
}

.hero p {
  margin-top: 25px;
  font-size: 26px;
  color: #000000;
  line-height: 1.6;
}

.btn {
  margin: 25px 0 35px 0;
  padding: 10px 20px;
  background: #740f0f;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.btn:hover {
  background: #500a0a;
  color: white;
}

.stats-card {
  max-width: 1200px;
  margin: 60px auto 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: all 2s ease;
}

.stats-card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stats-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52.31%, #000000 85.06%);
  pointer-events: none;
  z-index: 1;
}

.stats-card img {
  width: 100%;
  display: block;
}

.stats {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 25px 20px;
  display: flex;
  justify-content: space-around;
  color: white;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85),
      rgba(0, 0, 0, 0.2),
      transparent);
  z-index: 2;
}

.stats div {
  text-align: center;
  max-width: 200px;
}

.stats h2 {
  font-size: 32px;
}

.stats p {
  font-size: 14px;
  color: #c1c1c1;
  margin-top: 0;
}

.stats span {
  font-size: 12px;
  color: #c1c1c1;
}

.pOne-section {
  padding: 50px 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.pOne-section h1 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.pOne-section h1 span {
  color: #000000;
  font-weight: 400;
  font-size: 38px;
}

.pOne-section h1 span strong {
  color: #8c1414;
  font-weight: 400;
}

.pOne-section h1 span i {
  color: #8c1414;
  font-weight: 400;
  border-bottom: 2px solid #8c1414;
}

.pOne-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.pOne-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.pOne-left img {
  width: 320px;
  transition: all 0.4s ease;
}

.pOne-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 100px;
}

.pOne-item {
  position: relative;
  font-size: 22px;
  color: #00000066;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  transition: all 0.3s ease;
}

.pOne-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #f0f0f0;
}

.pOne-item:last-child::before {
  display: none;
}

.pOne-item::after {
  content: "→";
  font-size: 16px;
}

.pOne-item.active {
  color: #740f0f;
  font-weight: 500;
}

.pOne-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pOne-right div {
  display: flex;
  font-size: 15px;
  color: #333;
}

.pOne-platform-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pOne-platform-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.pOne-text {
  display: flex;
  flex-direction: column;
}

.pOne-text h4 {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  margin: 0;
}

.pOne-text p {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  margin: 2px 0 0;
}

.pOne-features {
  padding: 50px 0;
  text-align: center;
}

.pOne-features-title {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 50px;
}

.pOne-feature-card-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.pOne-feature-card-title img {
  width: 20px !important;
  height: 20px !important;
  margin-bottom: 10px !important;
}

.pOne-features-title span {
  color: #8c1414;
}

.pOne-features-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.pOne-feature-card {
  flex: 1;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}

.pOne-feature-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 35px;
}

.pOne-feature-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.pOne-feature-card p {
  font-size: 14px;
  color: #363d4f;
  font-weight: 300;
  line-height: 1.6;
}

.pOne-primus-section {
  padding: 70px 0;
  background: #f7f4f1;
}

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

.pOne-primusai-title {
  font-size: 36px;
  margin-bottom: 30px;
  color: #000000;
  font-weight: 500;
  text-align: left;
}

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

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

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

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

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

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

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

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

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

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

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

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

.pOne-primusai-ul li {
  margin-bottom: 10px;
  color: #444;
  display: block;
  width: fit-content;
  position: relative;
  padding-left: 30px;
}

.pOne-primusai-ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #8c1414;
}

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

.pOne-timeline {
  padding: 100px 20px;
  background: #f6f6f6;
  text-align: center;
}

.pOne-timeline-container {
  max-width: 1100px;
  margin: auto;
}

.pOne-title {
  font-size: 36px;
  margin-bottom: 20px;
  color: #000000;
  font-weight: 500;
  text-align: center;
}

.pOne-subtitle {
  font-size: 24px;
  color: #000000;
  text-align: center;
}

.pOne-timeline-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 60px;
  position: relative;
}

.pOne-timeline-card {
  position: relative;
  width: 30%;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pOne-card-inner {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  transform: scale(0.9);
}

.pOne-timeline-card.active .pOne-card-inner {
  opacity: 1;
  transform: scale(1);
}

.pOne-timeline-card:not(.active) h4,
.pOne-timeline-card:not(.active) p {
  display: none;
}

.pOne-year {
  font-size: 18px;
  background: #f8f8f8;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  color: #000000;
}

.pOne-year.active {
  background: #740f0f;
  color: white;
}

.pOne-timeline-card h4 {
  font-size: 16px;
  margin: 15px 0;
  color: #000000;
  font-weight: 500;
}

.pOne-timeline-card p {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 15px;
}

.pOne-timeline-wrapper {
  position: relative;
}

.pOne-line {
  height: 2px;
  background: linear-gradient(90deg,
      rgba(116, 15, 15, 0) 0%,
      #740f0f 51.33%,
      rgba(116, 15, 15, 0) 102.2%);
  width: 100%;
}

.pOne-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -15px;
  z-index: 2;
}

.pOne-marker::before {
  content: "";
  width: 12px;
  height: 12px;
  background: #740f0f;
  border-radius: 50%;
  display: block;
  order: 1;
}

.pOne-marker::after {
  content: "";
  width: 2px;
  height: 25px;
  background: #740f0f;
  display: block;
  order: 2;
}

.pOne-pin {
  width: 35px;
  order: 3;
}

.team-section {
  padding: 80px;
  background: #ffffff;
  text-align: center;
}

.team-section h2 {
  font-size: 36px;
  color: #7a1c1c;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 24px;
  color: #666;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Scroller Layout */
.team-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  margin: 0 auto;
}

.team-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  transition: height 0.4s ease;
}

.team-carousel-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 5px;
  background: rgba(248, 248, 248, 0.85);
  border-radius: 30px;
  border: 1px solid #cccccca1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.team-ctrl-btn {
  background: #ffffff;
  border: 1px solid #cccccca1;
  color: #7a1c1c;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.team-ctrl-btn:hover {
  background: #7a1c1c;
  color: #ffffff;
  border-color: #7a1c1c;
}

.team-ctrl-btn:active {
  transform: translateY(0);
}

.team-carousel-dots {
  height: 100px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  margin: 5px 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.team-carousel-dots-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  align-items: center;
  position: absolute;
}

.team-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(122, 28, 28, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  padding: 0;
}

.team-dot:hover {
  background: rgba(122, 28, 28, 0.5);
  transform: scale(1.2);
}

.team-dot.active {
  background: #7a1c1c;
  transform: scale(1.4);
  box-shadow: 0 0 5px rgba(122, 28, 28, 0.5);
}

/* Card */
.team-card {
  background: #F8F8F8;
  border-radius: 15px;
  padding: 20px;
  transition: 0.3s;
}

.team-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
  border: 5px solid #FFFFFF;
}

.team-card h3 {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 500;
  color: #111;
}

.team-card p {
  font-size: 13px;
  color: #666;
  margin: 5px 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* =========================
   TABLET (<= 1024px)
========================= */
@media (max-width: 1024px) {

  .hero h1,
  .hero h1 span {
    font-size: 40px;
  }

  .hero p {
    font-size: 20px;
  }

  .stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stats div {
    flex: 1 1 45%;
  }

  .pOne-container {
    flex-direction: column;
    gap: 40px;
  }

  .pOne-middle {
    padding: 0;
    align-items: center;
  }

  .pOne-item {
    font-size: 20px;
    width: 100%;
    text-align: center;
  }

  .pOne-left img {
    width: 260px;
  }

  .pOne-right {
    width: 100%;
    align-items: center;
  }

  .pOne-platform-card {
    justify-content: center;
    text-align: left;
  }

  .pOne-features {
    padding: 50px;
  }

  .pOne-features-container {
    flex-wrap: wrap;
  }

  .pOne-feature-card {
    flex: 1 1 45%;
  }

  .pOne-primusai-title {
    font-size: 30px;
    text-align: center;
  }

  .pOne-primusai-content {
    flex-direction: column;
    gap: 30px;
  }

  .pOne-primusai-text-content,
  .pOne-primusai-image-content {
    width: 100%;
  }

  .pOne-primusai-tabs {
    justify-content: center;
    margin-bottom: 50px;
  }

  .pOne-primusai-h3 {
    font-size: 26px;
    text-align: center;
  }

  .pOne-primusai-p {
    text-align: center;
  }

  .pOne-primusai-ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .pOne-timeline-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .pOne-timeline-card {
    width: 80%;
  }

  .pOne-line {
    display: none;
  }
}

/* =========================
   MOBILE (<= 768px)
========================= */
@media (max-width: 768px) {
  .hero {
    padding: 60px 15px 30px;
  }

  .hero h1,
  .hero h1 span {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  .btn {
    font-size: 13px;
    padding: 8px 16px;
  }

  .stats-card {
    margin-top: 40px;
  }

  .stats {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .stats div {
    max-width: 100%;
  }

  .stats h2 {
    font-size: 26px;
  }

  .pOne-section h1 span {
    font-size: 28px;
  }

  .pOne-left img {
    width: 220px;
  }

  .pOne-middle {
    gap: 15px;
  }

  .pOne-item {
    font-size: 18px;
  }

  .pOne-platform-card {
    flex-direction: row;
    gap: 10px;
  }

  .pOne-platform-card img {
    width: 50px;
    height: 50px;
  }

  .pOne-text h4 {
    font-size: 16px;
  }

  .pOne-text p {
    font-size: 12px;
  }

  .pOne-features {
    padding: 50px;
  }

  .pOne-features-title {
    font-size: 28px;
  }

  .pOne-features-container {
    flex-direction: column;
    gap: 25px;
  }

  .pOne-feature-card {
    width: 100%;
  }

  .pOne-primus-section {
    padding: 50px 20px;
  }

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

  .pOne-primusai-tabs {
    gap: 8px;
  }

  .pOne-primusai-tab {
    font-size: 11px;
    padding: 8px 12px;
  }

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

  .pOne-primusai-p {
    margin: 20px 0;
    font-size: 14px;
  }

  .pOne-primusai-ul li {
    font-size: 14px;
    padding-left: 25px;
  }

  .pOne-primusai-ul li::before {
    font-size: 14px;
  }

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

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

  .pOne-timeline-card {
    width: 100%;
  }

  .pOne-card-inner {
    text-align: center;
  }

  .pOne-marker {
    display: none;
  }
}

/* =========================
   SMALL MOBILE (<= 480px)
========================= */
@media (max-width: 480px) {

  .hero h1,
  .hero h1 span {
    font-size: 24px;
  }

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

  .stats {
    padding: 20px 10px;
  }

  .stats h2 {
    font-size: 22px;
  }

  .pOne-section {
    padding: 30px 15px;
  }

  .pOne-section h1 span {
    font-size: 24px;
  }

  .pOne-left img {
    width: 180px;
  }

  .pOne-item {
    font-size: 16px;
  }

  .pOne-platform-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pOne-text {
    align-items: center;
  }

  .pOne-features {
    padding: 50px;
  }

  .pOne-features-title {
    font-size: 24px;
  }

  .pOne-feature-card h3 {
    font-size: 18px;
  }

  .pOne-feature-card p {
    font-size: 13px;
  }

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

  .pOne-primusai-tabs {
    flex-direction: column;
    align-items: center;
  }

  .pOne-primusai-tab {
    width: 100%;
    text-align: center;
  }

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

  .pOne-primusai-p {
    font-size: 13px;
  }

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

  .pOne-primusai-cta {
    width: 100%;
    text-align: center;
  }
}