/* Home Hero Section (US-focused) */
.banner__two {
  overflow: hidden;
}

.banner__two .banner__two-bg {
  background: linear-gradient(120deg, #f4fbf7 0%, #eef5ff 62%, #e7f1ff 100%);
  min-height: clamp(640px, 72vh, 740px);
  padding: 92px 0 74px;
}

.banner__two .banner__two-content {
  max-width: 680px;
  padding-top: 10px;
}

.banner__two .banner__two-content>span {
  border-radius: 999px;
  border: 1px solid #cddaf2;
  color: #223b68;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(40, 70, 120, 0.08);
}

.banner__two .banner__two-content h1 {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 18px;
}

.banner__two .banner__two-content p {
  max-width: 58ch;
  color: #495874;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 30px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-cta-group .btn-one {
  min-width: 240px;
  text-align: center;
  box-shadow: 0 16px 28px rgba(42, 75, 128, 0.2);
}

.hero-secondary-btn {
  min-width: 220px;
  height: 58px;
  border-radius: 8px;
  border: 1px solid #2d4774;
  color: #2d4774;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  transition: all 0.35s ease;
}

.hero-secondary-btn:hover {
  background: #2d4774;
  color: #ffffff;
}

.hero-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px 16px;
  max-width: 640px;
}

.hero-trust-list li {
  position: relative;
  padding-left: 24px;
  color: #2f3b52;
  font-weight: 600;
  font-size: 15px;
}

.hero-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #18a874;
  box-shadow: 0 0 0 4px rgba(24, 168, 116, 0.16);
}

.banner__two .banner__two-right {
  bottom: 0;
  max-width: 520px;
  margin-left: auto;
}

.banner__two .banner__two-right>img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 24px 55px rgba(26, 50, 90, 0.22);
}

.banner__two .hero-quality-card {
  top: 40px;
  bottom: auto;
  left: auto;
  right: -16px;
  width: min(370px, calc(100% - 34px));
  height: auto;
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  align-items: flex-start;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid #d5e0f3;
  box-shadow: 0 16px 35px rgba(35, 63, 107, 0.16);
  z-index: 4;
}

.banner__two .hero-quality-card .banner__two-right-card-content {
  max-width: 250px;
}

.banner__two .hero-quality-card .banner__two-right-card-content h6 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.banner__two .hero-quality-card .banner__two-right-card-content span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: #596b8a;
}

.banner__two .hero-result-card {
  left: 18px;
  bottom: 18px;
  display: block;
  width: min(310px, calc(100% - 48px));
  background: #ffffff;
  border: 1px solid #d5e0f3;
  box-shadow: 0 16px 35px rgba(35, 63, 107, 0.14);
  border-radius: 14px;
  padding: 16px 18px;
}

.banner__two .hero-result-card h6 {
  margin-bottom: 8px;
  font-size: 17px;
}

.banner__two .hero-result-card p {
  margin: 0;
  color: #5a6d8d;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1199px) {
  .banner__two .banner__two-content h1 {
    max-width: 15ch;
    font-size: clamp(34px, 4.2vw, 56px);
  }

  .banner__two .hero-quality-card {
    right: -6px;
    width: min(340px, calc(100% - 24px));
  }
}

