@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --color-primary: #2A6B4F;
    --color-primary-hover: #2A6B4F;
    --color-secondary: #101B13;
    --color-secondary-hover: #101B13;
    --color-white: #fff;
    --color-black: #000000;
    --color-gray: #7c7c7c;
    --green-1: #BBDFCA;
    --green-2: #F1F8F4;
    --green-3: #193B2E;
    --text-primary: #000000;
    --text-secondary: #de2336;
    --button-bg-1: #E6E6E6;
    --section-border-radius: 8rem;
    --brand: #2A6A4F;
    --brand-2: #4e9a72;
    --ink: #101B13;
    --ink-muted: #4e5d52;
    --panel: #ffffff;
    --lofi: #dbe7e1;
    --lofi-2: #cfe9db;
    --cs-green-1: #e7f3ec;
    --cs-green-2: #cfe7da;
    --cs-green-3: #b9dbc8;
    --cs-green-4: #8fc7a8;
    --cs-brand: #2f8a5f;
    --cs-accent: #0d3d2a;
    --cs-text: #0b1c13;
    --border: #eef2f7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
}

a {
    text-decoration: none;
}

.navbar-top {
    background-color: #ffffff;
    padding: 10px 20px;
}

.navbar-main {
    background-color: var(--color-secondary);
    color: #ffffff;
}

.navbar-main a.nav-link {
    color: #ffffff !important;
    margin-right: 20px;
}

.request-quote-title {
    color: var(--color-primary);
    font-size: 1.8rem;
    font-weight: 500;
    padding: 10px 20px;
}

.request-quote-btn {
    background-color: #2b6d57;
    color: #fff;
    border: none;
}

.auth-sign-in {
    font-size: 13px;
    color: var(--color-primary);
}

.request-quote-btn {
    background-color: var(--color-primary);
    font-size: 14px;
    padding: 10px 20px;
    font-weight: 600;
}

.request-quote-btn:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

.select2-container--bootstrap-5 .select2-selection--multiple {
    min-height: calc(2.25rem + 2px);
}

.nav-link,
.nav-mobile {
    font-size: 14px;
    font-weight: 500;
}

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

.nav-crown {
    position: absolute;
    margin-top: -5px;
    color: #FFBF00;
}

/* --- Top bar baseline --- */
.navbar-top {
    min-height: 70px;
}

.navbar-top .container {
    gap: 16px;
}

/* The search slot that lives in the top bar */
/* Make the search slot expand between logo and actions */
#navSearchSlot {
    flex: 1 1 auto;
    min-width: 0;
    /* allows input to actually shrink if needed */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: opacity .25s ease;
}

/* If you previously forced a fixed/clamped width, remove it */
body.header-fixed #navSearchSlot {
    width: auto;
    opacity: 1;
    z-index: 1;
}

#mainSearchForm {
    width: 100%;
}

#navSearchSlot .search-input {
    padding: 10px 20px;
    padding-right: 3rem;
    font-size: 16px;
    box-shadow: 0 0 5px #b1b1b1;
}

#navSearchSlot .search-input:focus {
    border-color: #198754;
}

.search-button {
    top: 50%;
    transform: translateY(-50%);
    /* end-0 from Bootstrap keeps it flush right inside the input */
}

/* Hide the big search in navbar on < lg (as you already had) */
@media (max-width: 991.98px) {
    #navSearchSlot {
        display: none !important;
    }
}

/* Slide-from-right modal */
.modal.slide-right .modal-dialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    height: auto;
    max-width: 420px;
    /* panel width on larger phones */
    width: 100%;
    transform: translateX(100%);
    /* The panel is position:fixed, so it sits outside .modal's own scroll box: a form
       taller than the viewport was simply cut off with no way to reach the rest of it.
       It has to do its own scrolling (the >=992px block below already did this). */
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal.fade.slide-right .modal-dialog {
    transition: transform .35s ease-out;
}

.modal.fade.slide-right.show .modal-dialog {
    transform: translateX(0);
}

/* Full height content */
.modal.slide-right .modal-content {
    height: auto;
    border-radius: 0;
}

.modal.slide-right .modal-content h5 {
    font-size: 18px;
    color: var(--color-primary);
}

.modal.slide-right .modal-content h6 {
    font-size: 16px;
    color: var(--cs-brand);
}

.modal.slide-right .modal-content svg {
    width: 250px;
}

/* highlight class used by your custom widget */
.bold-text {
    font-weight: 700;
}

