﻿/* GENERAL */
:root {
  --east-bg: #f6f8fb;
  --east-surface: #ffffff;
  --east-text: #0f172a;
  --east-muted: #64748b;
  --east-border: rgba(15, 23, 42, 0.10);

  /* Brand palette (from logo) */
  --east-blue: #37A6D8;
  --east-blue-soft: #85C1E3;
  --east-blue-tint: #D9EBF6;
  --east-orange: #DE7336;
  --east-orange-soft: #F6BC59;
  --east-orange-tint: #FFDA6B;
  --east-green: #87BD5D;
  --east-green-soft: #A3CD62;
  --east-green-tint: #AFCD74;

  /* Theme roles */
  --east-primary: var(--east-blue);
  --east-primary-ink: #136488;
  --east-primary-night: #0B3950;
  --east-accent: var(--east-orange);
  --east-accent-hover: #C85F2A;
  --east-success: var(--east-green);

  /* RGB helpers (for rgba() usage) */
  --east-primary-rgb: 55, 166, 216;
  --east-primary-ink-rgb: 19, 100, 136;
  --east-primary-night-rgb: 11, 57, 80;
  --east-accent-rgb: 222, 115, 54;
  --east-success-rgb: 135, 189, 93;

  --east-radius-sm: 10px;
  --east-radius-md: 14px;
  --east-radius-lg: 18px;

  --east-shadow-sm: 0 8px 20px rgba(2, 6, 23, 0.08);
  --east-shadow-md: 0 14px 40px rgba(2, 6, 23, 0.12);

  --east-ring: 0 0 0 0.25rem rgba(var(--east-accent-rgb), 0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--east-bg);
  color: var(--east-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.page-inner {
  background: var(--east-surface);
}

a {
  color: var(--east-primary);
}

a:hover {
  color: var(--east-primary-ink);
}

::selection {
  background: rgba(var(--east-accent-rgb), 0.25);
}

/* TOP BAR */
.top-bar {
  font-size: 0.9rem;
  background: linear-gradient(90deg, var(--east-primary-night), var(--east-primary-ink) 55%, var(--east-primary-night));
  background-size: 300% 100%;
  animation: ogbWave 12s ease-in-out infinite alternate;
}

.top-bar .container {
  flex-wrap: wrap;
  row-gap: 6px;
}

/* NAV BAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: none !important;
  border-bottom: 0;
  padding: 16px 0;
}

.navbar.navbar--scrolled {
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06) !important;
  border-bottom: 1px solid var(--east-border);
  padding: 10px 0;
}

.navbar .container {
  position: relative;
}

.navbar-brand small {
  color: var(--east-success) !important;
}

/* LOGO TEXT */
.logo-text {
  color: var(--east-accent);
  font-size: 1.8rem;
}

/* LOGO IMAGE */
.navbar-logo {
  height: 62px;
  width: auto;
  display: block;
  transition: transform 180ms ease;
}

@media (max-width: 991px) {
  .navbar-logo {
    height: 46px;
  }
}

@media (min-width: 1200px) {
  .navbar:not(.navbar--scrolled) .navbar-brand {
    position: absolute;
    left: 5px;
    top: -2px;
    width: 220px;
    height: 120px;
    z-index: 1040;
  }

  .navbar:not(.navbar--scrolled) .navbar-logo {
    position: absolute;
    left: 0;
    top: 0;
    transform: none;
    height: 100px;
    filter: drop-shadow(0 18px 24px rgba(2, 6, 23, 0.18));
  }

  .navbar:not(.navbar--scrolled) .navbar-collapse {
    padding-left: 220px;
  }

  .navbar.navbar--scrolled .navbar-logo {
    position: static;
    transform: none;
    height: 56px;
    filter: none;
  }

  .navbar.navbar--scrolled .navbar-collapse {
    padding-left: 0;
  }
}

/* BRAND TEXT */
.brand-text {
  line-height: 1.1;
}

.logo-text {
  font-size: 1.6rem;
}

/* Remove default Bootstrap arrow */
.navbar .dropdown-toggle::after {
  display: none;
}

.custom-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(15, 23, 42, 0.8);
  border-bottom: 2px solid rgba(15, 23, 42, 0.8);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 2px;
  margin-bottom: 2px;
}

/* Rotate when open */
.dropdown-toggle[aria-expanded="true"] .custom-chevron {
  transform: rotate(225deg);
}

.navbar .nav-link {
  font-weight: 700;
  color: rgba(15, 23, 42, 0.78);
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
  position: relative;
  transition: background-color 160ms ease, color 160ms ease;
}

.navbar .nav-link:hover {
  color: var(--east-text);
  background: rgba(var(--east-primary-rgb), 0.10);
}

.navbar .nav-link.active {
  color: var(--east-primary);
  background: transparent;
}

.navbar .nav-link.active .custom-chevron {
  border-right-color: var(--east-primary);
  border-bottom-color: var(--east-primary);
}

.navbar .nav-link.active::after {
  content: none;
}

/* Navbar search alignment */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    align-items: center;
  }

  .navbar .navbar-nav form[role="search"] {
    align-items: center;
  }

  .navbar .navbar-nav form[role="search"] .form-control {
    height: 38px;
  }

  .navbar .navbar-nav form[role="search"] .btn {
    height: 38px;
    width: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Navbar product search suggestions */
.navbar .search-autocomplete {
  min-width: 220px;
}

.navbar .search-autocomplete .search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1080;
  max-height: 320px;
  overflow: auto;
  background: var(--east-surface);
  border: 1px solid var(--east-border);
  border-radius: 12px;
  box-shadow: var(--east-shadow-sm);
}

