/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
   --navy: #1a2d4e;
  --teal: #06A3DA;
  --teal-light: #0d4d8d ;
  --teal-dark: #0d4d8d ;
  --bg: #f0f4f8;
  --bg-dot: #e2eaf3;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 16px;
  --shadow-card: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --shadow-card-hover: 0 4px 24px rgba(0,0,0,.12);
  --shadow-modal: 0 24px 80px rgba(0,0,0,.24);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--gray-800);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero {
  background: var(--bg);
  background-image: radial-gradient(var(--bg-dot) 1px, transparent 1px);
  background-size: 24px 24px;
  text-align: center;
  padding: 0 24px 60px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gray-700);
  margin-bottom: 32px;
}

.hero-pill-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero-title-accent {
      background: linear-gradient(235deg, rgb(13, 77, 141) 26%, rgb(0, 212, 255) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 740px;
  margin: 0 auto 36px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
}

.hero-badge svg { color: var(--gray-500); flex-shrink: 0; }

/* ===== FILTER BAR ===== */
.filter-bar-wrap {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  /* Ensure no transform/will-change on ancestors breaks stickiness */
  isolation: isolate;
}

.filter-bar-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--gray-200);
  background: transparent;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}

.filter-tab:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
}

.filter-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.filter-tab.active .tab-count {
  background: rgba(255,255,255,.2);
  color: var(--white);
}

.tab-count {
  background: var(--gray-100);
  color: var(--gray-500);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 12px;
  font-weight: 600;
  transition: all .18s;
}

.search-wrap {
  position: relative;
  flex-shrink: 0;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

.search-input {
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  padding: 9px 18px 9px 40px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  width: 240px;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}

.search-input::placeholder { color: var(--gray-400); }
.search-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,165,160,.12);
}

/* ===== PRODUCTS WRAP ===== */
.products-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 56px 32px;
}

/* ===== CATEGORY SECTION ===== */
.category-section {
  margin-bottom: 64px;
}

.category-section.hidden { display: none; }

.category-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.category-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.category-eyebrow svg { color: var(--teal); }

.category-name {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}

.category-count {
  background: var(--gray-100);
  color: var(--gray-500);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  margin-bottom: 4px;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) 
{
     .product-grid
      {
         grid-template-columns: 1fr;
         }
.productPage-Banner
{
    margin-bottom: 0 !important;
} 
.productPage-Row{
    padding-top: 180px !important;
}
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform:translateY(-4px);
  box-shadow:var( --teal);
  border-color:#cfd9e6;
}
.card-bar {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    z-index: 2;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease;
}
.product-card:hover .card-bar {
    transform: scaleX(1);
}

/* .product-card:first-child {
  border-top: 3px solid var(--teal);
} */

.card-image-wrap {
  position: relative;
  background: var(--gray-50);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gray-600);
  text-transform: uppercase;
  z-index: 1;
}

.card-img {
  max-width: 72%;
  max-height: 72%;
  object-fit: contain;
  transition: transform 0.5s ease-in-out;
}

.product-card:hover .card-img {
  transform: scale(1.5);
}
/* .product-card:hover .card-img {
     transform:translateY(-4px);
  box-shadow:var(--shadow-card-hover);
  border-color:#cfd9e6;
     } */

.card-placeholder {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(14,165,160,.25);
}

.card-placeholder svg { color: white; }

.card-body {
  padding: 20px 22px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.card-desc {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 18px;
  border-top: 1px solid var(--gray-100);
  margin-top: 12px;
}

.card-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .18s;
}

.card-link:hover { gap: 8px; }
.card-link svg { flex-shrink: 0; }

.card-features-count {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 500;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--white);
  border-radius: 24px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  position: relative;
  transform: scale(.96) translateY(8px);
  transition: transform .28s cubic-bezier(.34,1.56,.64,1);
}

.modal-overlay.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 20px;
  line-height: 1;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .15s, color .15s;
}

.modal-close:hover { background: var(--gray-200); color: var(--gray-900); }

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 380px;
}