/* make dropdown look nice with Bootstrap */
.ui-autocomplete {
    z-index: 2000;
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100% !important;
    margin-top: 20px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.ui-menu .ui-menu-item-wrapper {
    white-space: normal;
    font-size: 18px;
}

.list-group-item a.srch-seemore-btn {
    float: right;
    font-size: .85rem;
}

.ui-notfound {
    z-index: 2000;
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100% !important;
    margin-top: 20px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    top: 42px;
    left: 0;
}

.ui-notfound li {
    font-size: 20px;
    text-align: left;
}

.ui-notfound li a {
    text-decoration: underline;
    color: var(--color-primary);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hero-section {
    /* padding: 140px 0 70px 0; */
    background: #DCEFE3;
    background: radial-gradient(circle, rgba(220, 239, 227, 1) 46%, rgba(241, 248, 244, 1) 100%);
}

.hero-section h1 {
    font-size: 50px;
    font-weight: 400;
}

.hero-section h4 {
    font-size: 20px;
    font-weight: 500;
}

.search-input {
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 25px;
    box-shadow: 0 0 5px #b1b1b1;
}

input.search-input::placeholder {
    font-weight: 300;
    font-size: 16px;
    color: #888;
}

.search-button {
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.search-button i {
    font-size: 23px;
}

.search-button1 {
    width: 60px;
    height: 60px;
}

.ui-menu .ui-menu-item {
    padding: 5px;
    text-align: left;
    line-height: 1.5;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: none;
    background: none;
    font-weight: normal;
    color: #000000;
    /* width: 100%; */
}

li:has(.ui-state-active) {
    background-color: var(--cs-green-3);
    /* Example: light cyan background */
    border-left: 4px solid var(--cs-green-4);
    /* Example: teal left border */
    font-weight: bold;
}

.trending-categories span {
    font-size: 14px;
}

.hero-footer a,
.hero-footer span {
    font-size: 16px;
}

.dropdown-menu {
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 200px;
}

.dropdown-menu .dropdown-item {
    color: #333;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--green-2);
}

.sub-dropdown {
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 180px;
}

.dropdown-submenu {
    position: relative;
}

/* Smooth rotation transition */
.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

/* Rotate icon when parent .dropdown is open */
.dropdown-menu.show .dropdown-item:hover.dropdown-toggle::after {
    transform: rotate(-90deg);
}

@media (min-width: 992px) {
    .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .dropdown-submenu:hover>.sub-dropdown {
        display: block;
        position: absolute;
        left: 100%;
        top: 0;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
        font-weight: 600;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 0.5rem 0;
    }

    .dropdown-menu,
    .sub-dropdown {
        width: 100%;
        border: none;
        box-shadow: none;
        background-color: #f8f9fa;
    }

    .sub-dropdown {
        margin-left: 1rem;
    }

    .dropdown-menu .dropdown-item {
        font-size: 0.85rem;
        padding: 0.4rem 1.5rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.95rem;
        padding: 0.4rem 1rem;
    }

    .navbar-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }
}

@media (max-width: 576px) {
    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }

    .dropdown-menu .dropdown-item {
        font-size: 0.8rem;
    }

    .sub-dropdown {
        margin-left: 0.75rem;
    }
}

.testimonial-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 1.5rem;
    border-radius: 0 0 2rem 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonial-text {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.carousel-inner .carousel-item>.row {
    display: flex;
}

/* Product Section */
.section-title {
    font-size: 2.5rem;
    font-weight: normal;
}

.section-sub-title {
    font-size: 14px;
    font-weight: normal;
}

.nav-pills .nav-link.active {
    background-color: var(--green-1);
    color: #000;
}

.nav-pills .nav-link {
    border-radius: 0;
    border-bottom-right-radius: 1rem;
    margin-right: 0.5rem;
    color: #B3B3B3;
    box-shadow: 0px 2px 3px #c8c8c8;
    font-size: 14px;
    padding: 10px 30px;
    background-color: #fff;
}

.nav-pills-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.nav-pills-wrapper::-webkit-scrollbar {
    display: none;
    /* Optional: hide scrollbar */
}

.scroll-btn {
    z-index: 1;
    background-color: #fff;
    font-size: 1.2rem;
    padding: 0;
    height: auto;
    padding: 20px 0;
    border-radius: 0;
    box-shadow: 0px 0px 2px #ccc;
}

.product-card {
    border-radius: 0;
    border-bottom-right-radius: 4rem;
    border: 1px solid #F1F8F4;
    box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.product-card:hover {
    box-shadow: 0 0 4px #ccc;
}

.product-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.nav-divider span {
    width: 3px;
    display: block;
    background-color: var(--green-1);
    height: 30px;
    margin: auto;
    transform: translateY(9px);
}

.product-card img {
    object-fit: cover;
    background-color: #F1F8F4;
    border-radius: 0;
}

.product-card-cas {
    font-size: 20px;
}

.product-card-name {
    font-size: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3em;
    /* approx 2 lines */
    line-height: 1.5;
}

.product-card a {
    color: #000;
}

.btn-request {
    background-color: var(--color-primary);
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    width: fit-content;
    text-transform: uppercase;
}

.btn-request:hover {
    background-color: #174028;
    color: #fff;
}

.featured-products-section .section-title {
    color: #FFBF00;
}

.featured-products-section .nav-tabs .nav-item .nav-link.active {
    color: #fff !important;
    background-color: transparent;
}

.featured-products-section .nav-pills .nav-link {
    box-shadow: none;
}

.featured-products-section .nav-tabs .nav-item .nav-link {
    background-color: transparent !important;
}

.products-section .nav-tabs {
    border: none;
    --bs-nav-tabs-border-width: 0;
}

.products-section .nav-tabs .nav-item .nav-link {
    color: var(--green-1);
    font-weight: 500;
    font-size: 20px;
    background-color: #fff;
}

.products-section .nav-tabs .nav-item .nav-link.active {
    color: var(--color-primary);
}

.explore-product-btn {
    color: var(--color-primary);
    font-weight: 600;
    border-color: var(--color-primary);
    --bs-btn-border-width: 2px;
    padding: 10px 20px;
    background-color: #fff;
    font-size: 14px;
    text-transform: uppercase;
}

.explore-product-btn:hover {
    color: #fff;
    border-color: var(--color-primary);
    background-color: var(--color-primary);
}

.btn-outline-default {
    color: #fff;
    border-color: #fff;
    background-color: transparent;
}

.featured-card {
    border: 2px solid var(--bs-warning);
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.5);
    /* gold glow */
}

.toggle-pills .btn {
    border-radius: 50px;
    font-weight: 500;
    padding: 6px 18px;
}

.toggle-pills .btn i {
    margin-right: 5px;
}

.contact-hero h1 {
    font-size: 2rem;
}

/* Services Section */
.featured-products-section,
.services-section {
    background-color: var(--color-secondary);
    border-bottom-right-radius: var(--section-border-radius);
}

.services-section .card {
    border-radius: 0;
    border-bottom-right-radius: 3rem;
    background: #F1F8F4;
    background: linear-gradient(180deg, rgba(241, 248, 244, 1) 0%, rgba(220, 239, 227, 1) 61%);
    /* box-shadow: 2px 2px 4px #ccc !important; */
}

.services-section .card h5 {
    color: var(--color-primary);
    font-size: 16px;
}

.services-section ul li {
    font-size: 14px;
    line-height: 1.6;
}

.service-desc-txt {
    font-size: 27px;
}

.service-rqt-btn {
    font-size: 16px;
    background-color: transparent;
    padding: 15px 25px;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
}

.service-rqt-btn:hover {
    background-color: #fff;
    color: #000;
    box-shadow: 0 0 10px #fff;
}

.services-section img {
    width: 220px;
}

.statement-text {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    line-height: 2.2rem;
}

.dynamic-statement {
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 3px;
    overflow: hidden;
    display: inline-block;
    animation: fadeIn 1s ease-in;
    height: 100px;
}

.fs-20 {
    font-size: 16px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fs-18 {
    font-size: 18px;
}

.fs-16 {
    font-size: 16px;
}

/* Trusted Supplier Section */
.trusted-suppliers-section {}
/* Marketplace section */
.market-place-activity{

}
/* .market-place-activity .card{
    padding: 15px;
    border-radius: 20px;
    text-align: left;
}
.market-place-activity .card-header{
    background-color: #fff;
    border: none;
    color: var(--color-primary);
    font-size: 18px;
}
.market-place-activity .list-group-item{
    border: none;
} */
 /* .market-place-activity{
  background: radial-gradient(1200px 400px at 50% -20%, rgba(42,107,79,.10), transparent 60%),
              linear-gradient(180deg, rgba(245,247,250,.9), rgba(245,247,250,1));
} */

/* Card */
.cs-card{
  background:#fff;
  border:1px solid rgba(20, 83, 59, .12);
  border-radius: 0;
    border-bottom-right-radius: 3rem;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(15, 23, 42, .06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cs-card:hover{
  transform:translateY(-2px);
  border-color:rgba(42,107,79,.28);
  box-shadow:0 14px 34px rgba(15, 23, 42, .10);
}

.cs-card-head{
  padding:16px 16px 12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.cs-icon-chip{
  width:40px; height:40px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:12px;
  background:rgba(42,107,79,.10);
  color:#2A6B4F;
  border:1px solid rgba(42,107,79,.14);
}
.cs-card-title{ font-weight:700; color:#0f172a; line-height:1.2; }
.cs-card-sub{ font-size:12px; color:#64748b; margin-top:2px; }

.cs-chip{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(15, 23, 42, .04);
  color:#334155;
  border:1px solid rgba(15, 23, 42, .08);
  white-space:nowrap;
}
.cs-chip-live{
  background:rgba(34,197,94,.10);
  border-color:rgba(34,197,94,.18);
  color:#166534;
}
.cs-dot{
  width:8px; height:8px; border-radius:50%;
  background:#22c55e;
  display:inline-block;
  margin-right:6px;
  box-shadow:0 0 0 4px rgba(34,197,94,.18);
}

.cs-live{
  font-weight:600;
  color:#16a34a;
}

/* List items */
.cs-list{ padding:6px 0 10px; }
.cs-item{
  padding:12px 16px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  border-top:1px solid rgba(15, 23, 42, .06);
  background:#fff;
}
.cs-item:first-child{ border-top:1px solid rgba(15, 23, 42, .06); }

.cs-item-dot{
  width:10px; height:10px; border-radius:50%;
  background:rgba(42,107,79,.35);
  margin-top:6px;
  flex:0 0 auto;
}
.cs-item-body{ min-width:0; }
.cs-item-title{
  font-weight:600;
  color:#0f172a;
  font-size:14px;
  line-height:1.25;
}
.cs-item-meta{
  font-size:12px;
  color:#64748b;
  margin-top:3px;
}

/* Clickable list */
.cs-item-link{
  text-decoration:none;
  color:inherit;
  justify-content:space-between;
  align-items:center;
  transition:background .15s ease;
}
.cs-item-link:hover{
  background:rgba(42,107,79,.04);
}
.cs-chevron{ color:#94a3b8; }

/* Trending pills */
.cs-chips{ display:flex; flex-wrap:wrap; gap:10px; }
.cs-pill{
  border:1px solid rgba(42,107,79,.16);
  background:rgba(42,107,79,.06);
  color:#0f172a;
  border-radius:999px;
  padding:8px 10px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
}
.cs-pill b{
  background:#fff;
  border:1px solid rgba(15, 23, 42, .08);
  border-radius:999px;
  padding:2px 8px;
  font-weight:700;
  color:#0f172a;
}
.cs-pill:hover{
  transform:translateY(-1px);
  background:rgba(42,107,79,.10);
  border-color:rgba(42,107,79,.26);
}

/* Footer link */
.cs-card-foot{
  padding:10px 16px 14px;
  border-top:1px solid rgba(15, 23, 42, .06);
  display:flex;
  justify-content:flex-end;
}
.cs-link{
  font-size:13px;
  font-weight:600;
  color:#2A6B4F;
  text-decoration:none;
}
.cs-link:hover{ text-decoration:underline; }
.cs-dot-live{
  position: relative;
  background:#22c55e;
}

/* Pulse ring */
.cs-dot-live::after{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:50%;
  background:rgba(34,197,94,.35);
  animation: cs-pulse 1.6s ease-out infinite;
}

@keyframes cs-pulse{
  0%{
    transform:scale(.4);
    opacity:.8;
  }
  70%{
    transform:scale(1.6);
    opacity:0;
  }
  100%{
    opacity:0;
  }
}
.fire-pulse {
  color: #ff4500;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.session-hourglass {
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.cs-list .product-card{
    padding: 5px;
}

/* How works section */
.how-works-section h3 {
    font-size: 20rem;
}

#visual-0 img {
    width: 50%;
}

#visual-1 img,
#visual-2 img,
#visual-3 img {
    height: 350px;
}

/* Steps */
/* ===== Molecule Chain ===== */
.molecule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    /* optional: consistent spacing */
    margin: 56px 0 20px;
    position: relative;
    height: 150px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    position: relative;
}

.atom {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #cfe9db;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
    box-shadow: 0 0 0 rgba(42, 106, 79, .3);
}

.atom svg {
    width: 38px;
    height: 38px;
    fill: var(--brand);
    pointer-events: none;
}

/* hide labels by default, show only for the active atom */
.step .atom-text {
    display: none;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    color: var(--brand);
    white-space: nowrap;
    padding-top: 10px;
    position: absolute;
    bottom: -10px;
    height: 0;
}

/* when atom is active, reveal the label under it */
.step .atom.active+.atom-text {
    display: block;
    color: var(--color-primary);
    /* match active atom theme */
}

.atom.active {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    transform: scale(1.1);
    box-shadow: 0 0 18px rgba(42, 106, 79, .65);
    animation: atomPulse 2s infinite;
}

.atom.active svg {
    fill: #fff;
}

.atom:hover {
    transform: translateY(-4px) scale(1.12);
    box-shadow: 0 10px 24px rgba(42, 106, 79, .45);
}

@keyframes atomPulse {
    0% {
        box-shadow: 0 0 14px rgba(42, 106, 79, .5);
    }

    50% {
        box-shadow: 0 0 26px rgba(42, 106, 79, .9);
    }

    100% {
        box-shadow: 0 0 14px rgba(42, 106, 79, .5);
    }
}

/* bonds stay centered between steps */
.bond {
    width: 88px;
    height: 6px;
    margin: 0 8px;
    border-radius: 4px;
    overflow: hidden;
    align-self: center;
    position: relative;
    background: #dcefe5;
}

.bond.active {
    background: linear-gradient(90deg, var(--brand), #6cb38e, var(--brand));
    background-size: 200% 200%;
    animation: bondFlow 2s linear infinite;
}

@keyframes bondFlow {
    0% {
        background-position: 0% 50%
    }

    100% {
        background-position: 100% 50%
    }
}


/* particle traveling */
.particle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff, var(--brand));
    box-shadow: 0 0 10px rgba(42, 106, 79, .9);
    opacity: 0;
    z-index: 1;
}

/* ===== Visual Stage ===== */
.stage {
    height: 400px;
}

.visual {
    display: none;
    background: var(--panel);
    /* border: 1px solid var(--lofi-2);
    border-radius: 20px; */
    /* box-shadow: 0 8px 22px rgba(0, 0, 0, .06); */
    padding: 22px;
    position: relative;
    overflow: hidden;
}

.visual.active {
    display: block;
    animation: fadeInUp .7s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ===== Step 1: Search — typing overlay ===== */
.search-typing {
    position: absolute;
    left: 82px;
    top: 36px;
    /* aligned inside search input outline */
    font: 600 15px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #2b3b32;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #2b3b32;
    width: 0ch;
    /* animated */
}

.visual.active .search-typing.type {
    animation: typing 1.7s steps(8, end) .2s forwards, caret .9s step-end infinite;
}

@keyframes typing {
    from {
        width: 0ch
    }

    to {
        width: 8ch
    }
}

/* “Acetone” = 8 chars */
@keyframes caret {
    50% {
        border-color: transparent
    }
}

/* ===== Step 2: RFQ form — sequential field highlights ===== */
.rfq-glow {
    stroke: var(--brand);
    stroke-width: 2;
    fill: none;
    filter: url(#rfqGlow);
    opacity: 0;
}

.visual.active .rfq-field-1 {
    animation: fieldOn .6s ease .2s forwards;
}

.visual.active .rfq-field-2 {
    animation: fieldOn .6s ease .55s forwards;
}

.visual.active .rfq-field-3 {
    animation: fieldOn .6s ease .9s forwards;
}

.visual.active .rfq-submit {
    animation: fieldOn .6s ease 1.25s forwards, submitPulse 1.6s ease-in-out 1.4s 2;
}

@keyframes fieldOn {
    to {
        opacity: 1
    }
}

@keyframes submitPulse {
    0% {
        filter: drop-shadow(0 0 0 rgba(42, 106, 79, .0));
    }

    50% {
        filter: drop-shadow(0 0 10px rgba(42, 106, 79, .55));
    }

    100% {
        filter: drop-shadow(0 0 0 rgba(42, 106, 79, .0));
    }
}

/* ===== Step 3: Inbox — new mail row slides in + pulse ===== */
.mail-row {
    opacity: .55
}

.mail-new {
    opacity: 0;
    transform: translateY(10px);
}

.visual.active .mail-new {
    animation: rowIn .6s ease .25s forwards, rowPulse 1.6s ease .9s 2;
}

@keyframes rowIn {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes rowPulse {
    0% {
        fill: #e9f6ef
    }

    50% {
        fill: #bfe7d3
    }

    100% {
        fill: #e9f6ef
    }
}

/* ===== Step 4: Success — draw checkmark ===== */
.check-stroke {
    stroke: var(--brand);
    stroke-width: 4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
}

.visual.active .check-stroke {
    animation: draw 1s ease .2s forwards, successPop .4s ease 1.1s forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0
    }
}

@keyframes successPop {
    0% {
        transform: scale(1)
    }

    60% {
        transform: scale(1.08)
    }

    100% {
        transform: scale(1)
    }
}

.success-glow {
    opacity: 0;
}

.visual.active .success-glow {
    animation: fieldOn .5s ease .9s forwards;
}

/* helper lofi strokes */
.lofi-stroke {
    stroke: #9fb7aa;
    stroke-width: 2;
    fill: #f8fcfa;
}

.lofi-stroke-strong {
    stroke: #7ea291;
    stroke-width: 2.2;
    fill: #f4fbf7;
}

/* reduce selection highlight flash */
*::selection {
    background: #cfe9db;
}

/* Why Chemshopy section */
.wcshopy-lt {
    background-color: var(--green-2);
    color: var(--color-primary);
    font-size: 22px;
}

.wcshopy-lt img {
    width: 500px;
    height: 500px;
}

.wcshopy-rt-card {
    width: 90%;
    padding: 30px;
    border-bottom-right-radius: 3rem;
    box-shadow: 1px 3px 5px #ccc;
    position: relative;
    overflow: hidden;
    transition: width 0.5s linear;
    background-color: #fff;
}

.wcshopy-rt-slider-container {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 10px;
}

.wcshopy-rt-slider {
    display: flex;
    width: max-content;
    transition: transform 0.5s ease-in-out;
    gap: 25px;
}

.wcshopy-rt-slide {
    border-bottom-right-radius: 3rem;
    box-shadow: 1px 3px 5px #ccc;
    background-color: #fff;
    width: calc(100vw - 25px);
    flex-shrink: 0;
    padding: 1rem;
    box-sizing: border-box;
    align-content: center;
}

.wcshopy-rt-title {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1rem;
}

.wcshopy-rt-text {
    font-size: 14px;
    color: #444;
}

.border-anim {
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 0%;
    background-color: var(--color-primary);
}

.wcshopy-rt-card.active {
    width: 100%;
}

.wcshopy-rt-card.active .wcshopy-rt-title {
    font-size: 18px;
}

.wcshopy-rt-card.active .wcshopy-rt-text {
    font-size: 16px;
}

.wcshopy-rt-card.active .wcshopy-rt-title,
.wcshopy-rt-card.active .wcshopy-rt-text {
    font-weight: 600;
}

.text-success {
    color: var(--color-primary) !important;
}
/* Custom styles for the dark, high-contrast look */
.impact-section {
    background-color: #000;
    position: relative;
    overflow: hidden;
    color: #fff;
    padding-top: 5rem;
    padding-bottom: 5rem;
    font-family: 'Montserrat', sans-serif;
    border-bottom-right-radius: 3rem;
}

/* Styles for the Three.js Canvas to serve as the background */
#chemshopy-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    opacity: 0.8;
}

.impact-section .content-container {
    position: relative;
    z-index: 1;
}
/* Product Details Page */
/* Request-quote modal shell — mirrors the redesign layout's .rq-panel so the
   product-detail quote form sits in the same container as the general one.
   Literal hex rather than the redesign CSS vars (--bg / --line), which are not
   defined on pages that load main.css outside the redesign layout. Scoped to
   .cs-quote-modal so it only reshapes this modal, leaving the plain .slide-right
   rules above untouched for anything else that uses them. */
.cs-quote-modal .modal-dialog {
    max-width: 560px;
}

.cs-quote-modal .modal-content {
    background-color: #F7FBF8;
}

.cs-quote-modal .modal-header {
    padding: 20px 28px;
    border-bottom: 1px solid #DCE7DF !important;
}

.cs-quote-modal .modal-header h4 {
    font-size: 20px;
    margin: 0;
}

.cs-quote-modal .modal-body {
    padding: 24px 28px 44px;
}

/* Submit button: Bootstrap's .btn-primary blue is left alone site-wide, but inside
   this modal it has to read as the redesign's green (--green / --green-dark).
   Bootstrap 5.3 drives .btn from --bs-btn-* vars, so retinting those covers the
   hover/active/disabled states; the plain declarations below are the fallback for
   any older Bootstrap that still hard-codes the colours. */
.cs-quote-modal .btn-primary {
    --bs-btn-bg: #1B7A54;
    --bs-btn-border-color: #1B7A54;
    --bs-btn-hover-bg: #136243;
    --bs-btn-hover-border-color: #136243;
    --bs-btn-active-bg: #136243;
    --bs-btn-active-border-color: #136243;
    --bs-btn-disabled-bg: #1B7A54;
    --bs-btn-disabled-border-color: #1B7A54;
    --bs-btn-focus-shadow-rgb: 27, 122, 84;
    background-color: #1B7A54;
    border-color: #1B7A54;
    font-weight: 600;
}

.cs-quote-modal .btn-primary:hover,
.cs-quote-modal .btn-primary:focus,
.cs-quote-modal .btn-primary:active {
    background-color: #136243;
    border-color: #136243;
}

.request-quote-product-details {
    border: none;
    padding: 30px 15px 50px 30px;
    background-color: #F1F8F4;
    border-bottom-right-radius: 3rem
}

.request-quote-product-details h3 {
    font-size: 22px;
    font-weight: 600;
}

.request-quote-product-details p {
    font-size: 22px;
}

.request-quote-product-details img {
    margin-top: -3rem;
    border: 1px solid #f0eeee;
}

/* --- Desktop stability fixes --- */
@media (min-width: 992px) {

    /* Don't let layout change size on active */
    .wcshopy-rt-card {
        transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
        will-change: transform;
    }

    /* Keep width constant on desktop */
    .wcshopy-rt-card.active {
        width: 90%;
        /* same as base */
        transform: scale(1.02);
        /* visual emphasis without reflow */
        box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    }

    /* Neutralize font jumps on desktop (they cause reflow) */
    .wcshopy-rt-card.active .wcshopy-rt-title {
        font-size: 18px;
    }

    .wcshopy-rt-card.active .wcshopy-rt-text {
        font-size: 16px;
    }

    .serv-details-ul.collapse {
        display: block;
        height: auto !important;
        visibility: visible;
        font-size: 14px;
    }

    .serv-details-ul.collapsing {
        height: auto !important;
        transition: none;
        /* avoid jump when resizing across breakpoints */
    }

    .toggle-details {
        display: none !important;
    }
}

/* Keep your bigger typography on mobile if you like */
@media (max-width: 991.98px) {
    .wcshopy-rt-card.active {
        width: calc(100vw - 25px);
    }

    /* same as slide width */
    .wcshopy-rt-card.active .wcshopy-rt-title {
        font-size: 24px;
    }

    .wcshopy-rt-card.active .wcshopy-rt-text {
        font-size: 22px;
    }

    .toggle-details {
        color: #000;
        text-decoration: underline;
        font-size: 15px;
    }
}

/* Optional: avoid tiny sub-pixel jumps */
.wcshopy-rt {
    contain: layout paint;
}

.btn-learn-more {
    background-color: var(--color-primary);
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--color-primary);
    text-transform: uppercase;
}

.btn-learn-more-light {
    background-color: transparent;
    padding: 10px 40px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #fff;
}

/* CTA Section */
.cta-section {
    background-color: #101B13;
    border-bottom-right-radius: var(--section-border-radius);
}

.cta-card {
    background-color: var(--green-3);
    border-bottom-right-radius: 4rem;
    padding: 2rem 2rem 2rem;
}

.cta-title {
    font-size: 1.25rem;
    padding-bottom: 10px;
    text-align: left;
}

.cta-text {
    font-size: 16px;
    padding-bottom: 10px;
    text-align: left;
}

.cta-btn1 {
    border-radius: 5px;
    font-size: 14px;
    padding: 10px 20px;
    color: #fff;
    font-weight: 500;
    background-color: var(--color-primary);
    float: right;
}

.cta-btn1:hover {
    background-color: var(--color-primary);
}

/* Footer */
.footer ul li {
    padding-bottom: 24px;
}

.footer ul li a {
    font-size: 16px;
}

#toTopBtn {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 999;
    display: none;
    border-radius: 50%;
    padding: 12px 16px;
    font-size: 20px;
}

/* .social-brands i {
    color: #828282;
    font-size: 30px;
} */
.social-brands a {
    color: #888;
    /* Greyed out */
    font-size: 30px;
    margin: 0 15px;
    transition: all 0.3s ease;
}

/* Hover states */
.social-brands a.facebook:hover {
    color: #1877f2;
    /* Facebook Blue */
    transform: scale(1.2);
}

.social-brands a.linkedin:hover {
    color: #0077b5;
    /* LinkedIn Blue */
    transform: scale(1.2);
}

.social-brands a.youtube:hover {
    color: #ff0000;
    /* YouTube Red */
    transform: scale(1.2);
}

.social-brands a.instagram:hover {
    color: #e4405f;
    /* Instagram Pink */
    transform: scale(1.2);
}

/* Auth */
.signin-section {
    display: flex;
    flex-direction: row;
    /* height: 50vh; */
    box-shadow: 0 0 5px #ccc;
    border-top-right-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

.animation-panel {
    flex: 1;
    background: linear-gradient(to bottom right, #075E54, #0F9D58);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 40px;
    overflow: hidden;
    position: relative;
}

.graphic-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.graphic {
    width: 64px;
    height: 64px;
    object-fit: contain;
    position: relative;
    top: -20px;
    opacity: 0;
    transition: top 0.5s ease, opacity 0.5s ease;
}

.graphic-wrapper:hover .graphic {
    transform: scale(1.1);
}


.typing-text {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    max-width: 400px;
    min-height: 80px;
    white-space: nowrap;
    overflow: hidden;
    opacity: 1;
}

.signin-form,
.signup-form {
    flex: 1;
    background: #F6FDFB;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 40px;
    border-top-right-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

.signin-form input,
.signin-form button {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .signin-section {
        flex-direction: column;
    }

    .animation-panel,
    .signin-form {
        flex: none;
        width: 100%;
        padding: 30px 20px 70px
    }

    .typing-text {
        font-size: 1.25rem;
        min-height: 60px;
    }
}

/* The .form-group-custom / .form-control-custom / .form-label-custom floating-label
   rules used to live here, in the old design's values (4px radius, #ced4da borders,
   #0f9d58 accents). They are now defined once, site-wide, in the redesign layout —
   which every page rendering those fields extends — so the copy here only competed
   with it. main.css is loaded by product-detail alone, and that page's quote form
   reads from the layout's definition. */

.frg-pwd {
    font-size: 14px;
    color: #235943;
    text-decoration: underline;
}

.btn-sign-in,
.btn-sign-in:hover {
    background-color: #2A6B4F;
    padding: 10px 40px;
    font-size: 14px;
    font-weight: 500;
    color: #fff !important;
    text-transform: uppercase
}

.sign-p {
    font-size: 14px;
    font-weight: 600;
}

.sign-p a {
    color: #235943;
    text-decoration: underline;
    text-transform: uppercase;
}

/* Sign Up */
.signup-section {
    display: flex;
    flex-direction: row;
    min-height: 70vh;
    flex-wrap: wrap;
    box-shadow: 0 0 5px #ccc;
    border-top-right-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

.signup-section .animation-panel,
.signup-section .signup-form {
    flex: 1 1 100%;
    max-width: 100%;
}

@media (min-width: 768px) {

    .signup-section .animation-panel,
    .signup-section .signup-form {
        flex: 1;
        max-width: 50%;
    }
}

.signup-form {
    padding: 40px;
}

.signup-form>div {
    width: 100%;
    max-width: 500px;
}

.step-form {
    transition: transform 0.4s ease-in-out;
    display: flex;
    flex-direction: row;
    width: 200%;
}

.form-step {
    width: 100%;
    padding: 0 10px;
}

.step-indicator {
    display: flex;
    justify-content: start;
    margin-bottom: 20px;
}

.step-indicator span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    transition: background 0.3s;
}

.step-indicator span.active {
    background: #0f9d58;
}

.form-step {
    display: none;
    transition: all 0.3s ease-in-out;
}

.form-step.active-step {
    display: block;
}

.iti {
    width: 100%;
}

#verifyEmailBtn,
#validateOtpBtn {
    position: absolute;
    right: 20px;
    top: 5px;
}

/* Contact Us Page */
.static-page-title {
    font-size: 3rem;
}

.contact-hero {
    padding: 25px 0;
}

.contact-section {
    background-color: var(--green-2);
    padding: 80px 0;
    border-bottom-right-radius: 3rem;
}

.contact-section h4 {
    font-size: 20px;
    padding-bottom: 20px;
}

.contact-section p {
    font-size: 16px;
    color: var(--color-primary);
}

.contact-form {
    border-radius: 0 4rem 4rem 0;
    padding: 40px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    border: 1px solid #ced4da;
}

.contact-map-info p {
    font-size: 16px;
}

.contact-map-info span {
    color: #2A6B4F;
}

.map-placeholder {
    background: #ccc url('https://img.freepik.com/free-vector/map-navigation-concept_23-2147496099.jpg') center/cover no-repeat;
    min-height: 250px;
}

.breadcrumb-item,
.breadcrumb-item a {
    font-size: 14px;
    color: #787878;
    padding-bottom: 10px;
}

.breadcrumb {
    margin-bottom: 0;
}

/* About Us Page */
.about-us-page h2 {
    font-size: 2.5rem;
    color: #92E3A9;
}

.abt-ban-subtle {
    font-size: 16px;
}

.what-we-offer {
    background-color: #0d1b13;
    color: #000;
    text-align: left;
}

.what-we-offer .section-title {
    color: white;
    font-size: 20px !important;
}

.what-we-offer .offer-card {
    background-color: #e9f6ee;
    padding: 3rem 4rem;
    border-radius: 0 0 3rem 0;
    height: 100%;
}

.what-we-offer .offer-card h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 16px;
}

.what-we-offer .offer-card p {
    margin-bottom: 1rem;
    font-size: 14px;
}

.f-30 {
    font-size: 20px;
}

/* ====== Team Grid Styles (ChemShopy flavor) ====== */
.team-card {
    border-bottom-right-radius: 3rem;
    background: #fff;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .12);
}

.avatar-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #f3f5f4;
}

.avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.team-card:hover .avatar-wrap img {
    transform: scale(1.05);
}

/* LinkedIn pill */
.btn-linkedin {
    position: absolute;
    left: .6rem;
    top: .6rem;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #0A66C2;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(10, 102, 194, .35);
    transform: translateY(-8px);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
}

.btn-linkedin:hover {
    box-shadow: 0 10px 24px rgba(10, 102, 194, .45);
}

.team-card:hover .btn-linkedin,
.team-card:focus-within .btn-linkedin {
    transform: translateY(0);
    opacity: 1;
}
/* Product Listing Page */
.breadcrumb a{
    color: var(--bs-secondary-color)!important;
}
.breadcrumb a:hover{
    text-decoration: underline;
}
.prd-card{
    display: list-item;
    float: left;
    padding: 5px;
    list-style-type: none;
}
.no-structure-img {
    height: 267px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f7f6;
    color: var(--bs-secondary-color);
    font-size: 13px;
    text-align: center;
}
/* Always show the LinkedIn on touch screens for discoverability */
@media (max-width: 575.98px) {
    .btn-linkedin {
        transform: none;
        opacity: 1;
    }
}

/* Nameplate overlay */
.nameplate {
    position: absolute;
    inset: auto 0 0 0;
    color: #fff;
    padding: .75rem 1rem .9rem;
    background-image: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
}

.nameplate h6 {
    font-weight: 700;
}

.nameplate .role {
    font-size: .95rem;
    color: rgba(255, 255, 255, .85);
}

/* Bio */
.bio {
    line-height: 1.5;
}

/* Hover accent line under name (nice detail) */
.nameplate h6 {
    position: relative;
    display: inline-block;
}

.nameplate h6::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-2), var(--cs-green-4));
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.team-card:hover .nameplate h6::after {
    transform: scaleX(1);
}

/* Accessibility focus ring */
.team-card :is(a, button):focus-visible {
    outline: 3px solid rgba(10, 102, 194, .55);
    outline-offset: 2px;
    border-radius: .5rem;
}


.about-impact-section {
    background-color: #e9f6ee;
    border-radius: 0 0 3rem 0;
    padding: 3rem 1rem;
}

.impact-icon {
    font-size: 1.5rem;
}

.impact-item h5 {
    font-weight: bold;
}

.impact-section p {
    font-size: 22px;
}

.impact-row {
    height: 200px;
}

.impact-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.service-card h5 {
    font-size: 20px;
}

.service-card h6 {
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 20px;
}

.green-banner-hero {
    background-color: var(--green-2);
    padding: 20px;
    border-bottom-right-radius: 4rem;
}

.green-banner-hero h5 {
    font-size: 20px;
    padding-bottom: 20px;
    color: #000;
    margin-bottom: 0;
}

.green-banner-hero p.hrp {
    font-size: 16px;
    color: var(--color-primary);
}

.green-banner-hero p.gbhp {
    font-size: 14px;
    color: #000;
}

.why-chose ul {
    list-style-type: none;
}

.why-chose ul li {
    font-size: 14px;
    padding-bottom: 5px;
}

/* Premuim Products */
.premium-hero-banner h2 {
    color: #FFBF00;
}

.pr-hr-desc {
    color: #8EC7A9;
    padding: 20px 0;
}

.pr-fltr {
    color: #92E3A9;
    font-weight: 600;
}

.premium-hero-banner .breadcrumb-item,
.premium-hero-banner .breadcrumb-item a {
    font-size: 20px;
    color: #828282;
}

.premium-hero-banner .breadcrumb-item+.breadcrumb-item::before {
    color: #828282;
}

.bg-c-green {
    background-color: var(--green-2);
}

.bg-e3 {
    background-color: #DCEFE3;
}

.static-hero-title {
    font-size: 20px;
    color: var(--color-primary);
}

.static-hero-section h5 {
    font-size: 16px;
}

.static-hero-section .list-group-item {
    border: none;
}

/* FAQs Page */
.green-banner-hero-section {
    padding: 60px 20px;
    text-align: center;
}

.green-banner-hero-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

.green-banner-hero-subtitle {
    font-size: 14px;
    color: #27ae60;
    margin-bottom: 25px;
}

.green-banner-hero-text {
    font-size: 14px;
    color: #34495e;
    max-width: 800px;
    margin: 0 0 30px;
    line-height: 1.6;
}

.btn-outline-custom {
    border: 3px solid var(--color-primary);
    color: var(--color-primary);
    text-transform: uppercase;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
}

.btn-outline-custom:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Hero Banner Styles */
#moleculeCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-align: center;
    padding: 4rem;
    position: relative;
    z-index: 1;
}

section.bg-grn {
    /* font-size: inherit; */
    text-align: left;
    background-color: #F1F8F4;
    border-bottom-right-radius: 5rem;
    padding: 3rem;
}

/* Services Page */
.service-card {
    padding: 2rem 1rem;
    box-shadow: 0 0 10px #ccc;
    border-radius: 25px;
    margin-bottom: 50px;
}

.service-card img {
    max-width: 50%;
}

.green-banner-hero h5 {
    font-size: 16px;
}

@media (min-width: 992px) {
    .main-image-container {
        margin-top: -120px;
    }

    .scroll-btn {
        display: none;
    }

    .modal.slide-right .modal-dialog {
        overflow: auto;
        max-width: 50%;
    }
}

@media (max-width: 991px) {
    .molecule {
        height: 150px;
    }

    .step {
        min-width: auto;
        position: relative;
    }

    .step .atom-text {
        position: absolute;
        bottom: -10px;
        height: 0;
        font-size: 17px;
    }

    .bond {
        margin: 0;
    }

    .wcshopy-rt {
        margin-top: 20px;
    }

    .contact-form {
        padding: 20px 10px;
    }

    .contact-section h4 {
        font-size: 1.8rem;
    }

    .contact-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    section {
        padding: 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-sub-title {
        font-size: 18px;
    }

    .hero-footer a,
    .hero-footer span {
        font-size: 14px;
    }

    .trending-categories {
        display: none !important;
    }

    .search-input {
        padding: 13px 18px;
        font-size: 16px;
        border-radius: 25px;
    }

    input.search-input::placeholder {
        font-size: 16px;
    }

    .search-button {
        width: 50px;
        height: 50px;
    }

    .search-button1 {
        width: 60px;
        height: 60px;
    }

    .hero-section h4 {
        font-size: 17px;
        padding: 0 20px;
    }

    .hero-text,
    #heroSearchWrap {
        padding: 0 20px;
    }

    .products-section .nav-tabs .nav-item .nav-link {
        font-size: 1rem;
    }

    .nav-divider span {
        height: 25px;
        transform: translateY(7px);
    }

    .services-section img {
        width: 100%;
    }

    .f-16 {
        font-size: 16px;
    }

    .service-desc-txt {
        font-size: 16px;
    }

    .atom {
        width: 50px;
        height: 50px;
    }

    .atom svg {
        width: 25px;
        height: 25px;
    }

    .stage img {
        width: 100%;
    }

    .molecule {
        margin: 30px 0 20px;
        height: 100px;
        gap: 5px;
    }

    .particle {
        width: 8px;
        height: 8px;
    }

    .step {
        gap: 0;
        min-width: auto;
        position: relative;
    }

    #visual-0 img {
        width: 100%;
    }

    #visual-1 img,
    #visual-2 img,
    #visual-3 img {
        height: auto;
    }

    .statement-text {
        padding-bottom: 10px;
    }

    .dynamic-statement {
        height: 150px;
    }

    .service-rqt-btn {
        font-size: 18px;
        padding: 10px 20px;
    }

    .step .atom-text {
        word-wrap: break-word;
        text-wrap: auto;
        position: absolute;
        bottom: -10px;
        height: 0;
        font-size: 13px;
    }

    .bond {
        margin: 0;
    }

    .featured-products-section,
    .services-section,
    .cta-section {
        border-bottom-right-radius: 4rem;
        padding: 10px 0 !important;
    }

    /* About us */
    .what-we-offer .offer-card {
        padding: 1rem;
    }

    .what-we-offer .offer-card p {
        font-size: 16px;
    }

    .innovatn p,
    .innovatn ul li {
        font-size: 18px;
    }

    .about-impact-section {
        padding: 1rem;
    }

    .about-impact-section p,
    .about-cta-section p {
        font-size: 20px;
    }

    /* Services Page */
    .hero-dark-banner {
        padding: 50px 30px;
        border-bottom-right-radius: 4rem;
    }

    .hero-dark-banner h2 {
        font-size: 2rem;
    }

    .service-card {
        margin: 0 10px 20px;
    }

    .service-card h5 {
        font-size: 22px;
    }

    .service-card h6 {
        font-size: 15px;
    }

    .service-card p {
        font-size: 15px;
    }

    .impact-row {
        height: auto;
    }

    .request-quote-product-details {
        padding: 15px;
    }

    .request-quote-product-details h3,
    .request-quote-product-details p {
        font-size: 18px;
    }
    .contact-section{
        border-bottom-right-radius: 1.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .request-quote-btn,
    .navbar-nav .nav-link {
        font-size: 14px;
    }

    .auth-sign-in,
    .nav-mobile {
        font-size: 16px;
    }

    #navSearchSlot .search-input {
        padding: 5px 20px;
    }

    #navSearchSlot .search-button {
        width: 50px;
        height: 50px;
    }

    .hero-footer a,
    .hero-footer span {
        font-size: 18px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-sub-title {
        font-size: 18px;
    }

    .products-section .nav-tabs .nav-item .nav-link {
        font-size: 24px;
    }

    .nav-pills .nav-link,
    .product-card-cas,
    .product-card-name,
    .services-section .card h5 {
        font-size: 18px;
    }

    .btn-request {
        font-size: 15px;
        padding: 10px;
    }

    .featured-products-section,
    .services-section {
        border-bottom-right-radius: 5rem;
    }

    .fs-20 {
        font-size: 16px;
    }

    .services-section img {
        width: 150px;
    }

    .services-section ul li {
        font-size: 16px;
        line-height: 1.4;
    }

    .service-rqt-btn {
        font-size: 18px;
        padding: 10px 20px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-text {
        font-size: 18px;
    }

    .cta-btn1 {
        font-size: 16px;
        padding: 10px 15px;
    }

    .wcshopy-lt {
        font-size: 18px;
    }

    .wcshopy-rt-title {
        font-size: 1.1rem;
    }

    .wcshopy-rt-text {
        font-size: 0.8rem;
    }

    .wcshopy-rt-card.active .wcshopy-rt-title {
        font-size: 22px;
    }

    .wcshopy-rt-card.active .wcshopy-rt-text {
        font-size: 19px;
    }

    .molecule {
        height: 150px;
    }

    .step {
        min-width: auto;
        position: relative;
    }

    .step .atom-text {
        position: absolute;
        bottom: -10px;
        height: 0;
        font-size: 17px;
    }

    .bond {
        margin: 0;
    }

    /* contact us page */
    .contact-form {
        padding: 20px 10px;
    }

    .contact-section h4 {
        font-size: 2rem;
    }

    .contact-section p {
        font-size: 1.3rem;
    }
}

.lead {
    font-size: 16px;
    line-height: 1.6;
}

.display-5 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15;
    margin: 0;
    font-weight: 500;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center
}

