/* =========================================
   ARMM TREx Section Styles
========================================= */

.armm-section.armm-hero-banner {
  background-color: #010066;
  /* background: linear-gradient(135deg, rgba(1, 0, 102, 0.95) 0%, rgba(2, 0, 154, 0.95) 100%); */
  background-image: url("../img/grid-lines.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  position: relative;
}

.armm-section .armm-title {
  color: white;
  margin-bottom: 0;
  line-height: 1.2;
  font-size: 48px;
}

.armm-section .armm-title .armm-highlight {
  color: #f28d1b;
}

.armm-section .armm-logo-container {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 40px rgba(1, 0, 102, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 100%;
  margin: 0 auto;
}

.armm-section .armm-logo-container:hover {
  transform: translateX(8px);
  box-shadow: 0 20px 50px rgba(1, 0, 102, 0.15);
}

.armm-section .armm-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.armm-section .armm-content-wrapper {
  border-left: 3px solid #010066;
  padding-left: 20px;
  transition: border-color 0.3s ease;
}

.armm-section .armm-content-wrapper:hover {
  border-color: #f28d1b;
}

.armm-section.armm-hero-banner .armm-content-wrapper {
  border-left: none;
  padding-left: 0;
}

.armm-section .armm-description {
  line-height: 1.8;
  transition: color 0.3s ease;
}

.armm-section.armm-hero-banner .armm-description {
  color: #ffffff;
}

/* =========================================
   ARMM TREx Features Section Styles
========================================= */
.armm-features-section {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.armm-features-section .armm-features-title-wrapper {
  margin-bottom: 2rem;
}

.armm-features-section .armm-features-title {
  color: #010066;
}

.armm-features-section .armm-feature-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.armm-features-section .armm-feature-item {
  background-color: rgba(1, 0, 102, 0.95);
  border-radius: 12px;
  padding: 20px 25px;
  position: relative;
  overflow: hidden;
  border: 2px dashed #010066;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.4s ease,
    background-color 0.4s ease,
    box-shadow 0.4s ease;
  display: flex;
  align-items: center;
  z-index: 1;
}

.armm-features-section .armm-feature-item::before {
  content: attr(data-number);
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%) scale(1.5);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  font-weight: bold;
  transition: all 0.4s ease;
  z-index: -1;
  opacity: 0.8;
}

.armm-features-section .armm-feature-item p {
  color: #ffffff;
  margin: 0;
  transition: color 0.4s ease;
  position: relative;
  z-index: 2;
  font-weight: 500;
  font-size: 20px;
}

.armm-features-section .armm-feature-item:hover {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(1, 0, 102, 0.15);
  transform: translateY(-5px);
}

.armm-features-section .armm-feature-item:hover p {
  color: #010066;
}

.armm-features-section .armm-feature-item:hover::before {
  color: #f28d1b;
  opacity: 1;
  transform: scale(2.5);
  -webkit-text-stroke: 0px transparent;
}

.armm-features-section .armm-video {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.armm-features-section .armm-video-inner {
  position: relative;
  cursor: pointer;
}

/* Overlay */
.armm-features-section .armm-video-inner .video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  transition: opacity 0.3s ease;
}

/* Play Button */
.armm-features-section .armm-video-inner .play-btn {
  width: 70px;
  height: 70px;
  background: #010066;
  border-radius: 50%;
  position: relative;
}

.armm-features-section .armm-video-inner .play-btn::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 22px;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.armm-video-inner.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

/* =========================================
   ARMM TREx Why Us Section Styles
========================================= */

.armm-why-us-section {
  background-color: #010066;
  background-image: url("../img/grid-lines.png");
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: top right;
}

.armm-why-us-section .armm-why-us-item {
  background-image: url("../img/deco-ser-blue.png");
  background-size: 30%;
  background-repeat: no-repeat;
  background-position: top right;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.4s ease,
    background-color 0.4s ease,
    background-size 0.4s ease,
    box-shadow 0.4s ease;
}

.armm-why-us-section .armm-why-us-item:hover {
  background-size: 40%;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 10px 30px rgba(1, 0, 102, 0.15);
  transform: translateY(-5px);
}

.armm-why-us-section .armm-why-us-item .item-icon-wrapper {
  background: #010066;
  width: 80px;
  height: 80px;
  padding: 15px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  display: inline-block;
  transition: transform 0.5s ease;
}

.armm-why-us-section .armm-why-us-item:hover .item-icon-wrapper {
  background: #f28d1b;
  transform: rotateY(360deg);
}

.armm-why-us-section .armm-why-us-item .item-icon-wrapper img {
  width: 100%;
  height: 100%;
  filter: invert(100%);
}

.armm-why-us-section .armm-why-us-items-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}



/* =========================================
   Upcoming Features Section 
========================================= */


.upcoming-features-section .upcoming-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.upcoming-features-section {
  counter-reset: upcomingFeature;
}

.upcoming-features-section .upcoming-feature-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 30px 16px 30px;
  /* extra left padding */
  background-color: #010066;
  border-radius: 12px;
  border-top-left-radius: 16px;
  overflow: visible;
  /* IMPORTANT */
  cursor: pointer;
}

