:root {
    /* Brand palette from you */
    --c-teal: #5CC5D0;
    /* primary teal */
    --c-yellow: #FECF2D;
    /* bright yellow */
    --c-pink: #F15F77;
    /* pink/red */
    --c-blue: #3D586B;
    /* deep desaturated blue */
    --c-deepteal: #238D96;
    /* deep teal */
    --white: #ffffff;
    --black: #000000;

    /* Soft tints for sections */
    --tint-teal: rgba(92, 197, 208, .08);
    --tint-yellow: rgba(254, 207, 45, .10);
}

body {
    color: var(--c-blue);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

/* Navbar (white with teal links, pink hover) */
.navbar {
    background: var(--white);
    border-bottom: 2px solid var(--c-teal);
}

.navbar-brand img {
    height: 40px;
    object-fit: contain;
}

.navbar .nav-link {
    color: var(--c-blue);
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: var(--c-pink);
}

/* Make logo bigger */
.navbar-brand img {
    height: 60px;
    /* increased from 40px */
    object-fit: contain;
}

/* Adjust navbar so larger logo doesn’t look cramped */
.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Buttons */
.btn-teal {
    background: var(--c-teal);
    border-color: var(--c-teal);
    color: #05343a;
    font-weight: 600;
}

.btn-teal:hover {
    background: var(--c-deepteal);
    border-color: var(--c-deepteal);
    color: #eafcff;
}

.btn-yellow {
    background: var(--c-yellow);
    border-color: var(--c-yellow);
    color: #3b2f00;
    font-weight: 700;
}

.btn-yellow:hover {
    filter: brightness(0.95);
    color: #2a2400;
}

.btn-pink {
    background: var(--c-pink);
    border-color: var(--c-pink);
    color: #fff;
    font-weight: 700;
}

.btn-pink:hover {
    filter: brightness(0.95);
    color: #fff;
}

.btn-outline-light {
    border-width: 2px;
}

/* Hero (gradient teal → deep teal, yellow CTA) */
.hero {
    background: linear-gradient(160deg, var(--c-teal) 0%, var(--c-deepteal) 70%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: -20% -10% auto auto;
    width: 50%;
    height: 140%;
    background: radial-gradient(45% 35% at 70% 30%, rgba(255, 255, 255, .18), transparent 60%);
    transform: rotate(-10deg);
    pointer-events: none;
}

/* HERO carousel */
.hero-carousel .carousel-item img {
    width: 100%;
    height: 360px;
    /* desktop height */
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .hero-carousel .carousel-item img {
        height: 260px;
    }

    /* tablet/mobile height */
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .7);
}

.hero-carousel .carousel-indicators .active {
    background-color: #fff;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    filter: invert(1);
}

/* Section titles */
.section-title {
    font-weight: 800;
    letter-spacing: .2px;
}

/* Stats (white bg, pink numbers) */
.stat-card {
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 14px;
    background: var(--white);
}

.stat-value {
    color: var(--c-pink);
}

/* Services (light yellow tint + teal icons) */
/* --- SERVICES: visual polish --- */
.services {
    background: var(--tint-teal);
}

#services .nav-pills {
    gap: .75rem;
    flex-wrap: wrap;
}

#services .nav-pills .nav-link {
    border: 1px solid rgba(0, 0, 0, .06);
    color: var(--c-blue);
    background: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: .55rem 1.1rem;
    transition: all .2s ease;
}

#services .nav-pills .nav-link:hover {
    border-color: var(--c-teal);
    transform: translateY(-1px);
}

#services .nav-pills .nav-link.active {
    background: var(--c-teal);
    color: #05343a;
    border-color: var(--c-teal);
    box-shadow: 0 8px 18px rgba(35, 141, 150, .18);
}

/* Service card container */
.service-card {
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(14, 43, 56, 0.10);
}

/* Media area with overlay */
.service-media {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .25) 100%);
    pointer-events: none;
}

/* Text area */
.service-body {
    padding: 1.5rem 1.5rem 1.75rem;
}

.service-title {
    color: var(--c-blue);
    font-weight: 800;
    margin-bottom: .5rem;
}