@media (max-width: 991px) {
  .banner__two .banner__two-bg {
    min-height: auto;
    padding: 96px 0 86px;
  }

  .banner__two .banner__two-content h1 {
    max-width: 100%;
  }

  .hero-trust-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {

  .hero-cta-group .btn-one,
  .hero-secondary-btn {
    width: 100%;
  }

  .banner__two .banner__two-content p {
    font-size: 16px;
  }
}

/* ========================================
   Dark Mode: Hero / Banner Section
   ======================================== */
.dark-mode .banner__two .banner__two-bg {
  background: linear-gradient(120deg, #0d1520 0%, #111c2e 62%, #0f1a2b 100%);
}

.dark-mode .banner__two .banner__two-content>span {
  background: #1e2939;
  border-color: #2e3d52;
  color: #a8c4f0;
}

.dark-mode .banner__two .banner__two-content p {
  color: #a4b0bb;
}

.dark-mode .hero-secondary-btn {
  border-color: #4a6fa5;
  color: #a8c4f0;
}

.dark-mode .hero-secondary-btn:hover {
  background: #1e2939;
  color: #d0e2ff;
  border-color: #6b94cc;
}

.dark-mode .hero-trust-list li {
  color: #c0cede;
}

.dark-mode .banner__two .hero-quality-card {
  background: rgba(20, 30, 48, 0.95);
  border-color: #2e3d52;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4);
}

.dark-mode .banner__two .hero-quality-card .banner__two-right-card-content h6 {
  color: #ededed;
}

.dark-mode .banner__two .hero-quality-card .banner__two-right-card-content span {
  color: #a4b0bb;
}

.dark-mode .banner__two .hero-result-card {
  background: #1e2939;
  border-color: #2e3d52;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4);
}

.dark-mode .banner__two .hero-result-card h6 {
  color: #ededed;
}

.dark-mode .banner__two .hero-result-card p {
  color: #a4b0bb;
}

/* Technology section cleanup */
.tech-section-clean {
  background: #ffffff;
  padding-top: 84px;
  padding-bottom: 84px;
}

.tech-section-clean .technology-container::before,
.tech-section-clean .technology-container::after {
  display: none;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.tech-grid-card {
  width: 100%;
  height: 162px;
  margin-right: 0;
  padding: 20px 14px;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tech-grid-card:hover {
  transform: translateY(-4px);
  border-color: #cdd7ea;
  box-shadow: 0 14px 24px rgba(32, 54, 92, 0.08);
}

.tech-grid-card img {
  height: 42px;
  margin-bottom: 12px;
}

.tech-grid-card h6 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

@media (max-width: 1199px) {
  .tech-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tech-section-clean {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tech-grid-card {
    height: 130px;
    padding: 14px 10px;
  }

  .tech-grid-card img {
    height: 34px;
    margin-bottom: 8px;
  }

  .tech-grid-card h6 {
    font-size: 16px;
  }
}

/* Services sections */
.services-showcase,
.services-listing {
  background: #f6f8fc;
}

.services-showcase__head p {
  max-width: 660px;
  margin: 14px auto 0;
  color: #5f6c84;
}

.service-showcase-card {
  background: #ffffff;
  border: 1px solid #dde3ef;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-showcase-card:hover {
  transform: translateY(-6px);
  border-color: #c8d4ea;
  box-shadow: 0 18px 34px rgba(29, 56, 98, 0.12);
}

.service-showcase-card__thumb {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.service-showcase-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-showcase-card:hover .service-showcase-card__thumb img {
  transform: scale(1.05);
}

.service-showcase-card__body {
  padding: 22px 22px 20px;
}

.service-showcase-card__title {
  font-size: clamp(22px, 1.6vw, 28px);
  line-height: 1.3;
  margin-bottom: 12px;
}

.service-showcase-card__title a {
  color: #0d1320;
}

.service-showcase-card__title a:hover {
  color: #2a4570;
}

.service-showcase-card__text {
  color: #5f6c84;
  margin-bottom: 14px;
}

.service-showcase-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #1f3965;
}

.service-showcase-card__link:hover {
  color: #0f213f;
}

.services-showcase__all-btn {
  min-width: 230px;
}

.services-listing--related {
  background: #ffffff;
}

.service-details-standard {
  background: #ffffff;
}

.service-details-standard__content h2 {
  margin: 8px 0 16px;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.14;
}

.service-details-standard__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #cfdaed;
  color: #223b68;
  font-weight: 700;
  font-size: 14px;
  padding: 7px 14px;
}

.service-details-standard__lead {
  font-size: 18px;
  line-height: 1.75;
  color: #4c5e7b;
  margin-bottom: 14px;
}

.service-details-standard__description {
  color: #475873;
  line-height: 1.85;
}

.service-details-standard__description p {
  margin-bottom: 14px;
}

.service-details-standard__cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
}

.service-details-standard__image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d5dfee;
  box-shadow: 0 18px 38px rgba(25, 50, 92, 0.14);
}

.service-details-standard__image img {
  width: 100%;
  display: block;
}

.service-data-block {
  background: #f6f8fc;
  padding-top: 0;
}

.service-data-card {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 16px;
  padding: 24px 22px;
  height: 100%;
}

.service-data-card h4 {
  margin-bottom: 12px;
  font-size: 22px;
}

.service-data-card p {
  margin: 0;
  color: #5f6c84;
  line-height: 1.75;
}

.service-data-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-data-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: #445773;
  line-height: 1.65;
}

.service-data-list li:last-child {
  margin-bottom: 0;
}

.service-data-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a4570;
}