.navbar .search-autocomplete .search-suggestions__item {
  text-align: left;
}

.navbar .search-autocomplete .search-suggestions__label {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
}

.navbar .search-autocomplete .search-suggestions__meta {
  font-size: 0.8rem;
  opacity: 0.75;
}

.navbar .search-autocomplete .search-suggestions__item.is-active,
.navbar .search-autocomplete .search-suggestions__item:focus {
  background: rgba(var(--east-accent-rgb), 0.12);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 80vh;
  background:
    linear-gradient(rgba(var(--east-primary-night-rgb), 0.86), rgba(var(--east-primary-ink-rgb), 0.78)),
    url("../images/hero-background.png") center/cover no-repeat;
  padding-bottom: 150px;
  padding-top: 120px;
}

/* Inner pages: shorter hero */
.page-inner .hero-section {
  min-height: 15vh;
  padding-top: 120px;
  padding-bottom: 120px;
}

@media (max-width: 575px) {
  .hero-section {
    padding-top: 72px;
    padding-bottom: 110px;
  }

  .page-inner .hero-section {
    padding-top: 56px;
    padding-bottom: 96px;
  }
}

/* HERO TEXT */
.hero-text h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
}

.text-accent {
  color: var(--east-accent);
}

.hero-text p {
  font-size: 1.1rem;
}

/* HERO IMAGE */
.hero-image {
  max-height: 420px;
  border-radius: var(--east-radius-md);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.45);
  margin-bottom: -30px;
}

/* BUTTON */
.btn-warning {
  background-color: var(--east-accent);
  border: none;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  margin-right: 6px;
  color: white;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(var(--east-accent-rgb), 0.28);
}

.btn-warning.btn-lg {
  padding: 0.9rem 1.6rem;
}

.btn-warning.btn-sm {
  padding: 0.4rem 0.6rem;
  border-radius: 12px;
  box-shadow: none;
}

.btn-warning:hover {
  background-color: var(--east-accent-hover);
  color: white;
}

.btn-warning:focus-visible {
  box-shadow: var(--east-ring);
}

.btn-outline-light {
  font-weight: 700;
  border-radius: 999px;
}

.btn-outline-light.btn-lg {
  padding: 0.9rem 1.6rem;
}

.btn-outline-light:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.28);
}

/* Bootstrap tune-ups */
.form-control,
.form-select {
  border-radius: 12px;
  border-color: rgba(15, 23, 42, 0.14);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(var(--east-accent-rgb), 0.55);
  box-shadow: var(--east-ring);
}

.dropdown-menu {
  border-radius: 14px;
  border: 1px solid var(--east-border);
  box-shadow: var(--east-shadow-sm);
  padding: 10px;
}

.dropdown-item {
  border-radius: 10px;
  font-weight: 600;
}

.dropdown-item:active {
  background: rgba(var(--east-primary-rgb), 0.18);
  color: var(--east-primary);
}

.card {
  border-radius: var(--east-radius-md);
  border-color: var(--east-border);
}

.card.shadow-sm {
  box-shadow: var(--east-shadow-sm) !important;
}

