/* ==========================================================================
   LabSynex - Industrial Chemicals & Water Treatment Solutions
   Primary Stylesheet
   ========================================================================== */

:root {
    --primary: #d90000;
    --primary-dark: #b30000;
    --primary-light: #fff1f1;
    --primary-border: #fecaca;
    
    --navy: #0b1e38;
    --navy-light: #162f54;
    --water-blue: #0284c7;
    --water-cyan: #06b6d4;
    --water-light: #e0f2fe;

    --light-green:#90EE90;
    --green: #008000;
    --deep-green: #056608;
    --olive-green: #808000;
    --lime-green: #00FF00;
    --aqua: #00FFFF;
    --teal: #008080;
    --fuchsia: #FF00FF;
    --purple: #800080;
    --yelow: #FFFF00;
    --info: #f5b027;

    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;

    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Basics */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--gray-700);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 75px 0;
}

.section-bg {
    background-color: var(--gray-50);
}

.section-dark {
    background-color: var(--navy);
    color: var(--white);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--primary-border);
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-dark .section-title {
    color: var(--white);
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: var(--gray-400);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(217, 0, 0, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 0, 0, 0.35);
}

.btn-outline {
    background: transparent;
    border-color: var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--dark);
}

.btn-outline-white {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    color: var(--white);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--navy-light);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 15px 34px;
    font-size: 1.05rem;
}

/* Button Form States (Loading & Success) */
@keyframes btnSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-form-loading {
    opacity: 0.88 !important;
    cursor: wait !important;
    pointer-events: none !important;
    box-shadow: none !important;
}

.btn-form-loading .btn-spin-icon {
    display: inline-block;
    animation: btnSpin 0.9s linear infinite;
    vertical-align: -0.15em;
    margin-right: 6px;
}

.btn-form-success {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4) !important;
    cursor: default !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
}

.btn-form-success svg {
    display: inline-block;
    vertical-align: -0.18em;
    margin-right: 6px;
}

/* Topbar */
.topbar {
    background: #0b1e38;
    color: #f1f5f9;
    font-size: 0.85rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.topbar-info {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f1f5f9;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.topbar-icon {
    font-size: 1.15rem;
    color: var(--primary, #d90000);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.topbar-sep {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 2px;
}

.topbar-item span {
    color: #f1f5f9;
}

.topbar-item a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.topbar-item a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.topbar-admin-link:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

/* Main Navigation Header */
.header-main {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.logo-title span {
    color: var(--primary);
}

.logo-subtitle {
    font-size: 0.72rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: inline-block;
    padding: 10px 14px;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-cta {
    margin-left: 10px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--dark);
    cursor: pointer;
    padding: 6px;
}

/* Hero Section */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #0b1e38 0%, #162f54 60%, #0c213d 100%);
    color: var(--white);
    padding: 95px 0 110px;
    overflow: hidden;
}

.hero-banner::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, rgba(2, 132, 199, 0) 70%);
    pointer-events: none;
}

.hero-banner::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 0, 0, 0.2) 0%, rgba(217, 0, 0, 0) 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 45px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-content {
    max-width: 680px;
}

.hero-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 22px;
}

.hero-status-tag .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.hero-title {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title span {
    color: #ef4444;
}

.hero-desc {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Quick Inquiry Card inside Hero */
.hero-form-card {
    background: var(--white);
    color: var(--gray-700);
    padding: 34px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.hero-form-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.hero-form-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin-bottom: 22px;
}

/* Forms */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.92rem;
    color: var(--gray-900);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 0, 0, 0.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

/* Stats Ribbon */
.stats-ribbon {
    background: var(--white);
    margin-top: -45px;
    position: relative;
    z-index: 10;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    padding: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 10px;
    border-right: 1px solid var(--gray-200);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
    gap: 24px;
}

.category-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gray-200);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-border);
}

.category-card:hover::before {
    background: var(--primary);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.category-icon img,
.category-icon svg {
    max-width: 52px;
    max-height: 52px;
    object-fit: contain;
    display: block;
}

.category-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.category-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.category-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-link:hover {
    gap: 10px;
}

/* Products Grid */
.products-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.filter-btn {
    padding: 9px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 9999px;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(217, 0, 0, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 28px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.product-thumb {
    height: 190px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder-icon {
    font-size: 3.5rem;
    opacity: 0.75;
}

.product-badge-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.product-category-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(11, 30, 56, 0.85);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
}

.product-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.35;
}

.product-title a {
    color: var(--dark);
}

.product-title a:hover {
    color: var(--primary);
}

.product-snippet {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 14px;
    flex-grow: 1;
}

.product-spec-row {
    font-size: 0.82rem;
    color: var(--gray-500);
    background: var(--gray-50);
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    border: 1px solid var(--gray-200);
}

.product-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-border);
}

.service-icon {
    min-height: 70px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.service-icon img {
    width: 70px;
    height: 70px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon img {
    transform: scale(1.08) translateY(-2px);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 22px;
}

.industry-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}

.industry-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
}