.cs-chip {
    font-size: .95rem;
    padding: .4rem .75rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06)
}

.cs-link {
    color: var(--cs-brand);
    font-weight: 600;
    text-decoration: none
}

.cs-link:hover {
    text-decoration: underline
}

.cs-hero {
    min-height: 82vh;
    /* display: grid; */
    place-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--cs-text)
}

.cs-hero-content {
    padding: 4rem 0;
    position: relative;
    z-index: 1
}

.cs-shadow {
    box-shadow: 0 14px 40px rgba(10, 40, 25, .10);
    border-radius: 999px
}

.cs-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    filter: saturate(1.05);
    background:
        radial-gradient(1200px 600px at 80% -10%, var(--cs-green-4) 0%, transparent 55%),
        radial-gradient(900px 600px at 20% 110%, var(--cs-green-3) 0%, transparent 60%),
        linear-gradient(135deg, var(--cs-green-1), var(--cs-green-2) 40%, #ffffff);
    animation: csGradientDrift 18s ease-in-out infinite alternate;
}

@keyframes csGradientDrift {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%
    }

    100% {
        background-position: 10% 5%, -8% -6%, 0% 0%
    }
}

/* .cs-hero-canvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .55;
    mix-blend-mode: multiply
} */

.cs-brand {
    color: var(--cs-brand)
}