@media (max-width: 640px) { .modal-body { grid-template-columns: 1fr; } }

.modal-image-col {
  background: var(--gray-50);
  border-radius: 24px 0 0 24px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 16px;
  min-height: 320px;
}

@media (max-width: 640px) { .modal-image-col { border-radius: 24px 24px 0 0; } }

.modal-category-badge {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gray-600);
  text-transform: uppercase;
  align-self: flex-start;
}

.modal-image-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image-wrap img {
  max-width: 80%;
  max-height: 240px;
  object-fit: contain;
}

.modal-image-placeholder {
  width: 96px; height: 96px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(14,165,160,.25);
}

.modal-image-placeholder svg { color: white; }

.modal-info-col {
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.modal-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 20px;
}

.modal-section-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 12px;
  margin-top: 4px;
}

.modal-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin-bottom: 20px;
}

.modal-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.45;
}

.modal-features-list li svg { color: var(--teal); flex-shrink: 0; margin-top: 1px; }

.modal-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}

.spec-cell {
  padding: 12px 16px;
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.spec-cell:nth-child(even) { border-right: none; }
.spec-cell:last-child, .spec-cell:nth-last-child(2):nth-child(odd) { border-bottom: none; }

.spec-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.spec-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-inquiry {
  flex: 1;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background .18s, transform .15s;
}

.btn-inquiry:hover { background: #213560; transform: translateY(-1px); }

.btn-whatsapp {
  flex: 1;
  background: transparent;
  color: #25D366;
  border: 1.5px solid #25D366;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background .18s, color .18s, transform .15s;
}

.btn-whatsapp:hover { background: #25D366; color: white; transform: translateY(-1px); }

.related-products-section { border-top: 1px solid var(--gray-100); padding-top: 20px; }

.modal-related-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.related-card:hover { background: var(--gray-100); border-color: var(--gray-200); }

.related-thumb {
  width: 40px; height: 40px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.related-thumb img { width: 100%; height: 100%; object-fit: contain; }

.related-thumb-placeholder {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.related-info-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.related-info-cat {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 1px;
}

/* ===== NO RESULTS ===== */
.no-results {
  text-align: center;
  padding: 80px 24px;
  color: var(--gray-400);
}

.no-results svg { margin-bottom: 16px; }
.no-results h3 { font-size: 18px; font-weight: 600; color: var(--gray-600); margin-bottom: 6px; }
.no-results p { font-size: 14px; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  text-align: center;
  padding: 80px 24px;
}

.cta-title {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn-primary {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s, transform .15s;
}

.cta-btn-primary:hover { background: #213560; transform: translateY(-2px); }

.cta-btn-secondary {
  background: transparent;
  color: #25D366;
  border: 1.5px solid #25D366;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .18s, color .18s, transform .15s;
}

.cta-btn-secondary:hover { background: #25D366; color: white; transform: translateY(-2px); }

/* ===== SCROLLBAR ===== */
.modal-container::-webkit-scrollbar { width: 6px; }
.modal-container::-webkit-scrollbar-track { background: transparent; }
.modal-container::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }

/* ===== NO-IMAGE HIDDEN ===== */
.modal-image-wrap img[src=""] { display: none; }

/* ===== RESPONSIVE STYLES ===== */

/* --- Large Desktop (1920px+) --- */
@media (min-width: 1600px) {
  .products-wrap {
    max-width: 1520px;
  }
  .filter-bar-inner {
    max-width: 1520px;
  }
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Tablet Landscape / Small Desktop (1024px–1280px) --- */
@media (max-width: 1280px) {
  .products-wrap {
    padding: 48px 24px;
  }
  .filter-bar-inner {
    padding: 0 24px;
  }
}

/* --- Tablet Portrait (768px–1024px) --- */
@media (max-width: 1024px) {
  .hero {
    padding: 60px 20px 48px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .filter-bar-inner {
    padding: 0 16px;
    gap: 12px;
    min-height: 56px;
    flex-wrap: wrap;
  }
  .filter-tabs {
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-shrink: 1;
    min-width: 0;
    padding: 10px 0;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab {
    padding: 7px 14px;
    font-size: 13px;
    flex-shrink: 0;
  }
  .search-input {
    width: 200px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .modal-container {
    max-width: 720px;
  }
  .modal-info-col {
    padding: 24px 24px 20px;
  }
  .modal-title {
    font-size: 21px;
  }
}

/* --- Tablet Portrait Narrow (600px–768px) --- */
@media (max-width: 768px) {
  .hero {
    padding: 48px 16px 40px;
  }
  .hero-pill {
    margin-bottom: 24px;
  }
  .hero-badges {
    gap: 16px;
  }
  .hero-badge {
    font-size: 13px;
  }
  .filter-bar-inner {
    padding: 0 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: unset;
  }
  .filter-tabs {
    order: 1;
    padding: 10px 0 8px;
    border-bottom: 1px solid var(--gray-100);
  }
  .search-wrap {
    order: 2;
    padding: 10px 0;
  }
  .search-input {
    width: 100%;
  }
  .products-wrap {
    padding: 36px 16px;
  }
  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .category-count {
    margin-bottom: 0;
  }
  .modal-overlay {
    padding: 12px;
    align-items: flex-end;
  }
  .modal-container {
    border-radius: 20px;
    max-height: 95vh;
  }
  .modal-body {
    grid-template-columns: 1fr;
  }
  .modal-image-col {
    border-radius: 20px 20px 0 0;
    min-height: 200px;
    padding: 20px;
  }
  .modal-image-wrap img {
    max-height: 160px;
  }
  .modal-info-col {
    padding: 20px 20px 16px;
  }
  .modal-title {
    font-size: 19px;
  }
  .modal-features-list {
    grid-template-columns: 1fr;
  }
  .modal-actions {
    flex-direction: column;
    gap: 10px;
  }
  .btn-inquiry, .btn-whatsapp {
    width: 100%;
  }
  .cta-section {
    padding: 56px 16px;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-btn-primary, .cta-btn-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* --- Mobile (up to 560px) --- */
@media (max-width: 560px) {
  .hero {
    padding: 40px 16px 32px;
  }
  .hero-subtitle {
    font-size: 15px;
    br { display: none; }
  }
  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .filter-tab {
    padding: 6px 12px;
    font-size: 12.5px;
  }
  .tab-count {
    display: none;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card-body {
    padding: 16px 18px 12px;
  }
  .card-footer {
    padding: 12px 18px 14px;
  }
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal-container {
    border-radius: 20px 20px 0 0;
    max-height: 96vh;
  }
  .modal-image-col {
    border-radius: 20px 20px 0 0;
    min-height: 180px;
    padding: 16px;
  }
  .modal-image-wrap img {
    max-height: 130px;
  }
  .modal-info-col {
    padding: 16px 16px 12px;
  }
  .modal-title {
    font-size: 17px;
  }
  .modal-desc {
    font-size: 13px;
  }
  .modal-specs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .spec-value {
    font-size: 13px;
  }
  .modal-close {
    top: 12px;
    right: 14px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .related-products-section {
    padding-top: 16px;
  }
  .cta-section {
    padding: 44px 16px;
  }
  .cta-desc {
    font-size: 14px;
  }
}

/* --- Very small phones (up to 375px) --- */
@media (max-width: 375px) {
  .hero-title {
    font-size: clamp(28px, 9vw, 40px);
  }
  .filter-tab {
    padding: 5px 10px;
    font-size: 12px;
  }
  .card-title {
    font-size: 15px;
  }
  .modal-title {
    font-size: 16px;
  }
  .modal-features-list li {
    font-size: 12.5px;
  }
}

/* --- Touch device optimizations --- */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover {
    transform: none;
    box-shadow: var(--shadow-card);
  }
  .card-link:hover { gap: 5px; }
  .btn-inquiry:hover,
  .btn-whatsapp:hover,
  .cta-btn-primary:hover,
  .cta-btn-secondary:hover {
    transform: none;
  }
  /* Larger tap targets */
  .filter-tab {
    min-height: 40px;
  }
  .card-footer {
    padding: 14px 22px 20px;
  }
  .modal-close {
    width: 38px;
    height: 38px;
  }
}

/* --- Prevent horizontal overflow globally.
     overflow:hidden on html breaks position:sticky — use clip instead. --- */
html {
  overflow-x: clip;
}
body {
  overflow-x: clip;
  max-width: 100%;
}

/* --- Safe area support for notched phones --- */
@supports (padding: max(0px)) {
  .filter-bar-wrap {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
  .modal-overlay {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  @media (max-width: 560px) {
    .modal-container {
      padding-bottom: env(safe-area-inset-bottom);
    }
  }
}

/* ================= PREMIUM GLASS STICKY NAVBAR ================= */
.navbar-nav{
    font-size: 14px;
}
.navButton{
    border: transparent;
  padding: 10px 20px;
  border-radius: 24px;
  background: linear-gradient(235deg,rgb(13, 77, 141) 26%, rgb(0, 212, 255) 100%);
  margin-left: 26px;
    transition: tranform 15s ease-in-out;
}


.navButton a{
    color: #fff;
}

.custom-navbar {
   position: absolute;
  display: flex;
  justify-content: center;
  text-align: center;
  align-content: center;
  align-items: center;
  justify-content: space-between;
  left: 0;
  right: 0;
  margin: auto;
  max-width: 990px;

  top: 10px;
  border-radius: 41px;
  padding: 11px 14px;
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(11.4px);
  -webkit-backdrop-filter: blur(11.4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  
    width: 100%;
    background: transparent;
    transition: all 0.4s ease;
    z-index: 999;
}

/* Sticky Active */
.custom-navbar.sticky-active {
    position: fixed;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

/* Logo color change */
.custom-navbar.sticky-active .logo-title {
    color: #0d4d8d !important;
}

/* Nav links default */
.nav-link {
    color: #ffffff !important;
    font-weight: 300;
    transition: 0.3s;
}

/* Nav links sticky */
.custom-navbar.sticky-active .nav-link {
    color: #091E3E !important;
}

/* Hover */
.nav-link:hover {
    color: #2bb1e0 !important;
    border-bottom:1px solid #fff;
}

/* Search button */
.search-btn {
    color: #ffffff;
}

.custom-navbar.sticky-active .search-btn {
    color: #091E3E;
}
.mobile-close-btn {
    display: none;
}
.navbar-brand h1{
    font-size: 30px;
}



.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/ABOUT-HEADER.jpg) center center no-repeat;
    background-size: cover;
}


/* Back-to-Top Button */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 25px;
    z-index: 999;
    display: block;
}

/* WhatsApp Button */
#whatsappButton{
    position: fixed;
    bottom: 78px !important;
    margin-bottom: 12px;
    right: 28px !important;
    z-index: 999;

    width: 40px;
    height: 40px;

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

    border-radius: 50%;

    animation: pulseBtn 2s infinite;
}

/* Ripple Effect */

#whatsappButton::before{
    content:"";
    position:absolute;

    width:100%;
    height:100%;

    border-radius:50%;
    background:#34AD54;

    z-index:-1;
left: 6px;
    top: 4px;
    animation:ripple 2s infinite;
}

#whatsappButton::after{
    animation-delay:1s;
}

/* Ripple Animation */

@keyframes ripple{

0%{
transform:scale(1);
opacity:.6;
}

100%{
transform:scale(2.2);
opacity:0;
}

}

/* Button Slight Pulse */

@keyframes pulseBtn{
0%{transform:scale(1);}
50%{transform:scale(1.05);}
100%{transform:scale(1);}
}



.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}

.navbar-brand img{
    width: 34px;
}

.navbar-brand   .productText{
    font-weight: 900 !important;
}
/* Ripple Effect */

#whatsappButton::before{
  content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #34AD54;
    z-index: -1;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    animation: ripple 2s infinite;
}