.industry-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.industry-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.industry-desc {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* Why Choose Us Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.value-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: var(--transition);
}

.value-box:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-border);
}

.value-box-icon {
    font-size: 2.6rem;
    margin-bottom: 16px;
    display: inline-block;
}

.value-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.value-box p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Page Header (Inner Pages) */
.page-banner {
    background: linear-gradient(135deg, #0b1e38 0%, #17325b 100%);
    color: var(--white);
    padding: 65px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.page-banner-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto 16px auto;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: #cbd5e1;
}

.breadcrumbs a {
    color: #cbd5e1;
}

.breadcrumbs a:hover {
    color: var(--white);
}

/* =====================================================
   About Us & Quality Page Dedicated Components
   ===================================================== */
.about-story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
}

.about-story-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.about-story-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.about-glance-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-sm);
}

.about-glance-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.about-glance-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 0.95rem;
}

.about-glance-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.about-glance-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-glance-content strong {
    color: var(--dark);
    display: block;
    margin-bottom: 3px;
    font-size: 0.96rem;
}

.about-glance-content span {
    color: var(--gray-600);
    line-height: 1.5;
    font-size: 0.9rem;
}

.mission-vision-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mission-vision-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-border);
}

.mission-vision-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.mission-vision-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.mission-vision-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.mission-vision-card p {
    color: var(--gray-500);
    line-height: 1.8;
}

/* Quality & Standards Components */
.quality-overview-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
}

.quality-policy-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 25px;
}

.quality-guarantee-card {
    background: var(--primary-light);
    border: 1px solid var(--primary-border);
    padding: 22px;
    border-radius: var(--radius);
}

.quality-guarantee-title {
    color: var(--primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.quality-guarantee-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
}

.quality-docs-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-sm);
}

.quality-docs-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

.quality-docs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quality-doc-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.quality-doc-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.quality-doc-item strong {
    color: var(--dark);
    display: block;
    margin-bottom: 2px;
    font-size: 0.96rem;
}

.quality-doc-item p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.55;
    margin: 0;
}

.quality-testing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quality-step-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.quality-step-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: var(--primary-border);
}

.quality-step-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
    display: inline-block;
}

.quality-step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.quality-step-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

.quality-cta-box {
    margin-top: 10px;
}

.quality-cta-btn {
    max-width: 100%;
    white-space: normal;
    line-height: 1.4;
}

/* Home Direct Call to Action Section */
.home-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.home-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
}
.home-cta-desc {
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 30px;
    opacity: 0.95;
    color: #ffffff;
}
.home-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-border);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-card-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.info-card-content p, .info-card-content a {
    font-size: 0.92rem;
    color: var(--gray-600);
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow-sm);
}

/* Product Detail Page */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 45px;
    align-items: flex-start;
}

.product-detail-media {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
}

.product-detail-media img {
    margin: 0 auto;
    max-height: 420px;
    object-fit: contain;
}

.product-meta-item {
    margin-bottom: 22px;
}

.product-meta-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.site-footer {
    background: #091322;
    color: var(--gray-400);
    font-size: 0.92rem;
    border-top: 1px solid #1a293d;
}