.cs-accent {
    color: var(--cs-accent)
}

@media (prefers-reduced-motion:reduce) {
    .cs-hero-bg {
        animation: none !important
    }
}

#toast-container {
    z-index: 99999
}

.error-border {
    border: 1px solid red !important;
    box-shadow: 0 0 3px red;
}

.services-form {
    padding: 40px;
}

/* ---- ChemShopy Hero + Canvas ---- */
.cs-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.cs-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* full-screen WebGL canvas sits behind content */
.cs-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: block;
    opacity: 1;
}

/* hide hero content until we dock */
.cs-hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
}


/* Explore Section */
.explore {
    margin: 50px 0;
    background-color: transparent;
    background-image: linear-gradient(90deg, #f5f5f5 50%, #fff 50%);
}

.explore h2 {
    font-size: 1.8rem;
    line-height: 1.05;
    text-align: left;
}

.kpis {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    text-align: left;
}

.kpis::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border)
}

.kpis::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border)
}

.kpi .num {
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1
}

.kpi {
    padding-left: 20px;
}

.kpi .lbl {
    color: #111827;
    font-weight: 600;
    font-size: 18px;
}

.exp-left {
    margin: 120px 0;
}

@media (max-width: 992px) {
    .kpis {
        /* grid-template-columns: 1fr; */
        gap: 22px
    }

    .kpis::before,
    .kpis::after {
        display: none
    }

    .explore {
        background-image: none;
    }

    .exp-left {
        background-color: #fff;
        padding: 20px;
        margin: 20px 0;
    }

    .navbar-top {
        padding: 10px;
    }
}