/* Circle */
.upcoming-features-section .upcoming-feature-item::before {
  counter-increment: upcomingFeature;
  content: counter(upcomingFeature, decimal-leading-zero);

  position: absolute;
  width: 40px;
  height: 40px;
  background-color: #f7931e;
  border-radius: 50%;
  left: -20px;
  transform: translateY(-50%);
  transition: transform 0.3s ease-in-out;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.upcoming-features-section .upcoming-feature-item:hover::before {
  transform: translateY(-25%);
}

/* .upcoming-features-section .feature-icon img {
  transform: rotate(-45deg);
  transition: all 0.4s ease;
  width: 30px;
  opacity: 0.6;
  filter: invert(1);
}
.upcoming-feature-item:hover .feature-icon img {
  transform: rotate(0deg);
  opacity: 1;
} */

.upcoming-features-section .single-blog-style-one .tags-area span {
  background-color: #f28d1b;
  color: #fff;
}

.upcoming-features-section .single-blog-style-one {
  display: flex;
  align-items: center;
  gap: 20px
}


.upcoming-features-section .single-blog-style-one h2 {
  font-size: 40px;
  height: auto !important;
}

/* Responsive adjustments */
/* 
@media (min-width: 1200px) and (max-width: 1700px) {
  .armm-section {
    padding: 50px 0;
  }
} */

@media (max-width: 992px) {
  .armm-section .armm-content-wrapper {
    border-left: none;
    padding-left: 0;
    position: relative;
    padding-top: 30px;
    margin-top: 20px;
  }

  .armm-section .armm-content-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #010066;
  }
}

@media (max-width: 767px) {
  .armm-section .armm-title {
    font-size: 38px;
    line-height: 1.2;
  }

  .armm-features-section .armm-features-title,
  .armm-why-us-title,
  .upcoming-features-title {
    font-size: 32px;
  }

  .armm-why-us-section .row {
    gap: 20px;
  }

  .rts-contact-area .pl--50 {
    padding: 0 !important;
  }

  .upcoming-features-section .single-blog-style-one {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .armm-section .armm-title {
    font-size: 32px;
  }

  .armm-features-section .armm-features-title,
  .armm-why-us-title,
  .upcoming-features-title {
    font-size: 28px;
  }

  .armm-features-section .armm-feature-item::before {
    display: none;
  }
}


/* USER STYLES */
:root {
  --ud-header-h: 100px;
}

/* ── Section shell: tall for scroll room (3 slides) ── */
.ud-section {
  height: 300vh;
  position: relative;
}

/* ── Sticky wrap: sticks just below header, fills remaining viewport ── */
.ud-sticky-wrap {
  position: sticky;
  top: var(--ud-header-h);
  height: calc(100vh - var(--ud-header-h));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ud-section--user{
  background-color: #010066;
  background: url('../img/bg-pattern.svg');
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: bottom left;
}

.ud-section--admin {
  background-color: #ffffff;
}

/* ── Inner container ── */
.ud-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* ── Cards area ── */
.ud-cards-area {
  min-height: 0;
  display: flex;
  align-items: center;
  /* vertically centre cards in remaining space */
  position: relative;
}

/* ── Swiper ── */
.userDashSwiper,
.adminDashSwiper {
  width: 100%;
}

/* Fade effect: hide all, show only active */
.userDashSwiper .swiper-slide,
.adminDashSwiper .swiper-slide {
  opacity: 0 !important;
  transition: opacity 0.65s ease !important;
  pointer-events: none;
}

.userDashSwiper .swiper-slide-active,
.adminDashSwiper .swiper-slide-active {
  opacity: 1 !important;
  pointer-events: auto;
}

/* ── Slide grid: 2 cards side by side ── */
.ud-slide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── Card ── */
.ud-card {
  border-radius: 16px;
  overflow: hidden;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
}

.ud-section--user .ud-card {
  background-color: #ffffff;
}

.ud-section--admin .ud-card {
  background-color: #b3b3d1;
}

/* ── Card image ── */
.ud-card-img {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* ── Card title: styled by your theme's h4 tag ── */
.ud-card h4 {
  margin: 0;
}

/* ── Dot navigation: right edge, vertically centred ── */
.ud-dots {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.ud-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Dot colours per variant */
.ud-section--user .ud-dot {
  background: rgba(255, 255, 255, 0.35);
}

.ud-section--admin .ud-dot {
  background: rgba(1, 0, 102, 0.25);
}

.ud-section--user .ud-dot.active {
  background: #ffffff;
  transform: scale(1.3);
}

.ud-section--admin .ud-dot.active {
  background: #010066;
  transform: scale(1.3);
}

.ud-section .armm-screenshot-number {
  display: inline-block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0;
  color: transparent;
  -webkit-text-stroke: 2px #f28d1b;
  position: relative;
  transition: all 0.4s ease;
}
.ud-section .ud-card:hover .armm-screenshot-number {
  color: #f28d1b;
  -webkit-text-stroke: 0px transparent;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .ud-inner {
    padding: 0 20px;
  }

  .ud-slide-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ud-dots {
    display: none;
  }

  .ud-section {
    height: 400vh;
  }
}


.ud-card-image-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.ud-card-image-popup.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ud-card-image-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.ud-card-image-popup__inner {
  position: relative;
  z-index: 1;
  max-width: min(900px, 95vw);
  max-height: min(90vh, 95vh);
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: opacity 250ms ease, transform 250ms ease;
  opacity: 0;
}

.ud-card-image-popup.active .ud-card-image-popup__inner {
  transform: scale(1);
  opacity: 1;
}

.ud-card-image-popup__body {
  width: 100%;
  max-height: calc(90vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ud-card-image-popup__img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 14px;
}

.ud-card-image-popup__close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #010066;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

html.ud-card-popup-open,
body.ud-card-popup-open {
  overflow: hidden !important;
}