/* ========================================
   Dark Mode: Navbar & Mega Menu
   ======================================== */

/* Nav top-level links hover color */
.dark-mode .header__area-menubar-center-menu ul li:hover>a,
.dark-mode .header__area-menubar-center-menu.two ul li:hover>a,
.dark-mode .header__area-menubar-center-menu ul li.menu-item-has-children:hover>a::before,
.dark-mode .header__area-menubar-center-menu.two ul li.menu-item-has-children:hover>a::before {
  color: #7eb3f5;
}

/* Sub-menu link hover */
.dark-mode .header__area-menubar-center-menu ul li .sub-menu li:hover>a,
.dark-mode .header__area-menubar-center-menu.two ul li .sub-menu li:hover>a {
  color: #7eb3f5;
}

/* Mega menu panel background */
.dark-mode .has-mega .mega-menu {
  background-color: #1a2537;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Arrow caret between nav link and mega menu */
.dark-mode .has-mega>a::after {
  background-color: #1a2537;
  border-color: #2e3d52 transparent transparent #2e3d52;
}

/* Mega menu item titles & descriptions */
.dark-mode .mega-menu-list__title {
  color: #e2eaf5;
}

.dark-mode .mega-menu-list__desc {
  color: #8a9db8;
}

/* Mega menu item hover background */
.dark-mode .mega-menu-list__item:hover,
.dark-mode .services-mega-menu-list .mega-menu-list__link:hover {
  background: rgba(126, 179, 245, 0.08);
}

/* Sub-menu dropdown background */
.dark-mode .header__area-menubar-center-menu ul li .sub-menu {
  background: #1a2537;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.dark-mode .header__area-menubar-center-menu ul li .sub-menu li>a {
  color: #c8d8ee;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

/* Dynamic services mega menu */
.services-mega-menu-list .mega-menu-list__item {
  border-radius: 10px;
}

.services-mega-menu-list .mega-menu-list__link {
  padding: 14px 12px;
  border-radius: 10px;
}

.services-mega-menu-list .mega-menu-list__link:hover {
  background: #f4f7fd;
}

.dark-mode .services-mega-menu-list .mega-menu-list__link:hover {
  background: rgba(126, 179, 245, 0.08);
}

.products-mega-menu-list .mega-menu-list__icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}
.products-mega-menu-list .mega-menu-list__icon img {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    border-radius: 6px;
    object-fit: contain;
}

/* Products trending UI */
.products-trending {
  background: radial-gradient(circle at 0% 0%, #eef4ff 0%, #f8fafe 44%, #ffffff 100%);
}

.products-trending--related {
  background: #ffffff;
}

.products-trending__head p {
  max-width: 700px;
  margin: 14px auto 0;
  color: #62708a;
}

.product-trend-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-trend-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(61, 99, 165, 0.04), transparent 55%);
  pointer-events: none;
}