/* WAVE DESIGN HOME PAGE*/
.hero-wave-top {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 140px;
  background: url("../images/wave-top.png") no-repeat center top;
  background-size: 100% 100%;
  z-index: 3;
  pointer-events: none;

}


.section-next {
  background: #ffffff;
  padding: 80px 0;
  margin-top: -1px;
}

.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 140px;
  background: url("../images/wave.png") no-repeat center bottom;
  background-size: 100% 100%;
  z-index: 3;
  pointer-events: none;
}

/* Other pages: use alternate hero wave image */
.page-inner .hero-wave-top {
  background-image: url("../images/hero-wave-other-pages-top.png");
}

.page-inner .hero-wave {
  background-image: url("../images/hero-wave-other-pages.png");
}



/* Mobile: keep wave aspect ratio (avoid stretching) */
@media (max-width: 575px) {
  .hero-wave {
    height: clamp(64px, 21.7vw, 110px);
    background-size: 100% auto;
  }

  .hero-wave-top {
    height: clamp(52px, 18.2vw, 96px);
    background-size: 100% auto;
  }
}

/* Home page: inline SVG waves (no external images) */
.page-home {
  --hero-wave-color: #ffffff;
}

.page-home .hero-wave,
.page-home .hero-wave-top {
  background: none;
}

.page-home .hero-wave-top {
  top: -2px;
  height: 92px;
}

.page-home .hero-wave {
  bottom: -2px;
  height: 160px;
}

.page-home .hero-wave-svg {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--hero-wave-color);
}

.page-home .hero-wave-svg-top,
.page-home .hero-wave-svg-bottom {
  overflow: visible;
}

@media (max-width: 575px) {
  .page-home .hero-wave-top {
    height: 72px;
  }

  .page-home .hero-wave {
    height: 130px;
  }
}

/* CREDIBILITY */
.credibility-section {
  background: var(--east-surface);
}

.credibility-list {
  list-style: none;
  padding-left: 0;
}

.credibility-list li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}

.credibility-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--east-success);
}

/* PREVIEW CARDS */
.preview-card {
  background: #ffffff;
  padding: 20px;
  border-radius: var(--east-radius-md);
  border: 1px solid var(--east-border);
  box-shadow: var(--east-shadow-sm);
  height: 100%;
}

.preview-img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 15px;
}

.preview-card h6 {
  font-weight: 600;
}

.preview-card p {
  font-size: 0.9rem;
  color: #666666;
}

/* SERVICES PREVIEW (case-study style) */
.services-preview-section {
  background: white;
}

.services-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.services-preview-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
}

.services-preview-seeall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(var(--east-primary-ink-rgb), 0.25);
  color: var(--east-primary-ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}

.services-preview-seeall:hover {
  color: var(--east-primary-night);
  border-color: rgba(var(--east-primary-ink-rgb), 0.45);
}

.services-preview-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-preview-card {
  display: flex;
  gap: 18px;
  background: #ffffff;
  border-radius: var(--east-radius-lg);
  border: 1px solid var(--east-border);
  box-shadow: var(--east-shadow-sm);
  padding: 16px;
}

.service-preview-media {
  flex: 0 0 250px;
  width: 250px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--east-blue-tint), var(--east-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.10);
  aspect-ratio: 4 / 3;
  position: relative;
}

.service-preview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.00) 45%),
    radial-gradient(140% 90% at 20% 15%, rgba(var(--east-primary-rgb), 0.18) 0%, rgba(var(--east-primary-rgb), 0.00) 55%);
  mix-blend-mode: normal;
}

.service-preview-media--alt {
  background: linear-gradient(135deg, var(--east-blue-soft), var(--east-blue-tint));
}

.service-preview-media--soft {
  background: linear-gradient(135deg, var(--east-orange-tint), #fff7ed);
}

.service-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
}

.service-preview-media--soft img {
  object-fit: contain;
  padding: 24px;
  background: #ffffff;
}

.service-preview-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 4px 2px;
  display: flex;
  flex-direction: column;
}

.service-preview-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 4px 0 8px;
  color: #111827;
}

.service-preview-text {
  color: #6b7280;
  margin-bottom: 12px;
  line-height: 1.5;
}

.service-preview-tags {
  list-style: none;
  padding-left: 0;
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-preview-tags li {
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid rgba(2, 6, 23, 0.06);
}

.service-preview-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--east-primary-ink);
  font-weight: 700;
  text-decoration: none;
}

.service-preview-link:hover {
  color: var(--east-primary-night);
  text-decoration: none;
}