.footer-top {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-widget h4 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

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

.footer-links a {
    color: var(--gray-400);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-contact-icon {
    font-size: 1.25rem;
    color: var(--primary, #d90000);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: var(--gray-400);
}

.footer-contact-list a:hover {
    color: var(--white);
}

.footer-bottom {
    background: #060d17;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--gray-400);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.55);
}

/* Modal Popup (Quick Quote) */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 30, 56, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-dialog {
    background: var(--white);
    width: 100%;
    max-width: 580px;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    margin: auto;
    animation: modalSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 22px 28px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: var(--dark);
}

.modal-body {
    padding: 24px 28px 30px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Toast Message */
.toast-msg {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
    background: var(--dark);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 9999px;
    box-shadow: var(--shadow-lg);
    font-size: 0.92rem;
    font-weight: 600;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-msg.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-msg.success {
    background: #059669;
}

.toast-msg.error {
    background: #dc2626;
}

/* Reusable Responsive Utilities */
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 576px) {
    .form-row-2col {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Public Mobile Navigation Backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-backdrop.active {
    display: block;
    opacity: 1;
}

/* Responsive Media Queries */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    .hero-title {
        font-size: 3.1rem;
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-form-card {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    .about-story-grid,
    .quality-overview-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .quality-testing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 42px 0 46px;
    }
    .page-banner-title {
        font-size: 1.85rem !important;
        line-height: 1.25;
    }
    .page-banner-desc {
        font-size: 0.95rem !important;
        margin-bottom: 14px;
    }
    .about-story-text,
    .quality-policy-text {
        font-size: 0.98rem;
        line-height: 1.75;
    }
    .about-glance-card,
    .quality-docs-card {
        padding: 24px 20px;
        border-radius: var(--radius);
    }
    .about-glance-title,
    .quality-docs-title {
        font-size: 1.22rem;
        margin-bottom: 16px;
    }
    .mission-vision-card {
        padding: 24px 20px;
    }
    .mission-vision-card h3 {
        font-size: 1.25rem;
    }
    .quality-step-card {
        padding: 22px 18px;
    }
    .home-cta-section {
        padding: 45px 0;
    }
    .home-cta-title {
        font-size: 1.75rem;
    }
    .home-cta-desc {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    .clients-marquee-container::before,
    .clients-marquee-container::after,
    .clients-scroller-wrapper::before,
    .clients-scroller-wrapper::after {
        width: 35px;
    }
    .client-logo-item,
    .client-scroller-card {
        flex: 0 0 135px;
        height: 72px;
        padding: 8px 10px;
    }
    .topbar {
        padding: 7px 0;
    }
    .topbar-wrapper {
        justify-content: center;
    }
    .topbar-info {
        gap: 10px 18px;
        justify-content: center;
        width: 100%;
    }
    .topbar-item {
        font-size: 0.82rem;
    }
    .topbar-item.hide-on-mobile {
        display: none !important;
    }
    .nav-container {
        height: 72px;
    }
    .site-logo img {
        height: 48px;
    }
    .logo-title {
        font-size: 1.25rem;
    }
    .logo-subtitle {
        font-size: 0.66rem;
    }
    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 8px;
        background: var(--gray-100);
        border: 1px solid var(--gray-200);
        color: var(--dark);
        font-size: 1.45rem;
        cursor: pointer;
        transition: var(--transition);
    }
    .mobile-toggle:hover, .mobile-toggle:focus {
        background: var(--gray-200);
        color: var(--primary);
    }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 30px;
        border-bottom: 2px solid var(--gray-200);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
        display: none;
        z-index: 999;
    }
    .nav-menu.open {
        display: flex;
        animation: navSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes navSlideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .nav-link {
        padding: 12px 14px;
        font-size: 0.98rem;
        border-bottom: 1px solid var(--gray-100);
    }
    .nav-cta {
        margin: 14px 0 0 0;
        width: 100%;
    }
    .nav-cta .btn {
        width: 100%;
        padding: 12px;
        font-size: 0.98rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .stat-item {
        border-bottom: 1px solid var(--gray-200);
    }
    .stat-item:nth-child(3), .stat-item:nth-child(4) {
        border-bottom: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .section {
        padding: 45px 0;
    }
    .section-header {
        margin-bottom: 30px;
    }
    .section-title {
        font-size: 1.6rem !important;
    }
    .section-subtitle {
        font-size: 0.92rem !important;
    }
    .hero-banner {
        padding: 45px 0 55px;
    }
    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .hero-form-card {
        padding: 22px 16px !important;
        border-radius: var(--radius) !important;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid var(--gray-200) !important;
        padding: 18px 12px;
    }
    .stat-item:last-child {
        border-bottom: none !important;
    }
    .modal-dialog {
        margin: auto;
        max-width: calc(100% - 24px);
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
    }
    .modal-header {
        padding: 16px 18px;
    }
    .modal-header h3 {
        font-size: 1.15rem;
    }
    .modal-body {
        padding: 18px 18px 24px;
        flex: 1 1 auto;
        min-height: 0;
    }
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 18px;
    }
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
    .product-detail-media {
        padding: 16px;
    }
    .product-detail-media img {
        max-height: 250px;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .page-banner {
        padding: 34px 0 38px;
    }
    .page-banner-title {
        font-size: 1.55rem !important;
    }
    .page-banner-desc {
        font-size: 0.88rem !important;
    }
    .breadcrumbs {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    .about-glance-card,
    .quality-docs-card {
        padding: 18px 14px;
    }
    .clients-marquee-container::before,
    .clients-marquee-container::after,
    .clients-scroller-wrapper::before,
    .clients-scroller-wrapper::after {
        width: 25px;
    }
    .client-logo-item,
    .client-scroller-card {
        flex: 0 0 120px;
        height: 64px;
        padding: 6px 8px;
    }
}

@media (max-width: 576px) {
    .btn {
        white-space: normal;
        line-height: 1.35;
    }
    .about-story-grid,
    .quality-overview-grid {
        gap: 26px;
    }
    .about-story-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 22px;
    }
    .about-story-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .about-glance-card,
    .quality-docs-card {
        padding: 20px 16px;
    }
    .about-glance-title,
    .quality-docs-title {
        font-size: 1.15rem;
    }
    .about-glance-list {
        gap: 14px;
        font-size: 0.9rem;
    }
    .mission-vision-card {
        padding: 20px 16px;
    }
    .mission-vision-icon {
        margin-bottom: 10px;
    }
    .mission-vision-icon img {
        width: 50px;
        height: 50px;
    }
    .mission-vision-card h3 {
        font-size: 1.18rem;
    }
    .mission-vision-card p {
        font-size: 0.9rem;
        line-height: 1.65;
    }
    .values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .value-box {
        padding: 20px 16px;
    }
    .quality-guarantee-card {
        padding: 18px 14px;
    }
    .quality-guarantee-title {
        font-size: 1rem;
    }
    .quality-guarantee-text {
        font-size: 0.88rem;
        line-height: 1.65;
    }
    .quality-testing-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .quality-step-card {
        padding: 18px 14px;
    }
    .quality-step-card h3 {
        font-size: 1.05rem;
    }
    .quality-step-card p {
        font-size: 0.86rem;
        line-height: 1.55;
    }
    .quality-step-icon {
        font-size: 1.85rem;
        margin-bottom: 10px;
    }
    .quality-cta-btn {
        width: 100%;
        font-size: 0.96rem;
        padding: 13px 18px;
    }
    .home-cta-section {
        padding: 38px 0;
    }
    .home-cta-title {
        font-size: 1.48rem;
    }
    .home-cta-desc {
        font-size: 0.92rem;
        margin-bottom: 20px;
    }
    .home-cta-actions {
        flex-direction: column;
        gap: 12px;
    }
    .home-cta-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .categories-grid,
    .industries-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    .page-banner-title {
        font-size: 1.4rem !important;
    }
    .section-title {
        font-size: 1.45rem !important;
    }
    .about-glance-card,
    .quality-docs-card,
    .mission-vision-card,
    .quality-step-card {
        padding: 16px 12px;
    }
}

/* =====================================================
   Clients Logo Continuous Scrolling Showcase
   (Matches admin/pages.php#tab-clients live showcase)
   ===================================================== */
.clients-marquee-container,
.clients-scroller-wrapper {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: 12px;
    padding: 24px 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}
.clients-marquee-container::before,
.clients-marquee-container::after,
.clients-scroller-wrapper::before,
.clients-scroller-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.clients-marquee-container::before,
.clients-scroller-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 15%, rgba(255, 255, 255, 0));
}
.clients-marquee-container::after,
.clients-scroller-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 15%, rgba(255, 255, 255, 0));
}
.clients-marquee-track,
.clients-scroller-track {
    display: flex;
    width: max-content;
    gap: 24px;
    animation: scrollLogos 35s linear infinite;
}
.clients-marquee-container:hover .clients-marquee-track,
.clients-scroller-wrapper:hover .clients-scroller-track {
    animation-play-state: paused;
}
@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes clientLogosScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.client-logo-item,
.client-scroller-card {
    flex: 0 0 160px;
    height: 85px;
    background: #ffffff;
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}
.client-logo-item:hover,
.client-scroller-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}
.client-logo-item img,
.client-scroller-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(15%);
    transition: filter 0.25s ease;
}
.client-logo-item:hover img,
.client-scroller-card:hover img {
    filter: grayscale(0%);
}

/* Dark mode compatibility for clients marquee */
[data-theme="dark"] .clients-marquee-container,
[data-theme="dark"] .clients-scroller-wrapper,
body.theme-dark .clients-marquee-container,
body.theme-dark .clients-scroller-wrapper {
    background: #0d1627 !important;
    border-color: #1a263e !important;
}
[data-theme="dark"] .clients-marquee-container::before,
[data-theme="dark"] .clients-scroller-wrapper::before,
body.theme-dark .clients-marquee-container::before,
body.theme-dark .clients-scroller-wrapper::before {
    background: linear-gradient(to right, #0d1627 15%, rgba(13, 22, 39, 0)) !important;
}
[data-theme="dark"] .clients-marquee-container::after,
[data-theme="dark"] .clients-scroller-wrapper::after,
body.theme-dark .clients-marquee-container::after,
body.theme-dark .clients-scroller-wrapper::after {
    background: linear-gradient(to left, #0d1627 15%, rgba(13, 22, 39, 0)) !important;
}
[data-theme="dark"] .client-logo-item,
[data-theme="dark"] .client-scroller-card,
body.theme-dark .client-logo-item,
body.theme-dark .client-scroller-card {
    background: #141f32 !important;
    border-color: #1e2d48 !important;
}

/* Bootstrap Icons compatibility helper */
.bi-Check2::before,
.bi-check2::before {
    content: "\f272" !important;
}

/* =====================================================
   Home Page Infinite Image Scroll Showcase
   ===================================================== */
.home-scroll-section {
    padding: 45px 0 35px 0;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.home-scroll-section .section-header {
    margin-bottom: 35px;
}

.home-scroll-container {
    position: relative;
    width: 100%;
}

.home-scroll-container::before,
.home-scroll-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 3;
    pointer-events: none;
}

.home-scroll-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 15%, rgba(255, 255, 255, 0));
}

.home-scroll-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 15%, rgba(255, 255, 255, 0));
}