.product-trend-card:hover {
  transform: translateY(-6px);
  border-color: #b7c8e5;
  box-shadow: 0 20px 36px rgba(31, 56, 96, 0.15);
}

.product-trend-card__image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.product-trend-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-trend-card:hover .product-trend-card__image img {
  transform: scale(1.06);
}

.product-trend-card__body {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.product-trend-card__tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  border-radius: 999px;
  background: #ebf2ff;
  color: #254275;
  font-size: 12px;
  font-weight: 700;
  padding: 0 12px;
  margin-bottom: 12px;
}

.product-trend-card__title {
  font-size: clamp(21px, 1.6vw, 28px);
  line-height: 1.28;
  margin-bottom: 10px;
}

.product-trend-card__title a {
  color: #0d1320;
}

.product-trend-card__title a:hover {
  color: #2c4b7f;
}

.product-trend-card__text {
  color: #5f6d86;
  margin-bottom: 14px;
}

.product-trend-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f3965;
  font-weight: 700;
}

.product-trend-card__link:hover {
  color: #112340;
}

.product-details-trending {
  background: #ffffff;
}

.product-details-trending__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #c9d8f1;
  color: #2b4778;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
}

.product-details-trending__content h2 {
  margin: 10px 0 12px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
}

.product-details-trending__tagline {
  font-size: 20px;
  color: #334f7c;
  font-weight: 600;
  margin-bottom: 14px;
}

.product-details-trending__description {
  color: #4f607c;
  line-height: 1.85;
}

.product-details-trending__cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.product-details-trending__image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d7e0ef;
  box-shadow: 0 18px 40px rgba(26, 50, 90, 0.14);
}

.product-details-trending__image img {
  width: 100%;
  display: block;
}

.product-meta-grid {
  background: #f7f9fc;
  padding-top: 0;
}

.product-meta-card {
  background: #ffffff;
  border: 1px solid #dce3ef;
  border-radius: 16px;
  padding: 24px 22px;
  height: 100%;
}

.product-meta-card h4 {
  font-size: 22px;
  margin-bottom: 12px;
}

.product-meta-card p {
  color: #5f6d86;
  line-height: 1.7;
  margin: 0;
}

/* Portfolio dynamic UI */
.portfolio-listing {
  background: #f7f9fc;
}

.portfolio-listing__title {
  color: #0d1320;
}

.portfolio-listing--related {
  background: #ffffff;
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.portfolio-filter__chip {
  display: inline-flex;
  align-items: center;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #ced8ea;
  color: #284574;
  font-weight: 600;
  padding: 0 16px;
  transition: 0.3s;
}

.portfolio-filter__chip:hover,
.portfolio-filter__chip.is-active {
  background: #2b4672;
  border-color: #2b4672;
  color: #fff;
}

.portfolio-trend-card {
  background: #fff;
  border: 1px solid #dde4f0;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-trend-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(28, 54, 95, 0.12);
}

.portfolio-trend-card__image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.portfolio-trend-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.portfolio-trend-card:hover .portfolio-trend-card__image img {
  transform: scale(1.06);
}

.portfolio-trend-card__body {
  padding: 20px;
}

.portfolio-trend-card__category {
  display: inline-flex;
  align-items: center;
  height: 28px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #223d67;
  font-size: 12px;
  font-weight: 700;
  padding: 0 10px;
  margin-bottom: 10px;
}

.portfolio-trend-card__title {
  font-size: clamp(21px, 1.5vw, 27px);
  margin-bottom: 8px;
}

.portfolio-trend-card__title a {
  color: #101725;
}

.portfolio-trend-card__title a:hover {
  color: #2f4c7a;
}

.portfolio-trend-card__text {
  color: #5f6f89;
  margin-bottom: 12px;
}

.portfolio-trend-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f3965;
  font-weight: 700;
}

.portfolio-details {
  background: #ffffff;
}

.portfolio-details__main-image,
.portfolio-details__backend-shot img {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d9e1ef;
  box-shadow: 0 16px 36px rgba(31, 54, 93, 0.14);
}