.service-preview-linkLabel {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-preview-link:hover .service-preview-linkLabel {
  text-decoration-thickness: 2px;
}

.service-preview-linkIcon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--east-primary-ink-rgb), 0.25);
  background: #ffffff;
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.10);
  flex: 0 0 auto;
}

.service-preview-link:hover .service-preview-linkIcon {
  border-color: rgba(var(--east-primary-ink-rgb), 0.45);
  box-shadow: 0 14px 22px rgba(17, 24, 39, 0.12);
}

/* SERVICES PREVIEW (index bootstrap variant) */
.services-preview-section--bootstrap {
  background: #ffffff;
  --sp-card-min: 240px;
  --sp-gap: 1.5rem; /* Bootstrap `g-4` */
}

.services-preview-section--bootstrap .services-preview-cta {
  margin-top: 0 !important;
}

.services-preview-section--bootstrap .service-preview-panel {
  background: url("../images/building.png") center / cover no-repeat;
  border-radius: var(--east-radius-lg);
  border: 1px solid var(--east-border);
  box-shadow: var(--east-shadow-sm);
  position: relative;
  overflow: hidden;
}

.services-preview-section--bootstrap .service-preview-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.60) 0%,
    rgba(255, 255, 255, 0.72) 55%,
    rgba(255, 255, 255, 0.86) 100%
  );
}

.services-preview-section--bootstrap .service-preview-panel .card-body {
  position: relative;
  z-index: 1;
}

.services-preview-section--bootstrap .services-preview-left .service-preview-panel .card-body {
  min-height: var(--sp-card-min);
}

.services-preview-section--bootstrap .services-preview-right-body {
  min-height: calc((2 * var(--sp-card-min)) + var(--sp-gap));
}

.services-preview-section--bootstrap .service-preview-title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.services-preview-section--bootstrap .service-preview-text {
  color: #1f2937;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.services-preview-section--bootstrap .service-preview-link--bootstrap:hover {
  text-decoration: none;
}

@media (max-width: 991px) {
  .service-preview-card {
    flex-direction: column;
  }

  .service-preview-media {
    flex-basis: auto;
    width: 100%;
    height: 200px;  
  }

  .services-preview-section--bootstrap .services-preview-right-body {
    min-height: 260px;
  }

  .services-preview-section--bootstrap .service-preview-title {
    font-size: 1.6rem;
  }
}

/* SERVICES TAG GRID (services page layout) */
.services-tags-stack {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.service-tags-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--east-text);
}

.service-tags-lede {
  margin: 0;
  max-width: 720px;
  color: var(--east-muted);
  line-height: 1.5;
}

.service-tags-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-tag-card {
  background: var(--east-surface);
  border: 1px solid var(--east-border);
  border-radius: var(--east-radius-md);
  box-shadow: var(--east-shadow-sm);
  padding: 20px 18px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-tag-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--east-shadow-md);
  border-color: rgba(var(--east-primary-ink-rgb), 0.25);
}

.service-tag-name {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--east-text);
}

.service-tag-desc {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .services-tags-stack {
    gap: 44px;
  }

  .service-tags-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .service-tags-grid {
    grid-template-columns: 1fr;
  }
}


/* LEAD SECTION */
.lead-section {
  background: linear-gradient(to right, var(--east-primary-ink), var(--east-primary));
}


/* WHY US */
.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--east-success);
}

/* FOOTER */
.footer-section {
  background: #0b1f33;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.3rem;
  margin-right: 12px;
  display: inline-block;
}

.footer-social a:hover {
  color: #ffffff;
}

.sec-logo {
  max-height: 100px;
  height: auto;
  margin-top: 8px;
}

.east-logo-footer {
  height: 50px;
  height: auto;
  margin-top: 8px;
}