.service-lead {
    color: #385466;
    line-height: 1.6;
}

/* Feature bullets with icons */
.service-bullets {
    margin: .75rem 0 0;
    padding: 0;
    list-style: none;
}

.service-bullets li {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    color: #496576;
    margin-bottom: .35rem;
}

.service-bullets i {
    color: var(--c-deepteal);
    font-size: 1rem;
    line-height: 1.4;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .service-media {
        height: 240px;
    }
}

.icon-teal {
    color: var(--c-deepteal) !important;
}

.icon-yellow {
    color: var(--c-yellow) !important;
}

.icon-pink {
    color: var(--c-pink) !important;
}

.icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--c-teal);
    border: 2px solid var(--c-teal);
    font-size: 20px;
}

/* About (white bg, blue headings, yellow highlights) */
.highlight {
    background: linear-gradient(transparent 65%, rgba(254, 207, 45, .5) 65%);
}

/* Gallery (very light teal tint) */
.gallery {
    background: var(--tint-teal);
}

.gallery img {
    border-radius: 12px;
}

.contact{
  background: linear-gradient(160deg, var(--c-teal) 0%, var(--c-deepteal) 70%);
  color: var(--white);
}

/* Card + form polish on teal background */
.contact .card{
  border: 0;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(14,43,56,.18);
}

.contact .form-control,
.contact .form-select{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.06);
}