.portfolio-details__main-image img,
.portfolio-details__backend-shot img {
  width: 100%;
  display: block;
}

.portfolio-details__summary {
  background: #f7f9fd;
  border: 1px solid #d9e1ef;
  border-radius: 16px;
  padding: 24px 22px;
}

.portfolio-details__summary h2 {
  margin: 10px 0 12px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.15;
  color: #1a1d2e;
}

.portfolio-details__summary p {
  color: #4d607f;
  margin-bottom: 18px;
}

/* Dark theme override (product page uses bg-dark-1) */
.bg-dark-1 .portfolio-details__summary,
.bg-dark-2 .portfolio-details__summary {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.bg-dark-1 .portfolio-details__summary h2,
.bg-dark-2 .portfolio-details__summary h2 {
  color: #fff;
}

.bg-dark-1 .portfolio-details__summary p,
.bg-dark-2 .portfolio-details__summary p {
  color: rgba(255,255,255,0.75);
}

.portfolio-details__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #4f46e5;
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 12px;
}

.portfolio-details__content-card {
  background: #f7f9fd;
  border: 1px solid #d9e1ef;
  border-radius: 16px;
  padding: 22px;
}

.portfolio-details__content-card h4 {
  margin-bottom: 10px;
}

.portfolio-details__richtext {
  color: #4d607f;
  line-height: 1.85;
}

.portfolio-details__meta {
  list-style: none;
  margin: 0;
  padding: 0;
}

.portfolio-details__meta li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed #ccd7ea;
  padding: 10px 0;
}

.portfolio-details__meta li:last-child {
  border-bottom: 0;
}

.portfolio-details__meta span {
  color: #5f6f89;
}

.portfolio-details__meta strong {
  color: #1b2f51;
}

@media (max-width: 767px) {
  .service-showcase-card__body {
    padding: 18px 16px 16px;
  }

  .service-showcase-card__title {
    font-size: 19px;
  }

  .product-trend-card__body {
    padding: 16px;
  }

  .product-trend-card__title {
    font-size: 20px;
  }

  .product-details-trending__tagline {
    font-size: 17px;
  }
}

/* Theme-wise Product Sections */
.bg-dark-1 {
  background-color: #0b0f19 !important;
}

.bg-dark-2 {
  background-color: #080c14 !important;
}

.bg-dark-3 {
  background-color: #05080d !important;
}

.bg-dark-1 .section-title h2,
.bg-dark-1 .portfolio-listing__head h2,
.bg-dark-1 .subtitle-two,
.bg-dark-2 .subtitle-two,
.bg-dark-1 .section-title .subtitle-two,
.bg-dark-1 .portfolio-listing__head .subtitle-two,
.bg-dark-2 .section-title h2,
.bg-dark-2 .portfolio-listing__head h2,
.bg-dark-2 .section-title .subtitle-two,
.bg-dark-2 .portfolio-listing__head .subtitle-two {
  color: #ffffff !important;
}

.bg-dark-1 .portfolio-trend-card,
.bg-dark-2 .portfolio-trend-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.bg-dark-1 .portfolio-trend-card__title a,
.bg-dark-2 .portfolio-trend-card__title a {
  color: #ffffff !important;
}

.bg-dark-1 .portfolio-trend-card__text,
.bg-dark-1 .portfolio-trend-card p,
.bg-dark-2 .portfolio-trend-card__text,
.bg-dark-2 .portfolio-trend-card p {
  color: rgba(255, 255, 255, 0.6) !important;
}