/*   Instant Image Changer Effect*/
.image-frame {
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-frame .slideAnimate {
  position: absolute;
  max-width: 320px;
  width: 100%;
  height: auto;
  opacity: 0;
}

.image-frame .slideAnimate.is-active {
  opacity: 1;
}





/*  Procuts */

.product-card {
  background: #fff;
  border-radius: var(--east-radius-md);
  border: 1px solid var(--east-border);
  overflow: hidden;
  transition: 0.3s ease;
  box-shadow: var(--east-shadow-sm);

}

/* Product card: preview style (homepage + 3D demo) */
.product-card--preview {
  border: 0;
  border-radius: 22px;
  background: white;
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.product-card--preview .product-img-wrapper {
  flex: 1 1 auto;
  height: auto;
  min-height: 240px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.product-card--preview .product-img {
  width: 100%;
  height: auto;
  max-height: 190px;
  object-fit: contain;
  padding: 0;
}

.product-card--preview {
  --portfolio-icon-size: 86px;

}

.product-card--preview .portfolio-icon {
  font-size: var(--portfolio-icon-size);
  line-height: 1;
  color: var(--east-primary);
}

.product-card--preview img.portfolio-icon {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.product-card--preview .product-info {
  flex: 0 0 auto;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 18px 16px;
  text-align: center;
}

.product-card--preview .brand-name {
  color: #6b7280;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-card--preview .product-title {
  color: #111827;
  font-weight: 800;
  font-size: 1.05rem;
}

.product-card--preview .quick-view {
  display: none;
}

.product-card--preview .sale-badge {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.25);
}

/* PRODUCTS PREVIEW (homepage carousel) - "Our Best Service" style */
.products-preview-section {
  background: radial-gradient(1200px 520px at 20% 20%, rgba(var(--east-primary-ink-rgb), 0.96) 0%, rgba(var(--east-primary-night-rgb), 0.92) 55%, rgba(2, 20, 44, 0.98) 100%);
  color: #e5e7eb;
}

.products-preview-section h2 {
  color: #fff;
}

.products-preview-section .btn.btn-warning {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.products-preview-section #productCarousel1 .carousel-inner {
  overflow: visible;
}

.products-preview-section #productCarousel1 .product-card--preview {
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.22);
  transition: transform 220ms ease, opacity 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}

@media (min-width: 992px) {
  .products-preview-section #productCarousel1 .carousel-item.active .product-card--preview {
    transform: scale(0.94);
    opacity: 0.55;
    filter: blur(0.25px) saturate(0.9);
  }

  /* Focus the "center" card (second visible) */
  .products-preview-section #productCarousel1 .carousel-item.active .col-lg-3:nth-child(2) .product-card--preview {
    transform: scale(1.06);
    opacity: 1;
    filter: none;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
    position: relative;
    z-index: 2;
  }
}


/*  
.product-card:hover {
    transform: translateY(-5px);
} */

/* Image */
.product-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 260px;
  background: #f8f9fa;
}





.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  background: transparent;
  display: block;
  transition: opacity 160ms ease;
}

/* PRODUCTS PREVIEW: image + text styling (override base product styles) */
.products-preview-section .product-card--preview .product-img-wrapper {
  min-height: 260px;
}

/* Bottom Overlay (Like Sample Image) */
.quick-view {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  background: var(--east-accent);
  text-align: center;
  transition: 0.3s ease;

}

.quick-view a {
  display: block;
  padding: 12px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 1px;
}

.product-img-wrapper:hover .quick-view {
  bottom: 0;
}

/* Sale Badge */
.sale-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--east-accent);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 50px;
  z-index: 2;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.20);
}

/* Product Info */
.product-info {
  text-align: left;
  /* NOT centered */
}

.brand-name {
  font-size: 12px;
  font-weight: 600;
  color: #777;
  text-transform: uppercase;
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

/* NU
.product-price {
  color: #000;
  display: flex;

}

.old-price {
  text-decoration: line-through;
  padding-right: 10px;
}

.new-price {
  font-size: 16px;
  font-weight: 700;
  color: #000;

}
  */

#productCarousel1 .carousel-inner {
  /* Allow card shadows without adding side padding */
  overflow: visible;
  padding: 0 0 28px;
}

/* PRODUCTS PREVIEW: card shadow (with padding above to prevent clipping) */
#productCarousel1 .product-card--preview {
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.22);
}

#productCarousel1 .carousel-control-prev,
#productCarousel1 .carousel-control-next {
  width: 32px;
  height: 100%;
  background: transparent;
  border-radius: 0;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  opacity: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

#productCarousel1 .carousel-control-prev {
  left: 0;
}

#productCarousel1 .carousel-control-next {
  right: 0;
}

#productCarousel1 .carousel-control-prev span[aria-hidden="true"],
#productCarousel1 .carousel-control-next span[aria-hidden="true"] {
  color: black;
  font-size: 44px;


}

/* PRODUCTS PREVIEW: light arrows on dark background */
.products-preview-section #productCarousel1 .carousel-control-prev span[aria-hidden="true"],
.products-preview-section #productCarousel1 .carousel-control-next span[aria-hidden="true"] {
  color: #fff;
}