.home-scroll-float-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    color: var(--dark, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
}

.home-scroll-float-prev {
    left: 16px;
}

.home-scroll-float-next {
    right: 16px;
}

.home-scroll-float-arrow:hover {
    background: var(--primary, #f54927);
    color: #ffffff;
    border-color: var(--primary, #f54927);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(245, 73, 39, 0.3);
}

.home-scroll-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 12px 0 20px 0;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.home-scroll-viewport::-webkit-scrollbar {
    display: none;
}

.home-scroll-viewport.is-dragging {
    cursor: grabbing;
}

.home-scroll-track {
    display: flex;
    gap: 20px;
    width: max-content;
    align-items: stretch;
    padding: 0 15px;
}

.home-scroll-card {
    flex: 0 0 275px;
    width: 275px;
    height: 265px;
    background: #ffffff;
    border: 1px solid var(--gray-200, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
}

.home-scroll-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary, #f54927);
}

.home-scroll-card-img {
    height: 170px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    flex-shrink: 0;
}

.home-scroll-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
    pointer-events: none;
}

.home-scroll-card:hover .home-scroll-card-img img {
    transform: scale(1.07);
}

.home-scroll-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 30, 56, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.home-scroll-card:hover .home-scroll-card-overlay {
    opacity: 1;
}

.home-scroll-zoom-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary, #f54927);
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(0.85);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.home-scroll-card:hover .home-scroll-zoom-badge {
    transform: scale(1);
}

.home-scroll-card-body {
    padding: 12px 15px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.home-scroll-card-title {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--dark, #0f172a);
    margin-bottom: 3px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.home-scroll-card:hover .home-scroll-card-title {
    color: var(--primary, #f54927);
}

.home-scroll-card-sub {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.42;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Dark mode compatibility for Home Scroll */
[data-theme="dark"] .home-scroll-container::before,
body.theme-dark .home-scroll-container::before {
    background: linear-gradient(to right, #070d18 15%, rgba(7, 13, 24, 0)) !important;
}

[data-theme="dark"] .home-scroll-container::after,
body.theme-dark .home-scroll-container::after {
    background: linear-gradient(to left, #070d18 15%, rgba(7, 13, 24, 0)) !important;
}

[data-theme="dark"] .home-scroll-card,
body.theme-dark .home-scroll-card {
    background: #111a2e !important;
    border-color: #1e2d48 !important;
    color: #e2e8f0 !important;
}

[data-theme="dark"] .home-scroll-card-img,
[data-theme="dark"] .home-scroll-card-body,
body.theme-dark .home-scroll-card-img,
body.theme-dark .home-scroll-card-body {
    background: #111a2e !important;
}

[data-theme="dark"] .home-scroll-card-title,
body.theme-dark .home-scroll-card-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .home-scroll-card-sub,
body.theme-dark .home-scroll-card-sub {
    color: #94a3b8 !important;
}

[data-theme="dark"] .home-scroll-nav-btn,
[data-theme="dark"] .home-scroll-float-arrow,
body.theme-dark .home-scroll-nav-btn,
body.theme-dark .home-scroll-float-arrow {
    background: rgba(17, 26, 46, 0.9) !important;
    border-color: #243552 !important;
    color: #f8fafc !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

[data-theme="dark"] .home-scroll-nav-btn:hover,
[data-theme="dark"] .home-scroll-float-arrow:hover,
body.theme-dark .home-scroll-nav-btn:hover,
body.theme-dark .home-scroll-float-arrow:hover {
    background: var(--primary, #f54927) !important;
    border-color: var(--primary, #f54927) !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .home-scroll-card {
        flex: 0 0 240px;
        width: 240px;
        height: 245px;
    }
    .home-scroll-card-img {
        height: 155px;
    }
    .home-scroll-float-arrow {
        display: none;
    }
    .home-scroll-container::before,
    .home-scroll-container::after {
        width: 35px;
    }
}

/* =====================================================
   Home Showcase / Our Products Lightbox Modal
   ===================================================== */
.scroll-product-modal-dialog {
    max-width: 620px;
    width: 95%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white, #ffffff);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 0;
}

.scroll-modal-image-wrapper {
    width: 100%;
    height: 320px;
    max-height: 42vh;
    background: #0b1322;
    position: relative;
    display: block;
    overflow: hidden;
    padding: 0;
}

.scroll-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.scroll-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.scroll-modal-close:hover {
    background: var(--primary, #f54927);
    border-color: var(--primary, #f54927);
    transform: scale(1.08);
    color: #ffffff;
}

.scroll-modal-content {
    padding: 24px 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scroll-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary, #f54927);
    background: rgba(245, 73, 39, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    width: fit-content;
}

.scroll-modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark, #0f172a);
    line-height: 1.3;
    margin: 0;
    word-break: break-word;
}

.scroll-modal-subtitle {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--gray-700, #475569);
    margin: 0;
    white-space: normal;
    word-break: break-word;
}

.scroll-modal-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200, #e2e8f0);
}

/* Dark mode styling for Scroll Modal */
[data-theme="dark"] .scroll-product-modal-dialog,
body.theme-dark .scroll-product-modal-dialog {
    background: #0f172a !important;
    border-color: #1e293b !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7) !important;
}

[data-theme="dark"] .scroll-modal-image-wrapper,
body.theme-dark .scroll-modal-image-wrapper {
    background: #090e17 !important;
}

[data-theme="dark"] .scroll-modal-title,
body.theme-dark .scroll-modal-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .scroll-modal-subtitle,
body.theme-dark .scroll-modal-subtitle {
    color: #94a3b8 !important;
}

[data-theme="dark"] .scroll-modal-actions,
body.theme-dark .scroll-modal-actions {
    border-top-color: #1e293b !important;
}

[data-theme="dark"] .home-scroll-zoom-badge,
body.theme-dark .home-scroll-zoom-badge {
    background: rgba(15, 23, 42, 0.9);
    color: #f54927;
}

@media (max-width: 640px) {
    .scroll-product-modal-dialog {
        width: 95%;
        max-height: 94vh;
    }
    .scroll-modal-image-wrapper {
        height: 220px;
        padding: 0;
    }
    .scroll-modal-content {
        padding: 18px 20px;
    }
    .scroll-modal-title {
        font-size: 1.15rem;
    }
    .scroll-modal-subtitle {
        font-size: 0.88rem;
    }
    .scroll-modal-actions {
        flex-direction: column;
        width: 100%;
    }
    .scroll-modal-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =====================================================
   Custom Bootstrap Icon Extensions (e.g. bi-flask, bi-flask-fill, bi-beaker)
   Allows <i class="bi bi-flask"></i> across the entire project
   ===================================================== */
.bi-flask::before,
.bi.bi-flask::before {
    content: "" !important;
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6.5 1.5A.5.5 0 0 1 7 1h2a.5.5 0 0 1 0 1h-.5v3.293l4.354 7.551A1.5 1.5 0 0 1 11.553 15H4.447a1.5 1.5 0 0 1-1.301-2.156L7.5 5.293V2H7a.5.5 0 0 1-.5-.5zm1 4.707l-3.5 6.07A.5.5 0 0 0 4.447 14h7.106a.5.5 0 0 0 .447-.723l-3.5-6.07V2h-1v4.207z'/%3E%3Cpath d='M5.5 10.5h5l.7 1.2a.5.5 0 0 1-.447.8H5.247a.5.5 0 0 1-.447-.8l.7-1.2z'/%3E%3C/svg%3E") no-repeat 50% 50%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6.5 1.5A.5.5 0 0 1 7 1h2a.5.5 0 0 1 0 1h-.5v3.293l4.354 7.551A1.5 1.5 0 0 1 11.553 15H4.447a1.5 1.5 0 0 1-1.301-2.156L7.5 5.293V2H7a.5.5 0 0 1-.5-.5zm1 4.707l-3.5 6.07A.5.5 0 0 0 4.447 14h7.106a.5.5 0 0 0 .447-.723l-3.5-6.07V2h-1v4.207z'/%3E%3Cpath d='M5.5 10.5h5l.7 1.2a.5.5 0 0 1-.447.8H5.247a.5.5 0 0 1-.447-.8l.7-1.2z'/%3E%3C/svg%3E") no-repeat 50% 50%;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.bi-flask-fill::before,
.bi.bi-flask-fill::before {
    content: "" !important;
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1H8.5v3.293l4.354 7.551A1.5 1.5 0 0 1 11.553 15H4.447a1.5 1.5 0 0 1-1.301-2.156L7.5 5.293V2H7a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E") no-repeat 50% 50%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1H8.5v3.293l4.354 7.551A1.5 1.5 0 0 1 11.553 15H4.447a1.5 1.5 0 0 1-1.301-2.156L7.5 5.293V2H7a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E") no-repeat 50% 50%;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.bi-beaker::before,
.bi.bi-beaker::before {
    content: "" !important;
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3 2.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-.5v9.5A2.5 2.5 0 0 1 9.5 15h-3A2.5 2.5 0 0 1 4 12.5V3h-.5a.5.5 0 0 1-.5-.5zM5 3v9.5A1.5 1.5 0 0 0 6.5 14h3a1.5 1.5 0 0 0 1.5-1.5V3H5z'/%3E%3Cpath d='M6 6h2v1H6V6zm0 3h3v1H6V9z'/%3E%3C/svg%3E") no-repeat 50% 50%;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3 2.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-.5v9.5A2.5 2.5 0 0 1 9.5 15h-3A2.5 2.5 0 0 1 4 12.5V3h-.5a.5.5 0 0 1-.5-.5zM5 3v9.5A1.5 1.5 0 0 0 6.5 14h3a1.5 1.5 0 0 0 1.5-1.5V3H5z'/%3E%3Cpath d='M6 6h2v1H6V6zm0 3h3v1H6V9z'/%3E%3C/svg%3E") no-repeat 50% 50%;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

/* =====================================================
   Specialized Sector Chemistry - Industries Page
====================================================== */
.industry-sector-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 30px;
    align-items: center;
    transition: var(--transition);
}

.industry-sector-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.industry-sector-card.no-recomms {
    grid-template-columns: 80px 1fr;
}

.industry-sector-card .recomm-box {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--info);
}

@media (max-width: 900px) {
    .industry-sector-card {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 24px;
    }
}

[data-theme="dark"] .industry-sector-card {
    background: #1e293b !important;
    border-color: #334155 !important;
}

[data-theme="dark"] .industry-sector-card h3 {
    color: #f8fafc !important;
}

[data-theme="dark"] .industry-sector-card p {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .industry-sector-card .recomm-box {
    background: #0f172a !important;
}

[data-theme="dark"] .industry-sector-card .recomm-box strong {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .industry-sector-card .recomm-box ul {
    color: #94a3b8 !important;
}

/* =====================================================
   Dark Mode Compatibility for About & Quality Pages
   ===================================================== */
[data-theme="dark"] .about-glance-card,
[data-theme="dark"] .quality-docs-card,
body.theme-dark .about-glance-card,
body.theme-dark .quality-docs-card {
    background: #0d1627 !important;
    border-color: #1a263e !important;
}

[data-theme="dark"] .about-glance-title,
[data-theme="dark"] .quality-docs-title,
body.theme-dark .about-glance-title,
body.theme-dark .quality-docs-title {
    color: #f8fafc !important;
}

[data-theme="dark"] .about-glance-content strong,
[data-theme="dark"] .quality-doc-item strong,
body.theme-dark .about-glance-content strong,
body.theme-dark .quality-doc-item strong {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .about-glance-content span,
[data-theme="dark"] .quality-doc-item p,
body.theme-dark .about-glance-content span,
body.theme-dark .quality-doc-item p {
    color: #94a3b8 !important;
}

[data-theme="dark"] .about-story-text,
[data-theme="dark"] .quality-policy-text,
body.theme-dark .about-story-text,
body.theme-dark .quality-policy-text {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .mission-vision-card,
[data-theme="dark"] .quality-step-card,
body.theme-dark .mission-vision-card,
body.theme-dark .quality-step-card {
    background: #111a2e !important;
    border-color: #1e2d48 !important;
}

[data-theme="dark"] .mission-vision-card h3,
[data-theme="dark"] .quality-step-card h3,
body.theme-dark .mission-vision-card h3,
body.theme-dark .quality-step-card h3 {
    color: #f8fafc !important;
}

[data-theme="dark"] .mission-vision-card p,
[data-theme="dark"] .quality-step-card p,
body.theme-dark .mission-vision-card p,
body.theme-dark .quality-step-card p {
    color: #94a3b8 !important;
}

[data-theme="dark"] .quality-guarantee-card,
body.theme-dark .quality-guarantee-card {
    background: rgba(217, 0, 0, 0.12) !important;
    border-color: rgba(217, 0, 0, 0.3) !important;
}

[data-theme="dark"] .quality-guarantee-text,
body.theme-dark .quality-guarantee-text {
    color: #cbd5e1 !important;
}


/* =====================================================
   HERO BANNER BACKGROUND IMAGE SLIDER ("Img Slide")
===================================================== */
.hero-banner.hero-has-slider {
    background: #0b1e38;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
    will-change: opacity, transform;
}

.hero-bg-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Effect: Zoom / Ken Burns Motion */
.hero-bg-slider[data-effect="zoom"] .hero-bg-slide.active {
    transform: scale(1.08);
}

/* Effect: Horizontal Slide Transition */
.hero-bg-slider[data-effect="slide"] .hero-bg-slide {
    transform: translateX(100%);
    transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.9s ease;
}

.hero-bg-slider[data-effect="slide"] .hero-bg-slide.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.hero-bg-slider[data-effect="slide"] .hero-bg-slide.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

/* Dark Gradient Overlay for Maximum Legibility of Hero Text & Form */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(11, 30, 56, var(--hero-overlay-opacity, 0.70)) 0%, 
        rgba(22, 47, 84, var(--hero-overlay-opacity, 0.70)) 50%, 
        rgba(12, 33, 61, var(--hero-overlay-opacity, 0.70)) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Slider Pagination Indicator Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    pointer-events: auto;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.15);
}

.hero-dot.active {
    background: var(--primary, #d90000);
    border-color: #ffffff;
    width: 32px;
    border-radius: 9999px;
    box-shadow: 0 0 10px rgba(217, 0, 0, 0.6);
}


/* =====================================================
   THEME WATER EFFECTS ("Them Effact")
===================================================== */
:root {
    --water-wave-color-1: rgba(14, 165, 233, 0.22);
    --water-wave-color-2: rgba(2, 132, 199, 0.38);
    --water-wave-color-3: rgba(11, 30, 56, 0.65);
    --water-wave-color-4: #0b1e38; /* matches site-footer */
    --water-ripple-color: rgba(14, 165, 233, 0.6);
}

/* Palette variations */
body[data-water-color="ocean_navy"] {
    --water-wave-color-1: rgba(3, 105, 161, 0.22);
    --water-wave-color-2: rgba(12, 74, 110, 0.42);
    --water-wave-color-3: rgba(8, 47, 73, 0.70);
    --water-wave-color-4: #082f49;
    --water-ripple-color: rgba(3, 105, 161, 0.6);
}
body[data-water-color="aqua_teal"] {
    --water-wave-color-1: rgba(20, 184, 166, 0.22);
    --water-wave-color-2: rgba(13, 148, 136, 0.42);
    --water-wave-color-3: rgba(15, 118, 110, 0.70);
    --water-wave-color-4: #0f766e;
    --water-ripple-color: rgba(20, 184, 166, 0.6);
}
body[data-water-color="royal_blue"] {
    --water-wave-color-1: rgba(59, 130, 246, 0.22);
    --water-wave-color-2: rgba(37, 99, 235, 0.42);
    --water-wave-color-3: rgba(29, 78, 216, 0.70);
    --water-wave-color-4: #1e3a8a;
    --water-ripple-color: rgba(59, 130, 246, 0.6);
}

/* Bottom Multi-Layer Waves Container */
.water-waves-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 5;
}

.water-waves-bottom {
    margin-bottom: -1px;
    height: 70px;
    background: transparent;
}

@media (min-width: 768px) {
    .water-waves-bottom {
        height: 110px;
    }
}

.water-waves {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Parallax wave animation */
.water-wave-parallax > use {
    animation: move-water-waves 12s cubic-bezier(.55,.5,.45,.5) infinite;
}

.water-wave-parallax > .wave-layer-1 {
    animation-delay: -2s;
    animation-duration: 7s;
    fill: var(--water-wave-color-1);
}

.water-wave-parallax > .wave-layer-2 {
    animation-delay: -3s;
    animation-duration: 10s;
    fill: var(--water-wave-color-2);
}

.water-wave-parallax > .wave-layer-3 {
    animation-delay: -4s;
    animation-duration: 13s;
    fill: var(--water-wave-color-3);
}

.water-wave-parallax > .wave-layer-4 {
    animation-delay: -5s;
    animation-duration: 20s;
    fill: var(--water-wave-color-4);
}

/* Wave speeds */
body[data-water-speed="slow"] .water-wave-parallax > use {
    animation-duration: 20s !important;
}
body[data-water-speed="moderate"] .water-wave-parallax > use {
    animation-duration: 7s !important;
}

@keyframes move-water-waves {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    50% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-90px, 0, 0);
    }
}

/* Top Wave Container */
.water-waves-top {
    height: 40px;
    transform: rotate(180deg);
    margin-top: -1px;
    margin-bottom: 0;
    background: transparent;
}
@media (min-width: 768px) {
    .water-waves-top {
        height: 60px;
    }
}
.water-waves-top .wave-top-layer-1 {
    animation: move-water-waves 8s cubic-bezier(.55,.5,.45,.5) infinite;
    animation-delay: -2s;
    fill: rgba(14, 165, 233, 0.18);
}
.water-waves-top .wave-top-layer-2 {
    animation: move-water-waves 12s cubic-bezier(.55,.5,.45,.5) infinite;
    animation-delay: -4s;
    fill: rgba(2, 132, 199, 0.28);
}
.water-waves-top .wave-top-layer-3 {
    animation: move-water-waves 16s cubic-bezier(.55,.5,.45,.5) infinite;
    animation-delay: -6s;
    fill: #f8fafc; /* seamlessly transitions into light section-bg */
}
[data-theme="dark"] .water-waves-top .wave-top-layer-3,
body.theme-dark .water-waves-top .wave-top-layer-3 {
    fill: #0b1322;
}

/* Ambient Floating Water Bubbles */
.water-bubbles-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.water-bubble {
    position: absolute;
    bottom: -60px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.9) 0%, rgba(14, 165, 233, 0.35) 55%, rgba(2, 132, 199, 0.45) 100%);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.7), 0 4px 10px rgba(14, 165, 233, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: bubble-float-rise linear infinite;
    will-change: transform, opacity;
}

@keyframes bubble-float-rise {
    0% {
        transform: translateY(0) translateX(0) scale(0.6);
        opacity: 0;
    }
    10% {
        opacity: 0.75;
    }
    50% {
        transform: translateY(-50vh) translateX(25px) scale(1);
        opacity: 0.85;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-110vh) translateX(-25px) scale(1.15);
        opacity: 0;
    }
}

/* Interactive Water Ripple Effect on Click */
.water-click-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    border: 2px solid var(--water-ripple-color, #0ea5e9);
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, rgba(2, 132, 199, 0.05) 70%, transparent 100%);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
    transform: translate(-50%, -50%) scale(0);
    animation: ripple-spread 0.75s ease-out forwards;
    z-index: 99999;
}

@keyframes ripple-spread {
    0% {
        width: 0;
        height: 0;
        opacity: 0.85;
        transform: translate(-50%, -50%) scale(0);
    }
    100% {
        width: 140px;
        height: 140px;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}