.bg-dark-1 .portfolio-trend-card:hover,
.bg-dark-2 .portfolio-trend-card:hover {
  border-color: rgba(99, 102, 241, 0.4) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* ========================================
   Dark Mode: Case Studies Listing Page
   ======================================== */
.dark-mode .portfolio-listing {
  background: #0d1520;
}

.dark-mode .portfolio-listing--related {
  background: #101828;
}

.dark-mode .portfolio-listing__title {
  color: #ededed;
}

.dark-mode .portfolio-trend-card {
  background: #1e2939;
  border-color: #2e3d52;
}

.dark-mode .portfolio-trend-card:hover {
  border-color: #3d5070;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
}

.dark-mode .portfolio-trend-card__category {
  background: rgba(99, 130, 200, 0.15);
  color: #a8c4f0;
}

.dark-mode .portfolio-trend-card__title a {
  color: #ededed;
}

.dark-mode .portfolio-trend-card__title a:hover {
  color: #a8c4f0;
}

.dark-mode .portfolio-trend-card__text {
  color: #a4b0bb;
}

.dark-mode .portfolio-trend-card__link {
  color: #a8c4f0;
}

/* ========================================
   Dark Mode: Technology Section
   ======================================== */
.dark-mode .tech-section-clean {
  background: #101828;
}

.dark-mode .tech-grid-card {
  background: #1e2939;
  border-color: #2e3d52;
}

.dark-mode .tech-grid-card:hover {
  border-color: #3d5070;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.35);
}

.dark-mode .tech-grid-card h6 {
  color: #ededed;
}

/* ========================================
   Dark Mode: Services Showcase Section
   ======================================== */
.dark-mode .services-showcase,
.dark-mode .services-listing {
  background: #0d1520;
}

.dark-mode .services-showcase__head p {
  color: #a4b0bb;
}

.dark-mode .service-showcase-card {
  background: #1e2939;
  border-color: #2e3d52;
}

.dark-mode .service-showcase-card:hover {
  border-color: #3d5070;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
}

.dark-mode .service-showcase-card__title a {
  color: #ededed;
}

.dark-mode .service-showcase-card__title a:hover {
  color: #a8c4f0;
}

.dark-mode .service-showcase-card__text {
  color: #a4b0bb;
}

.dark-mode .service-showcase-card__link {
  color: #a8c4f0;
}

.dark-mode .service-showcase-card__link:hover {
  color: #d0e2ff;
}

.dark-mode .services-listing--related {
  background: #101828;
}

/* ========================================
   Career & Job Details Module
   ======================================== */
.career-hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  padding: 80px 0;
}

.company-card-trending {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.job-card-trending {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 28px;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.job-card-trending:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
}

.job-card-trending::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #3b82f6, #60a5fa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.job-card-trending:hover::before {
  opacity: 1;
}