/* Desktop: blurred controls until hover */
@media (min-width: 992px) {

  #productCarousel1 .carousel-control-prev,
  #productCarousel1 .carousel-control-next {
    opacity: 0.35;
    filter: blur(1.25px);
    transition: opacity 180ms ease, filter 180ms ease;
  }

  #productCarousel1:hover .carousel-control-prev,
  #productCarousel1:hover .carousel-control-next,
  #productCarousel1 .carousel-control-prev:hover,
  #productCarousel1 .carousel-control-next:hover,
  #productCarousel1 .carousel-control-prev:focus-visible,
  #productCarousel1 .carousel-control-next:focus-visible {
    opacity: 1;
    filter: none;
  }
}

@media (max-width: 767px) {
  #productCarousel1 .carousel-inner {
    overflow: visible;
    padding: 0 0 28px;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 35px;
  height: 35px;
  background: var(--east-accent);
  border-radius: 50%;
  top: 40%;
  opacity: 1;

}


.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 60%;
}


/* ===== MOBILE FIX ===== */
@media (max-width: 767px) {
  .carousel-item .col-12:nth-child(n+2) {
    display: none;
  }

}

/* 3D Carousel/Slider (scoped to product page section) */
.carousel3d-section {
  background: radial-gradient(1200px 520px at 20% 20%, rgba(var(--east-primary-ink-rgb), 0.96) 0%, rgba(var(--east-primary-night-rgb), 0.92) 55%, rgba(2, 20, 44, 0.98) 100%);
  padding: 26px 18px 18px;
  box-shadow: var(--east-shadow-md);
  overflow: hidden;
  color: #e5e7eb;
}

.carousel3d-section--portfolio {
  padding: 0;
  box-shadow: none;
  overflow: hidden;
}

.carousel3d-section--portfolio .container {
  overflow: hidden;
}

.carousel3d-section--portfolio h2 {
  color: #fff;
}

/* Portfolio coverflow layout (overlapping cards like mock) */
.carousel3d-section--portfolio .carousel3d {
  padding-top: 0;
}

.carousel3d-section--portfolio .carousel3d__body {
  overflow: hidden;
  padding: 10px 0 28px 0;
}

.carousel3d-section--portfolio .carousel3d__prev,
.carousel3d-section--portfolio .carousel3d__next {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.carousel3d-section--portfolio .carousel3d__prev:hover,
.carousel3d-section--portfolio .carousel3d__next:hover {
  transform: translateY(-50%) scale(1.06);
  background: rgba(255, 255, 255, 0.18);
}

.carousel3d-section--portfolio .carousel3d__prev {
  left: 10px;
}

.carousel3d-section--portfolio .carousel3d__next {
  right: 10px;
}

.carousel3d-section--portfolio .carousel3d__prev i,
.carousel3d-section--portfolio .carousel3d__next i {
  font-size: 22px;
  color: #fff;
}

.carousel3d-section--portfolio .carousel3d__slider {
  position: relative;
  width: 100%;
  justify-content: center;
  align-items: center;
  height: var(--carousel3d-height, 380px);
  padding: 0;
  cursor: default;
  contain: layout paint;
}

.carousel3d-section--portfolio .carousel3d__slider__item {
  position: absolute;
  left: 50%;
  top: 0;
  margin: 0;
  transform: translate3d(calc(-50% + var(--cf-x, 0px)), 0, 0) scale(var(--cf-scale, 1));
  opacity: var(--cf-opacity, 0);
  filter: blur(var(--cf-blur, 0px));
  z-index: var(--cf-z, 1);
  transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease;
  pointer-events: var(--cf-pe, none);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.carousel3d-section--portfolio .carousel3d__swipe-hint {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  /* Must sit above active card (which uses high z-index) */
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 1;
  transition: opacity 240ms ease, transform 240ms ease;
  backdrop-filter: blur(6px);
  animation: carousel3dSwipeHintPulse 1.2s ease-in-out infinite;
}

.carousel3d-section--portfolio .carousel3d__swipe-hint i {
  font-size: 16px;
}

.carousel3d-section--portfolio .carousel3d__swipe-hint.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(6px);
}

@keyframes carousel3dSwipeHintPulse {
  0% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.04);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}