.contact .form-control::placeholder{ color:#6a8896; }

.contact .form-control:focus,
.contact .form-select:focus{
  border-color: var(--c-teal);
  box-shadow: 0 0 0 .25rem rgba(92,197,208,.25);
}

/* Make the small icons and section title pop on teal */
.contact .section-title{ color: #fff; }
.contact .list-unstyled i{ color: var(--c-yellow); }

/* Keep the CTA punchy on teal */
.contact .btn-yellow{
  background: var(--c-yellow);
  border-color: var(--c-yellow);
  color:#2a2400;
}
.contact .btn-yellow:hover{
  filter: brightness(.95);
}

/* Footer (deep blue with yellow links) */
footer {
    background: var(--c-blue);
    color: var(--white);
}

footer a {
    color: var(--c-yellow);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Utilities */
.rounded-14 {
    border-radius: 14px;
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 48px;
        /* slightly smaller on very small screens */
    }
}

/* ——— Clients / Logos ——— */
.clients { background: var(--tint-teal); }

.clients h2 { color: var(--c-blue); }

.clients-subtitle{
  max-width: 720px; margin: 0 auto 1.5rem; color:#648195;
}

/* ==== Auto-scrolling brand strip ==== */
.brand-scroller {
  --speed: 28s;                 /* slower = bigger number */
  position: relative;
  overflow: hidden;
  background: var(--tint-teal);
  padding-block: 2rem;
}

.brand-scroller .mask {
  /* nice fade at the edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brand-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: slide var(--speed) linear infinite;
}

.brand-track:hover { animation-play-state: paused; }

/* Each card keeps your existing style */
.brand-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 20px 22px;
  height: 120px;
  width: 220px;                /* fixed width = consistent speed */
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(14,43,56,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.brand-card:hover {
  transform: translateY(-3px);
  border-color: rgba(35,141,150,.35);
  box-shadow: 0 14px 28px rgba(14,43,56,.12);
}

.brand-logo {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  filter: grayscale(40%) contrast(1.05);
  transition: filter .18s ease;
}
.brand-card:hover .brand-logo { filter: none; }

/* animation */
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* we’ll duplicate content so 50% loops seamlessly */
}

/* Smaller on phones */
@media (max-width: 575.98px) {
  .brand-card { height: 100px; width: 180px; padding: 16px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .brand-track { animation: none; }
}

/* Smooth anchor scroll & reserve space for the sticky navbar */
html {
  scroll-behavior: smooth;
  /* fallback if JS isn't available; adjust the 88px if needed */
  scroll-padding-top: 50px;
}

/* More precise per-section offset (works in all modern browsers) */
section[id] {
  scroll-margin-top: 50px; /* navbar height + a bit of breathing room */
}

#products .card.h-100 {
  display: flex;
  flex-direction: column;
}

#products .card .card-text {
  flex-grow: 1; /* Pushes the button down */
}

#modalFlyAsh .modal-body h6 { color: #3D586B; }
#modalFlyAsh .table th, #modalFlyAsh .table td { font-size: 0.9rem; }

/* ——— Product modal polish ——— */
.product-modal .modal-dialog { max-width: 980px; }
.product-modal .modal-content{
  border: 0;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(14,43,56,.25);
  overflow: hidden;
}

.product-modal .modal-header{
  position: sticky; top: 0; z-index: 2;
  background: #fff;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.product-modal .modal-title{
  display:flex; align-items:center; gap:.6rem;
  font-weight: 800; color: #3D586B;
}
.product-modal .modal-title .badge{
  background: #5CC5D0; color:#05343a; font-weight:700;
}

.product-modal .modal-body{
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(92,197,208,.05), rgba(92,197,208,.02));
}

/* lead blocks */
.product-modal .lead-block{
  background:#fff; border:1px solid rgba(0,0,0,.06);
  border-radius:14px; padding:1rem 1.1rem; margin-bottom:1rem;
  box-shadow: 0 8px 22px rgba(14,43,56,.06);
}

.product-modal h6{
  font-weight:800; color:#3D586B; margin:.25rem 0 .5rem;
}

/* bullets with teal markers */
.product-modal .bullet-list{ padding-left:0; margin:0; list-style:none; }
.product-modal .bullet-list li{
  display:flex; gap:.6rem; align-items:flex-start;
  padding:.25rem 0;
}
.product-modal .bullet-dot{
  width:.7rem; height:.7rem; border-radius:50%;
  background:#238D96; flex:0 0 .7rem; margin-top:.45rem;
}

/* two-column info blocks on md+ */
@media (min-width: 768px){
  .product-modal .columns{ display:grid; grid-template-columns: 1fr 1fr; gap:1rem; }
}

/* specs table */
.spec-table{
  background:#fff; border:1px solid rgba(0,0,0,.06); border-radius:14px; overflow:auto;
  box-shadow: 0 8px 22px rgba(14,43,56,.06); margin-top:1rem;
}
.spec-table table{ width:100%; min-width:780px; border-collapse:separate; border-spacing:0; }
.spec-table thead th{
  position: sticky; top: 0; z-index:1;
  background:#f4fbfc; color:#0f3f4a; font-weight:800;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.spec-table th, .spec-table td{ padding:.65rem .75rem; font-size:.95rem; }
.spec-table tbody tr:nth-child(odd){ background:#fafcfd; }
.spec-table tbody tr:hover{ background:#f2fbfd; }

/* sticky first column on lg+ */
@media (min-width: 992px){
  .spec-table .sticky-col{
    position: sticky; left: 0; background: inherit; z-index: 2;
    border-right:1px solid rgba(0,0,0,.06);
  }
}

/* little helper notes under table */
.product-modal .note{
  font-size:.875rem; color:#5a7686; margin-top:.5rem;
}

/* footer link button */
.product-modal .modal-footer{
  border-top:1px solid rgba(0,0,0,.06);
}
.product-modal .btn-site{
  background:#5CC5D0; border-color:#5CC5D0; color:#05343a; font-weight:700;
}
.product-modal .btn-site:hover{ background:#238D96; border-color:#238D96; color:#eafcff; }

/* Make the Applications list use columns on md+ screens */
.product-modal .lead-block h6 { margin-bottom: .6rem; }

.product-modal .bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* teal dot stays as-is */
.product-modal .bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: .45rem 0;
}

.product-modal .bullet-list .bullet-dot{
  width: .8rem; height: .8rem; border-radius: 50%;
  background: var(--c-deepteal);
  margin-top: .45rem;
  flex: 0 0 .8rem;
}

/* 2 columns on wider screens to avoid the big blank area */
@media (min-width: 768px) {
  .product-modal .lead-block ul.bullet-list {
    columns: 2;                 /* try 3 if you like */
    column-gap: 2.25rem;
  }
  .product-modal .bullet-list li { break-inside: avoid; }
}

/* (Optional) tighten the modal header so there’s no empty space */
.product-modal .modal-header { padding: .75rem 1rem; }
.product-modal .modal-title { margin: 0; display: flex; align-items: center; gap: .5rem; }
.product-modal .modal-title .badge { background: var(--c-teal); color: #05343a; font-weight: 700; }

/* ------------ Better pills for product-modal-ultra ------------ */
.product-modal .nav-pills {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;                 /* wrap on wide screens */
  margin-bottom: 1rem;
}

/* Scrollable row on narrow screens */
@media (max-width: 640px){
  .product-modal .nav-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .product-modal .nav-pills::-webkit-scrollbar{ display:none; }
}

/* Base pill */
.product-modal .nav-pills .nav-link{
  border-radius: 999px;
  padding: .55rem 1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-blue);
  background: #f6fbfc;                 /* soft chip */
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 1px 2px rgba(14,43,56,.04);
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

/* Hover / focus */
.product-modal .nav-pills .nav-link:hover,
.product-modal .nav-pills .nav-link:focus{
  border-color: var(--c-teal);
  box-shadow: 0 6px 14px rgba(14,43,56,.10);
  transform: translateY(-1px);
  background: #eef9fb;
}

/* Active pill */
.product-modal .nav-pills .nav-link.active{
  color: #05343a;
  border-color: var(--c-teal);
  background: linear-gradient(180deg, #e9fbff, #d9f6fb);
  box-shadow: 0 10px 22px rgba(35,141,150,.20);
}

/* Optional: give the whole pills row a subtle “tray” look */
.product-modal .pills-tray{
  background: linear-gradient(180deg, rgba(92,197,208,.07), rgba(92,197,208,.04));
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 14px;
  padding: .5rem;
}


/* Respect the CSS max width you set for the dialog */
.product-modal .modal-dialog{ max-width:980px; }

/* Make the “columns” layout kick in a tad later so cards don’t look cramped */
@media (min-width: 992px){
  .product-modal .columns{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
}

/* ——— Product modal • hero header ——— */
.product-modal .brand-hero{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  padding: 1rem 1.1rem;
  margin: 1rem;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(92,197,208,.06), rgba(92,197,208,.03));
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 28px rgba(14,43,56,.08);
}

/* media card (image) */
.product-modal .brand-media{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  box-shadow: 0 10px 24px rgba(14,43,56,.10);
  display:flex; align-items:center; justify-content:center;
}

.product-modal .brand-media img{
  width:100%;
  height: 220px;          /* nice, legible size */
  border-radius: 10px;
}

/* text block */
.product-modal .brand-meta{ display:flex; flex-direction:column; justify-content:center; }
.product-modal .brand-title{
  margin: .2rem 0 .25rem;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing:.2px;
  color:#3D586B;
}
.product-modal .brand-sub{
  font-weight:700;
  color:#1e6b74;
  margin-bottom:.75rem;
  font-size: 1.2rem;
}
.product-modal .brand-sub .muted{ color:#5a7686; font-weight:600; }

/* quick highlights */
.product-modal .brand-highlights{ margin:0; padding-left:1.1rem; color:#39525f; }
.product-modal .brand-highlights li{ margin:.2rem 0; }

/* pills tray spacing after hero */
.product-modal .pills-tray{ margin-top:.75rem; }

/* RESPONSIVE: stack on small screens */
@media (max-width: 991.98px){
  .product-modal .brand-hero{
    grid-template-columns: 1fr;
    padding: .85rem;
  }
  .product-modal .brand-media img{ height: 200px; }
  .product-modal .brand-title{ font-size: 1.35rem; }
}

/* Optional: make the nav-pills feel consistent with the hero */
.product-modal .nav-pills .nav-link{
  background:#f6fbfc;
  border:1px solid rgba(0,0,0,.06);
  color:#3D586B;
  font-weight:700;
  border-radius:999px;
  padding:.55rem 1rem;
  white-space:nowrap;
}
.product-modal .nav-pills .nav-link.active{
  background:#5CC5D0;
  color:#05343a;
  border-color:#5CC5D0;
  box-shadow: 0 6px 16px rgba(92,197,208,.35);
}