.trending-badge {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-blue {
  background: #eff6ff;
  color: #2563eb;
}

.badge-green {
  background: #f0fdf4;
  color: #16a34a;
}

.life-grid-trending {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.life-img-wrapper {
  border-radius: 24px;
  overflow: hidden;
  height: 280px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.life-img-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.btn-apply-list {
  background: #2563eb;
  color: white !important;
  border-radius: 14px;
  padding: 12px 28px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
}

.btn-apply-list:hover {
  background: #1d4ed8;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* Job Details Specific */
.job-card-glass {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
  z-index: 10;
  position: relative;
  border-radius: 32px;
}

.apply-card-trending {
  border: 1px solid #e2e8f0;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.12);
  background: white;
}

.section-title-trending {
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.job-fact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 20px;
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-fact-item:hover {
  background: #ffffff;
  transform: translateX(8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.job-fact-icon {
  width: 56px;
  height: 56px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #2563eb;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.08);
  font-size: 1.4rem;
}

.content-list ul {
  list-style: none;
  padding: 0;
}

.content-list ul li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 20px;
  color: #475569;
  line-height: 1.8;
  font-size: 1.05rem;
}

.content-list ul li::before {
  content: '\f058';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 4px;
  color: #10b981;
  font-size: 1.25rem;
}

/* ========================================
   Career & Job Details Module - Dark Mode
   ======================================== */
.dark-mode .career-hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.dark-mode .company-card-trending {
  background: rgba(30, 41, 59, 0.8) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .job-card-trending {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.dark-mode .job-card-trending:hover {
  border-color: rgba(59, 130, 246, 0.4) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4) !important;
}

.dark-mode .job-card-trending h4 {
  color: #f8fafc !important;
}

.dark-mode .job-card-glass {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .section-title-trending {
  color: #f8fafc !important;
}

.dark-mode .apply-card-trending {
  background: #1e293b !important;
  border-color: #334155 !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4) !important;
}

.dark-mode .apply-card-trending .card-body {
  background: #1e293b !important;
}

.dark-mode .job-fact-item {
  background: #0f172a !important;
  border-color: #1e293b !important;
}

.dark-mode .job-fact-item:hover {
  background: #1e293b !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
}

.dark-mode .job-fact-icon {
  background: #1e293b !important;
  color: #60a5fa !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4) !important;
}

.dark-mode .job-fact-item p.text-dark,
.dark-mode .job-fact-item div p.fw-bold {
  color: #f8fafc !important;
}

.dark-mode .content-list ul li {
  color: #94a3b8 !important;
}

.dark-mode .form-control {
  background: #0f172a !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

.dark-mode .form-control:focus {
  border-color: #3b82f6 !important;
  background: #1e293b !important;
}

.dark-mode .form-label.text-dark {
  color: #94a3b8 !important;
}

.dark-mode .text-secondary {
  color: #94a3b8 !important;
}

.dark-mode .life-img-wrapper {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

.dark-mode .logo-wrapper {
  background: #1e293b !important;
}

.dark-mode .badge.bg-light.text-dark {
  background: #334155 !important;
  color: #f1f5f9 !important;
}
/* Animations */
.fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Staggered animation delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Trending File Upload */
.custom-file-upload {
    position: relative;
    display: block;
    width: 100%;
}

.file-upload-wrapper {
    border: 2px dashed #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.file-upload-icon {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 12px;
    display: block;
}

.file-upload-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    display: block;
}

.file-upload-subtext {
    font-size: 0.8rem;
    color: #94a3b8;
    display: block;
    margin-top: 4px;
}

#file-preview-name {
    margin-top: 10px;
    font-weight: 700;
    color: #2563eb;
    display: none;
    font-size: 0.85rem;
}

.custom-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

/* Dark Mode for File Upload */
.dark-mode .file-upload-wrapper {
    background: #0f172a !important;
    border-color: #334155 !important;
}

.dark-mode .file-upload-wrapper:hover {
    border-color: #3b82f6 !important;
    background: #1e293b !important;
}

.dark-mode .file-upload-text {
    color: #f8fafc !important;
}

.dark-mode .file-upload-subtext {
    color: #64748b !important;
}

/* Gallery Frontend Module */
.gallery-card-trending {
    border-radius: 28px;
    overflow: hidden;
    background: #ffffff;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f1f5f9;
}

.gallery-card-trending:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

.gallery-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

.gallery-card-trending:hover .gallery-img-wrapper img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-card-trending:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-btn {
    width: 65px;
    height: 65px;
    background: #ffffff;
    color: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.gallery-zoom-btn:hover {
    background: #2563eb;
    color: #ffffff;
    transform: scale(1.1);
}

/* Dark Mode for Gallery */
.dark-mode .gallery-card-trending {
    background: #1e293b !important;
    border-color: #334155 !important;
}

.dark-mode .gallery-img-wrapper {
    border-color: #334155 !important;
}

.dark-mode .gallery-zoom-btn {
    background: #0f172a !important;
    color: #60a5fa !important;
}

.dark-mode .gallery-zoom-btn:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

/* Services mega menu icon size */
.services-mega-menu-list .mega-menu-list__icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}
.services-mega-menu-list .mega-menu-list__icon img {
    max-width: 48px;
    max-height: 48px;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.page__banner-content .subtitle-two {
    color: #ffffff !important;
}