.carousel3d-section--portfolio .carousel3d__slider__item .product-card--preview {
  border: 4px solid rgba(var(--east-primary-rgb), 0.9);
  box-shadow: 0 22px 70px rgba(2, 6, 23, 0.28);
}

.carousel3d-section--portfolio .carousel3d__slider__item.carousel3d__slider__item--active .product-card--preview {
  border-color: rgba(var(--east-primary-rgb), 1);
}

.carousel3d-section--portfolio .item3d-frame {
  transform: none !important;
}

.carousel3d-section--portfolio .item3d-frame::after {
  display: none;
}

.carousel3d-section--portfolio .item3d-frame__box--left,
.carousel3d-section--portfolio .item3d-frame__box--right {
  display: none;
}

@media (max-width: 991px) {
  .carousel3d-section--portfolio .carousel3d__prev,
  .carousel3d-section--portfolio .carousel3d__next {
    display: none;
  }
}

/* Mobile: prevent coverflow overflow + reduce heavy effects */
@media (max-width: 991px) {
  .carousel3d-section--portfolio {
    overflow: hidden;
  }

  .carousel3d-section--portfolio .carousel3d__body {
    overflow: hidden;
  }

  .carousel3d-section--portfolio .carousel3d__slider {
    overflow: hidden;
  }
}

@media (max-width: 991px) {
  .carousel3d-section--portfolio .carousel3d__slider__item {
    filter: none;
    max-width: calc(100% - 24px);
    transition: transform 240ms ease, opacity 240ms ease;
  }

  .carousel3d-section--portfolio .carousel3d__slider__item .product-card--preview {
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.22);
  }
}

.carousel3d-title {
  font-size: 0.95em;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  user-select: none;
}

.carousel3d {
  --crsl-bg: transparent;
  --box-bg: #0b1b28;
  --box-shadow: #0000001c;
  --box-border: #fff;

  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding-top: 18px;
}

.carousel3d__body {
  width: 100%;
  padding: 20px 0 50px 0;
  overflow: hidden;
  position: relative;
}

.carousel3d__prev,
.carousel3d__next {
  position: absolute;
  bottom: 12px;
  transform: translateY(0);
  transition: transform 0.25s ease;
  background: transparent;
  border: 0;
  padding: 6px 10px;
  z-index: 2;
}

.carousel3d__prev:hover,
.carousel3d__next:hover {
  transform: scale(1.1);
}

.carousel3d__prev i,
.carousel3d__next i {
  font-size: 44px;
  color: var(--box-border);
  cursor: pointer;
}

.carousel3d__prev {
  left: calc(50% - 88px);
}

.carousel3d__next {
  right: calc(50% - 88px);
}

.carousel3d__slider {
  position: relative;
  display: flex;
  transition: transform 1s ease-in-out;
  background: var(--crsl-bg);
  will-change: transform;
  touch-action: pan-y;
  cursor: grab;
}

.carousel3d__slider:active {
  cursor: grabbing;
}

.carousel3d__slider__item {
  position: relative;
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  margin: 0 20px;
}

.item3d-frame {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out;
  transform-style: preserve-3d;
}

.item3d-frame::after {
  content: "";
  position: absolute;
  bottom: -15%;
  width: 100%;
  height: 40px;
  background: var(--box-shadow);
  box-shadow: 0px 0px 5px 5px var(--box-shadow);
  transform: rotateX(90deg) translate3d(0px, -20px, 0px);
  opacity: 0.85;
}

.item3d-frame__box {
  display: flex;
  align-items: center;
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-color: var(--box-border);
  background: var(--box-bg);
  border-width: 3px;
  border-style: solid;
}

.item3d-frame__box h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  width: 100%;
  color: var(--box-border);
  margin: 0;
  line-height: 1;
}

.item3d-frame__box--left,
.item3d-frame__box--right {
  top: 0;
  width: 40px;
  backface-visibility: hidden;
}

.item3d-frame__box--left {
  left: 0;
  border-left-width: 5px;
  transform: translate3d(1px, 0, -40px) rotateY(-90deg);
  transform-origin: 0%;
}

.item3d-frame__box--right {
  right: 0;
  border-right-width: 5px;
  transform: translate3d(-1px, 0, -40px) rotateY(90deg);
  transform-origin: 100%;
}

/* 3D carousel: use product preview cards on the front face */

.carousel3d-section .item3d-frame__box {
  align-items: stretch;
  justify-content: stretch;
  background: transparent;
  border: 0;
  padding: 0;
}

.carousel3d-section .item3d-frame__box--left,
.carousel3d-section .item3d-frame__box--right {
  display: none;
}

.carousel3d-section .product-card--preview {
  width: 100%;
  height: 100%;
}

.carousel3d-section .product-card--preview .product-img-wrapper {
  min-height: 0;
}

@media (prefers-reduced-motion: reduce) {

  .carousel3d__slider,
  .item3d-frame,
  .carousel3d-section--portfolio .carousel3d__swipe-hint {
    transition-duration: 1ms !important;
    animation: none !important;
  }
}

/* SHOP (product listing) */
.shop-toolbar .shop-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.shop-toolbar .shop-breadcrumb a:hover {
  color: var(--east-primary-ink);
}

.shop-toolbar .shop-breadcrumb .active {
  color: #111827;
  font-weight: 700;
}

.shop-sort {
  min-width: 200px;
}

.shop-sidebar {
  align-self: flex-start;
  top: 110px;
  padding: 18px;
  border: 1px solid var(--east-border);
  border-radius: var(--east-radius-md);
  background: #ffffff;
  box-shadow: var(--east-shadow-sm);
}

@media (max-width: 991px) {
  .shop-sidebar {
    position: static;
  }
}

.sidebar-block+.sidebar-block {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.sidebar-title {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #111827;
}

.sidebar-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  color: #374151;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}

.sidebar-list li a:hover {
  color: var(--east-primary-ink);
}

.sidebar-list .count {
  color: #6b7280;
  font-weight: 700;
}

.bestseller-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  text-decoration: none;
  color: #111827;
}

.bestseller-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #eef2f6;
  border-radius: 10px;
  padding: 6px;
  flex: 0 0 auto;
}

.bestseller-brand {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  color: #6b7280;
}

.bestseller-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.bestseller-item:hover .bestseller-name {
  color: var(--east-primary-ink);
}

.shop-section:not(.products-preview-cards) .product-img-wrapper {
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: #ffffff;
  padding: 14px;
  height: auto;
}

.shop-section:not(.products-preview-cards) .product-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: 0;
  background: transparent;
}

.shop-section:not(.products-preview-cards) .product-card {
  border: none;
  border-radius: 2px;
  box-shadow: none;
}

.shop-section:not(.products-preview-cards) .product-info {
  text-align: center;
}

.shop-section:not(.products-preview-cards) .brand-name {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.shop-section:not(.products-preview-cards) .product-title {
  color: var(--east-primary-ink);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.25;
}

.shop-section:not(.products-preview-cards) .product-title:hover {
  color: var(--east-primary-night);
  text-decoration: underline;
}

.shop-section:not(.products-preview-cards) .product-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.shop-section:not(.products-preview-cards) .old-price {
  color: #9ca3af;
  text-decoration: line-through;
  font-size: 0.92rem;
  font-weight: 700;
}

.shop-section:not(.products-preview-cards) .new-price {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 900;
}

.shop-section:not(.products-preview-cards) .sale-badge {
  top: 10px;
  left: 10px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* PRODUCTS PREVIEW (cards only, used on product listing) */
.products-preview-cards .product-img-wrapper {
  height: 240px;
  background: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.products-preview-cards .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: transparent;
}

.products-preview-cards .product-info {
  text-align: center;
}

.products-preview-cards .brand-name {
  color: #6b7280;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.products-preview-cards .product-title {
  color: #111827;
  font-weight: 700;
  text-decoration: none;
}

.products-preview-cards .product-title:hover {
  color: #111827;
  text-decoration: underline;
}

.products-preview-cards .product-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
}

.products-preview-cards .old-price {
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 600;
}

.products-preview-cards .new-price {
  color: #111827;
  font-weight: 800;
}

.pagination .page-link {
  color: var(--east-primary-ink);
}

.pagination .page-item.active .page-link {
  background: var(--east-accent);
  border-color: var(--east-accent);
  color: #ffffff;
}

.pagination .page-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--east-accent-rgb), 0.25);
}

/* Page loading overlay */
body.loading-active {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.page-loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
}

.page-loader__east{
 width: min(160px, 64vw);
  height: auto;

}

.page-loader__green {
  width: min(60px, 64vw);
  height: auto;
}

.page-loader__east {
  animation: eastinc-float 1.6s ease-in-out infinite;
  will-change: transform;
}

@keyframes eastinc-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader {
    transition: none;
  }
  .page-loader__east {
    animation: none;
  }
}
