/* ==========================================================================
   Health & Hygiene UK - Main Stylesheet
   Professional, SEO-optimized, responsive design
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --color-primary: #1a0a8f;
    --color-primary-dark: #12066a;
    --color-primary-light: #2d1bc7;
    --color-secondary: #e63946;
    --color-accent: #06b6d4;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-lighter: #999999;
    --color-heading: #3a3ea7;
    --color-white: #ffffff;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-section: #f0f2f5;
    --color-border: #e0e0e0;
    --color-border-light: #f0f0f0;

    /* Typography */
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --container-padding: 1rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;

    /* Z-index layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-float: 500;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-anchor: none;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', var(--font-heading);
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    z-index: var(--z-modal);
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --------------------------------------------------------------------------
   Top Bar
   -------------------------------------------------------------------------- */
.top-bar {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border-light);
    padding: 6px 0;
    overflow: visible;
    max-height: 44px;
}

.site-header.scrolled .top-bar {
    max-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom-width: 0 !important;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow: hidden;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.7rem;
    transition: all var(--transition-base);
}

.social-icons a.social-facebook {
    background-color: #1877F2;
}

.social-icons a.social-instagram {
    background-color: #1a1a1a;
}

.social-icons a.social-twitter {
    background-color: #1DA1F2;
}

.social-icons a.social-linkedin {
    background-color: #0A66C2;
}

.social-icons a:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.social-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    background-color: var(--color-primary);
    color: var(--color-white);
    transition: all var(--transition-base);
}

.social-login:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-arabic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    background: linear-gradient(135deg, #1a0a8f, #06b6d4);
    color: var(--color-white);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition-base);
}

.btn-arabic:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Language switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #1a0a8f, #06b6d4);
    color: var(--color-white);
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-base);
}

.lang-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    padding: 6px;
    margin: 0;
    list-style: none;
    display: none;
    z-index: var(--z-overlay);
}

.lang-switcher.open .lang-menu {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    font-size: 0.875rem;
    color: var(--color-text);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.lang-option:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

.lang-option.active {
    background: #eef2ff;
    color: var(--color-primary);
    font-weight: 600;
}

.lang-option .fa-check {
    font-size: 11px;
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Main Navigation - Sticky on scroll
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background-color: var(--color-white);
}

.main-nav {
    background-color: var(--color-white);
    padding: 5px 0;
    transition: box-shadow 0.3s ease;
    border-bottom: 1px solid var(--color-border-light);
}

.main-nav.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 4px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo + Tagline wrapper */
.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.nav-logo {
    display: block;
    line-height: 1;
    text-align: center;
}

.nav-logo img {
    height: 65px;
    width: auto;
}

.main-nav.scrolled .nav-logo img {
    height: 46px;
}

.nav-tagline {
    display: block;
    width: max-content;
    max-width: 178px; /* = logo rendered width at top (225px natural × 65/82 height) */
    align-self: center;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 0.1px;
    margin-top: 0;
    max-height: 34px;
    overflow: hidden;
    white-space: nowrap;
}

.main-nav.scrolled .nav-tagline {
    max-height: 26px;
    opacity: 1;
    margin-top: 2px;
    font-size: 0.55rem; /* scaled by logo shrink ratio (46/65) → tagline width = logo width */
    letter-spacing: 0.05px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: flex-end;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) 14px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
    transition: color var(--transition-base);
}

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

.nav-arrow {
    font-size: 0.5625rem;
    transition: transform var(--transition-base);
    opacity: 0.6;
}

.nav-item:hover>.nav-link .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background-color: #1e0b9b;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
}

.nav-item:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    position: relative;
}

.dropdown-item>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
    transition: all var(--transition-base);
}

.dropdown-item>a:hover,
.dropdown-item.has-submenu:hover>a {
    background-color: #0178fc;
    color: #ffffff;
}

.submenu-arrow {
    font-size: 0.75rem;
    transition: transform var(--transition-base);
}

/* Submenu */
.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 280px;
    background-color: #1e0b9b;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(0);
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
}

.has-submenu:hover>.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.has-submenu:hover>a .submenu-arrow {
    transform: rotate(90deg);
}

.submenu li a {
    display: block;
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
    transition: all var(--transition-base);
}

.submenu li a:hover {
    background-color: #0178fc;
    color: #ffffff;
    padding-left: 24px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: all var(--transition-base);
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: var(--z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background-color: var(--color-white);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
}

.mobile-nav-overlay.active .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-menu {
    padding: var(--spacing-xl) 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav-item>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: 500;
    color: var(--color-text);
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    font-size: 0.75rem;
    transition: transform var(--transition-base);
}

.mobile-dropdown-toggle[aria-expanded="true"] {
    transform: rotate(45deg);
}

.mobile-dropdown {
    display: none;
    background-color: var(--color-bg-light);
}

.mobile-dropdown.active {
    display: block;
}

.mobile-dropdown li a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-xl);
    padding-left: var(--spacing-3xl);
    font-size: 0.875rem;
    color: var(--color-text);
}

.mobile-dropdown li a:hover {
    color: var(--color-primary);
}

.mobile-dropdown .mobile-dropdown {
    background-color: var(--color-bg-section);
}

.mobile-dropdown .mobile-dropdown li a {
    padding-left: var(--spacing-4xl);
}

/* --------------------------------------------------------------------------
   Hero Section (Slider)
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    max-width: min(1250px, 92vw);
    z-index: 2;
    font-family: var(--font-heading);
}

/* ==========================================================================
   Hero slide text — rebuilt from scratch (hero-copy namespace)
   Structure: lead line → bold title → subtitle. All optional per slide.
   Ratios (reference): title ≈ 1.4x the lead, subtitle ≈ 0.55x the title.
   Lead & subtitle scale with the shared title custom property, so they
   always move together.
   ========================================================================== */
.hero-copy {
    --hero-title: clamp(2.1rem, 2.9vw, 3.4rem);
    --hero-line: calc(var(--hero-title) * 0.55);
    --hero-lead-gap: 0.35rem;
    --hero-shadow: 0 2px 4px rgba(0, 0, 0, 0.70), 0 6px 18px rgba(0, 0, 0, 0.60), 0 14px 40px rgba(0, 0, 0, 0.45);
    font-family: var(--font-heading);
    color: var(--color-white);
}

.hero-copy__lead {
    font-size: calc(var(--hero-title) * 0.7);
    font-weight: 300;
    line-height: 1.3;
    margin: 0 0 var(--hero-lead-gap);
    color: var(--color-white);
    text-shadow: var(--hero-shadow);
}

.hero-copy[data-text-color="blue"] .hero-copy__lead,
.hero-copy[data-text-color="blue"] .hero-copy__title,
.hero-copy[data-text-color="blue"] .hero-copy__title strong,
.hero-copy[data-text-color="blue"] .hero-copy__sub {
    color: var(--color-heading);
    text-shadow: none;
}

.hero-copy__title {
    margin: 0;
    color: var(--color-white);
    font-size: clamp(2rem, 2.6vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    text-shadow: var(--hero-shadow);
}

.hero-copy__title strong {
    display: block;
    font-size: var(--hero-title);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.5px;
    text-shadow: var(--hero-shadow);
}

.hero-copy__sub {
    font-size: var(--hero-line);
    font-weight: 300;
    line-height: 1.3;
    margin: 0.7rem 0 1.6rem;
    color: var(--color-white);
    text-shadow: var(--hero-shadow);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(55deg, #1a2faa 0%, #07ccec 85%);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 50px;
    transition: all var(--transition-base);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 3;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.hero-arrow.prev {
    left: 20px;
}

.hero-arrow.next {
    right: 20px;
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.hero-dot.active {
    background-color: var(--color-white);
    transform: scale(1.2);
}

/* --------------------------------------------------------------------------
   Section Styles
   -------------------------------------------------------------------------- */
.section {
    padding: var(--spacing-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 2px;
    margin: var(--spacing-md) auto;
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
}

.about-content h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-heading);
}

.about-content p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 0.9rem;
    text-align: justify;
}

.about-content .highlight-text {
    font-weight: 600;
    color: var(--color-primary);
}

.protection-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.protection-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.85rem;
}

.protection-item .check {
    color: var(--color-secondary);
    font-weight: 700;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 360px;
}

.about-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
}

.about-image::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-full);
    opacity: 0.1;
    z-index: -1;
}

/* --------------------------------------------------------------------------
   Company Section
   -------------------------------------------------------------------------- */
.company-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-light);
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.company-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.company-image img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.company-content h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-heading);
}

.company-content p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 0.9rem;
}

.company-content .highlight-text {
    font-weight: 600;
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Products Section (Home page only — scoped to avoid conflicts)
   -------------------------------------------------------------------------- */
.products-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--color-white);
}

.products-section .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.products-section .product-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: 0;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.products-section .product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.products-section .product-card-image {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 3px solid var(--color-border-light);
    transition: border-color var(--transition-base);
    flex-shrink: 0;
}

.products-section .product-card:hover .product-card-image {
    border-color: var(--color-primary);
}

.products-section .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-section .product-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-heading);
}

.products-section .product-card p {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 10px 28px;
    background: linear-gradient(135deg, #2b3990, #1a56db);
    color: var(--color-white);
    font-weight: 600;
    font-size: 14px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    width: 100%;
    height: 42px;
    box-sizing: border-box;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   Blogs Section
   -------------------------------------------------------------------------- */
.blogs-section {
    padding: var(--spacing-4xl) 0;
    background-color: var(--color-bg-light);
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.blog-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: var(--color-bg-light);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: var(--spacing-lg);
}

.blog-card h3 {
    font-size: 1.0625rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-heading);
    line-height: 1.4;
}

.blog-card h3 a:hover {
    color: var(--color-primary);
}

.blog-card p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.8125rem;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.view-all-btn {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-2xl);
}

/* --------------------------------------------------------------------------
   News Section
   -------------------------------------------------------------------------- */
.news-section {
    padding: var(--spacing-4xl) 0;
    background-color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
    padding: var(--spacing-4xl) 0;
    background-color: var(--color-bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-xl);
    color: var(--color-heading);
}

.contact-form {
    display: grid;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    color: var(--color-text);
    background-color: var(--color-white);
    transition: border-color var(--transition-base);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--color-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-lighter);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-2xl);
    background: linear-gradient(55deg, #1a2faa 0%, #07ccec 85%);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    width: fit-content;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--color-bg-section);
}

.footer-main {
    padding: 4rem 0 2.5rem;
}

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

.footer-logo {
    display: inline-block;
    margin-bottom: 2px;
}

.footer-logo img {
    height: 73px;
    width: auto;
}

.footer-tagline {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    display: block;
    margin-left: 0;
}

.footer-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.contact-item i {
    color: var(--color-primary);
    margin-top: 3px;
    width: 16px;
}

.contact-item a {
    color: var(--color-text-light);
}

.contact-item a:hover {
    color: var(--color-primary);
}

.footer-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: var(--spacing-lg);
}

.footer-col-divided {
    border-left: 1px solid #d9d9d9;
    padding-left: 28px;
    margin-left: -28px;
}

@media (max-width: 768px) {
    .footer-col-divided {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }
}

.footer-links li {
    margin-bottom: 0;
    padding: 0.4rem 0;
    border-bottom: 1px solid #e4e4e4;
}
.footer-links li:last-child {
    border-bottom: none;
}

.footer-links a {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    transition: all var(--transition-base);
}

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

.footer-blogs {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-blog-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footer-blog-item img {
    width: 105px;
    height: 84px;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 0;
}

.footer-blog-item a {
    margin-top: -2px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

.footer-blog-item a:hover {
    color: var(--color-primary);
}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.footer-gallery a {
    display: block;
    overflow: hidden;
}

.footer-gallery img {
    width: 100%;
    height: 88px;
    object-fit: cover;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-base);
}

.footer-gallery img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.footer-bottom {
    background-color: #1c2a3a;
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--color-accent);
    font-weight: 600;
}

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

/* --------------------------------------------------------------------------
   Floating Buttons
   -------------------------------------------------------------------------- */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: var(--z-float);
}

.float-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #1a3a7a;
    color: var(--color-white);
    font-size: 1.35rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(15, 25, 60, 0.40);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(27, 40, 100, 0.45);
}

.float-label {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.float-btn:hover .float-label {
    opacity: 1;
    visibility: visible;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-tagline {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    /* Top bar visible on mobile: social icons + language switcher.
       Login icon stays desktop-only. */
    .top-bar {
        padding: 4px 0;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .top-bar-right {
        gap: 12px;
    }

    .social-login {
        display: none;
    }

    .nav-tagline {
        display: none;
    }

    .nav-logo img {
        height: 60px;
    }

    .main-nav.scrolled .nav-logo img {
        height: 50px;
    }

    .hero-section {
        height: 50vh;
        min-height: 350px;
    }

    .hero-content {
        left: var(--spacing-lg);
        right: var(--spacing-lg);
    }

    .hero-copy {
        --hero-title: 1.9rem;
    }

    .hero-copy__title {
        font-size: 1.2rem;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .about-grid,
    .company-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--spacing-2xl) 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-copy {
        --hero-title: 1.7rem;
    }

    .hero-copy__title {
        font-size: 1.125rem;
    }

    .hero-arrow {
        display: none;
    }

    .products-section .product-card {
        padding: var(--spacing-lg);
    }

    .products-section .product-card-image {
        width: 120px;
        height: 120px;
    }
}

/* ==========================================================================
   Dynamic Category Pages (built from admin Page Content)
   ========================================================================== */
.page-banner {
    position: relative;
    min-height: clamp(220px, 32vw, 420px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #2b3990, #1e2a6e);
}

.page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

/* Banner Carousel — multiple banner images auto-slide every 3s */
.page-banner-carousel .page-banner-bg.banner-slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.page-banner-carousel .page-banner-bg {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.page-banner-carousel .page-banner-bg:first-child {
    opacity: 1;
}
.page-banner-carousel .page-banner-bg.active {
    opacity: 1;
}

.page-banner-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;
    /* title block sits on the left side */
}

.page-banner-content {
    text-align: left;
    max-width: 640px;
    padding: 48px 0;
}

.page-banner-content h1,
.page-banner-content .banner-h1 {
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin: 0 0 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    display: block;
}

.page-breadcrumb {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 0 18px rgba(0, 0, 0, 0.35);
    flex-wrap: wrap;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Category banners: bright images → blue title & breadcrumb instead of white */
.category-banner .page-banner-content h1,
.category-banner .page-banner-content .banner-h1 {
    color: #2b3990;
    text-shadow: none;
}

.category-banner .page-breadcrumb,
.category-banner .page-breadcrumb a {
    color: #2b3990;
    text-shadow: none;
}

.category-banner .page-breadcrumb .sep,
.category-banner .page-breadcrumb span[aria-hidden] {
    color: rgba(43, 57, 144, 0.55);
}

.category-banner .page-breadcrumb a:hover {
    color: #1a57db;
    text-decoration: underline;
}

/* Sections */
.page-section {
    padding: 18px 0;
}

.section-heading {
    color: var(--color-heading, #3a3ea7);
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    margin: 0 0 18px;
}

/* Registered trademark superscript — scales proportionally with parent font size */
sup.reg {
    font-size: 0.85em;
    font-weight: inherit;
    line-height: 0;
    vertical-align: super;
    margin-left: 1px;
    color: inherit;
}
.hero-copy sup.reg,
.hero-section sup.reg {
    font-size: 1.5em;
    font-weight: inherit;
    vertical-align: super;
    position: relative;
    top: 0.30em;
}

.section-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
}

/* Paragraphs typed with Enter sit tight — no extra gap between lines
   (matches how the content was authored). A deliberately blank paragraph
   still renders as one blank line, so spacing can be added when wanted. */
.section-text p { margin: 0; }
.section-text p + p { margin-top: 0; }
.section-text p:empty,
.section-text p > br:only-child { display: block; height: 0.9em; }
.section-text p.blank-line { display: block; height: 0.4em; }
.section-text p.blank-line-2 { display: block; height: 1.5em; }
.section-text p.blank-line-3 { display: block; height: 2.6em; }
.section-text p.blank-line-4 { display: block; height: 3.7em; }
.section-text p:last-child { margin-bottom: 0; }

/* ---- Rich text: bullet points / numbered lists (Technology + solution pages) ---- */
.section-text ul,
.technology-content ul {
    margin: 0 0 14px;
    padding-left: 22px;
}
.section-text ul li,
.technology-content ul li {
    margin-bottom: 6px;
    list-style: disc;
}
.section-text ul li::marker,
.technology-content ul li::marker { color: var(--color-primary); }
.section-text ol,
.technology-content ol {
    margin: 0 0 14px;
    padding-left: 22px;
}
.section-text ol li,
.technology-content ol li {
    margin-bottom: 6px;
    list-style: decimal;
}
.section-text ol li::marker,
.technology-content ol li::marker { color: var(--color-primary); font-weight: 600; }

/* ---- Rich text: tables (virus/bacteria comparison etc.) ---- */
.section-text table,
.technology-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 20px;
    font-size: 0.9rem;
}
.section-text th,
.technology-content th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 10px 14px;
    border: 1px solid #1a0a8f;
}
.section-text td,
.technology-content td {
    padding: 9px 14px;
    border: 1px solid #ccd4e4;
    color: #334155;
    vertical-align: top;
}
.section-text tbody tr:nth-child(even) td,
.technology-content tbody tr:nth-child(even) td {
    background: #f4f6fb;
}
.section-text img,
.technology-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* RTL: lists indent from the right */
[dir="rtl"] .section-text ul,
[dir="rtl"] .technology-content ul,
[dir="rtl"] .section-text ol,
[dir="rtl"] .technology-content ol {
    padding-left: 0;
    padding-right: 22px;
}

/* ---- Full-width section image ---- */
.section-full-image {
    margin-top: 24px;
    margin-bottom: 24px;
}
.section-full-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ---- Text + Image Side-by-Side (Professional Layout) ---- */
.text-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.text-image-grid.image-right {
    grid-template-columns: 1fr 1fr;
}
.text-image-grid.image-left {
    grid-template-columns: 1fr 1fr;
}
.text-image-grid.image-left .text-image-text {
    order: 2;
}
.text-image-grid.image-left .text-image-media {
    order: 1;
}
.text-image-text {
    padding: 0;
}
.section-text-image {
    padding-bottom: 18px;
}
.text-image-text .section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #3a3ea7;
    margin-bottom: 20px;
    line-height: 1.3;
}
.text-image-text .section-text {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #475569;
}
.text-image-text .section-text p {
    margin-bottom: 0;
}
.text-image-text .section-text p:empty,
.text-image-text .section-text p > br:only-child {
    display: block;
    height: 0.9em;
}
.text-image-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(15, 20, 60, 0.12);
}
.text-image-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.text-image-media:hover img {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
@media (min-width: 993px) {
    .natural-image .text-image-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}
/* Desktop: image fills its card edge-to-edge (no empty bands), capped at
   520px so a portrait photo never towers over the copy; columns centre. */
@media (min-width: 769px) {
    .text-image-grid,
    .text-image-grid.image-left,
    .text-image-grid.image-right {
        align-items: center;
    }
    .text-image-grid .text-image-media {
        height: auto;
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .text-image-grid,
    .text-image-grid.image-left {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .text-image-grid.image-left .text-image-text { order: 1; }
    .text-image-grid.image-left .text-image-media { order: 2; }
}

/* ==========================================================================
   Product Grid — Clean Professional Card Design
   Two cards per row, white background, compact layout
   ========================================================================== */
.section-products {
    padding: 24px 0;
    background: #ffffff;
}
.section-products .section-heading {
    text-align: center;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    color: #3a3ea7;
    margin-bottom: 32px;
    letter-spacing: -0.3px;
}
.section-products .section-heading::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #2b3990, #06b6d4);
    border-radius: 3px;
    margin: 12px auto 0;
}

/* ---- Grid ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 700px) {
    .product-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- Card Shell ---- */
.product-card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #d8deea;
    box-shadow: 0 2px 10px rgba(15, 20, 60, 0.08);
    transition: all 0.25s ease;
    position: relative;
}

.product-card:hover {
    border-color: #2b3990;
    box-shadow: 0 2px 12px rgba(43, 57, 144, 0.1);
}

/* ---- Image Carousel ---- */
.card-carousel {
    position: relative;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
}
.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.carousel-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    vertical-align: middle;
    background: #d8dee8;
}
.carousel-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 280px;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.85);
    color: #2b3990;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
}
.carousel-arrow:hover {
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: rgba(43, 57, 144, 0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}
.carousel-dot.active {
    background: #3b5de7;
}

/* ---- Card Details ---- */
.card-details {
    padding: 22px 26px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #3a3ea7;
    margin: 0 0 14px;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    letter-spacing: -0.2px;
}

/* ---- Specs with Simple Dots ---- */
.card-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}
.card-specs li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    border-bottom: 1px solid #f3f5f9;
    font-size: 0.87rem;
    color: #475569;
    line-height: 1.55;
}
.card-specs li:last-child {
    border-bottom: none;
}
.spec-dot {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(55deg, #1a2faa 0%, #07ccec 85%);
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.spec-dot svg {
    width: 11px;
    height: 11px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
}
.spec-text {
    flex: 1;
}
.spec-text strong {
    color: #1e293b;
    font-weight: 700;
}

/* ---- Enquire Now CTA ---- */
.card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(55deg, #1a2faa 0%, #07ccec 85%);
    color: #fff;
    border-radius: 0;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    margin-top: auto;
}
.card-cta:hover {
    background: linear-gradient(55deg, #12207a 0%, #06b3d4 85%);
    box-shadow: 0 4px 16px rgba(26, 47, 170, 0.35);
    color: #fff;
}
.card-cta svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
}

/* ---- Category Grid & Cards ---- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .category-grid { grid-template-columns: 1fr; }
}
.category-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(15, 20, 60, 0.06);
    transition: all 0.25s ease;
    padding: 28px 24px 24px;
}
.category-card:hover {
    border-color: #393c97;
    box-shadow: 0 4px 20px rgba(57, 60, 151, 0.12);
    transform: translateY(-3px);
}
.category-card-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-placeholder svg {
    width: 56px;
    height: 56px;
    stroke: #c1c8d4;
}
.category-card-title {
    margin: 18px 0 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
}
.category-card-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 18px;
    flex: 1;
    max-width: 280px;
}
.category-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 11px 30px;
    background: linear-gradient(90deg, #1a2faa 0%, #07ccec 100%);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(26, 47, 170, 0.25);
    margin-top: auto;
    min-width: 140px;
}
.category-card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(26, 47, 170, 0.38);
    color: #ffffff;
}
.category-card-cta svg {
    display: none;
}

.page-section.no-heading:last-of-type {
    padding-bottom: 40px;
}

.page-banner + .page-section {
    padding-top: 28px;
}
.page-banner + .page-section.no-heading {
    padding-top: 28px;
}
.banner-tagline+.page-section {
    padding-top: 26px;
}
.banner-tagline+.page-section.no-heading {
    padding-top: 26px;
}

/* ---- CTA Section Button ---- */
.cta-button-wrap {
    text-align: center;
    margin-top: 28px;
    margin-bottom: 32px;
}
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(55deg, #1a2faa 0%, #07ccec 85%);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(26, 10, 143, 0.25);
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26, 47, 170, 0.35);
    background: linear-gradient(55deg, #12207a 0%, #06b3d4 85%);
    color: #fff;
}
.cta-button svg {
    flex-shrink: 0;
}

/* ---- Section with no heading — same uniform rhythm as other sections ---- */
.page-section.no-heading {
    padding-top: 18px;
    padding-bottom: 18px;
}

/* ---- Auto-generated Sub-Category Tagline ---- */
.subcategory-tagline {
    padding: 24px 0;
    background: #fff;
    border-bottom: 1px solid #e8ecf2;
}
.subcategory-tagline-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 0;
}
.subcategory-tagline-inner a {
    display: inline-block;
    padding: 6px 16px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a0a8f;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.subcategory-tagline-inner a:hover {
    color: #0178fc;
    text-decoration: underline;
}
.subcategory-tagline-sep {
    display: inline-block;
    width: 1px;
    height: 20px;
    background: #cbd5e1;
    margin: 0 12px;
    vertical-align: middle;
}
@media (max-width: 768px) {
    /* Chip-style sub-category links: clean wrapped pills, no stray separators */
    .subcategory-tagline { padding: 12px 0; }
    .subcategory-tagline-inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .subcategory-tagline-inner a {
        font-size: 0.8rem;
        font-weight: 600;
        padding: 7px 14px;
        background: #f4f6fb;
        border: 1px solid #dfe4ef;
        color: #1a0a8f;
        line-height: 1.3;
        white-space: normal;
        text-align: center;
    }
    .subcategory-tagline-inner a:hover {
        background: #e8edf9;
        text-decoration: none;
    }
    .subcategory-tagline-sep { display: none; }
}

/* ==================================================================
   ALT CARD LAYOUT — Non-Oral-Care Categories (Household, Healthcare, etc.)
   3 columns per row, product code badge, left-aligned title
   ================================================================== */
.alt-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
}
.alt-card {
    background: #ffffff;
    border: 1px solid #d8deea;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(15, 20, 60, 0.08);
}
.alt-card:hover {
    border-color: #2b3990;
    box-shadow: 0 6px 20px rgba(43, 57, 144, 0.1);
    transform: translateY(-3px);
}
.alt-card .card-carousel {
    position: relative;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    height: 280px;
}
.alt-card .card-carousel .carousel-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.alt-card .card-carousel .carousel-slide {
    position: absolute;
    inset: 0;
}
.alt-card .card-carousel .carousel-slide.active {
    position: relative;
}
.alt-card .card-carousel img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
}
.alt-card:hover .card-carousel img {
    transform: scale(1.03);
}
.alt-card-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.alt-code-badge {
    display: inline-block;
    background: linear-gradient(55deg, #1a2faa 0%, #07ccec 85%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 0;
    margin-bottom: 10px;
    align-self: flex-start;
}
.alt-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #3a3ea7;
    margin: 0 0 14px;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
    text-align: left;
}
.alt-card-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}
.alt-card-specs li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f3f5f9;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
}
.alt-card-specs li:last-child {
    border-bottom: none;
}
.alt-spec-dot {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(55deg, #1a2faa 0%, #07ccec 85%);
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.alt-spec-dot svg {
    width: 11px;
    height: 11px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
}
.alt-spec-text {
    flex: 1;
}
.alt-spec-text strong {
    color: #1e293b;
    font-weight: 700;
}
/* Alt card Enquire button — compact so card height barely changes.
   `margin-top: auto` bottom-aligns it so every button in a row sits on the
   same line, regardless of how many lines the title takes. */
.alt-card-title {
    margin-bottom: 18px;
}
.alt-card-specs {
    margin-bottom: 18px;
}
.alt-card-cta {
    margin-top: auto;
    padding: 9px 16px;
    font-size: 0.84rem;
    background: linear-gradient(55deg, #1a2faa 0%, #07ccec 85%);
    color: #fff;
    border-radius: 0;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.alt-card-cta:hover {
    background: linear-gradient(55deg, #12207a 0%, #06b3d4 85%);
    color: #fff;
}
@media (max-width: 992px) {
    .alt-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}@media (max-width: 600px) {
    .alt-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================================
   SOLUTION CARDS — Industrial Solutions
   3 per row, circular image, clean professional look
   ================================================================== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: #ffffff;
    border: 1px solid #e8ecf2;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 0 28px 32px;
    height: 100%;
}

.solution-card:hover {
    border-color: #2b3990;
    box-shadow: 0 6px 20px rgba(43, 57, 144, 0.1);
    transform: translateY(-3px);
}

.solution-card-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #e8ecf2;
    flex-shrink: 0;
    margin: 24px auto 20px;
    transition: border-color 0.25s ease;
}

.solution-card:hover .solution-card-image {
    border-color: #2b3990;
}

.solution-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.solution-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.solution-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.solution-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a0a8f;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    min-height: 3.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: linear-gradient(135deg, #2b3990, #06b6d4);
    color: #fff;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(43, 57, 144, 0.25);
}

.solution-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 57, 144, 0.35);
    color: #fff;
}

.section-solutions {
    padding: 56px 0;
    background: #ffffff;
}

@media (max-width: 992px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }
    .solution-card-image {
        width: 160px;
        height: 160px;
    }
}

/* ------------------------------------------------------------------
   Brochures Page
   ------------------------------------------------------------------ */
.brochures-section {
    padding: 50px 0 40px;
    background: #f8fafc;
}
.brochures-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.brochure-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.brochure-card {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    padding: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    text-decoration: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.brochure-card:hover {
    border-color: #2b3990;
    box-shadow: 0 6px 20px rgba(43,57,144,0.1);
}
.brochure-cover {
    width: 100%;
    aspect-ratio: 3/3.8;
    overflow: hidden;
    border-radius: 3px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brochure-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.brochure-cover-placeholder {
    font-size: 32px;
    opacity: 0.3;
}
.brochure-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: linear-gradient(55deg, #1a2faa 0%, #07ccec 85%);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    text-align: center;
    transition: background 0.2s, transform 0.15s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brochure-pill:hover {
    background: linear-gradient(55deg, #12207a 0%, #06b3d4 85%);
    transform: translateY(-1px);
}
.brochure-card-btn:hover {
    background: linear-gradient(55deg, #12207a 0%, #06b3d4 85%);
    transform: translateY(-1px);
}
.brochure-pdf-section {
    padding: 40px 0 60px;
    background: #fff;
}
.brochure-pdf-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    border-left: 4px solid #2b3990;
    padding-left: 14px;
}
.brochure-pdf-viewer {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    background: #3a3a3a;
    height: 650px;
    display: flex;
    flex-direction: column;
    width: 100%;
}
.pdf-pages-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 8px;
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
}
.pdf-page-wrapper {
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.2);
    flex-shrink: 0;
    line-height: 0;
}
.pdf-canvas {
    display: block;
    max-width: 100%;
    height: auto;
}
.pdf-pages-container::-webkit-scrollbar {
    width: 8px;
}
.pdf-pages-container::-webkit-scrollbar-track {
    background: #1a1a1a;
}
.pdf-pages-container::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}
.pdf-pages-container::-webkit-scrollbar-thumb:hover {
    background: #777;
}
.pdf-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    background: #2a2a2a;
    border-top: 1px solid #444;
    flex-shrink: 0;
}
.pdf-page-info {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.pdf-zoom-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}
.pdf-zoom-btn {
    background: #444;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 3px;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.pdf-zoom-btn:hover {
    background: #666;
}
.pdf-zoom-fit {
    font-size: 13px;
}
.brochure-pdf-actions {
    text-align: center;
    margin-top: 16px;
}
.brochure-pdf-actions .btn-primary {
    background: linear-gradient(55deg, #1a2faa 0%, #07ccec 85%);
    color: #fff;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    width: auto;
    height: 42px;
}
.brochure-pdf-actions .btn-primary:hover {
    background: linear-gradient(55deg, #12207a 0%, #06b3d4 85%);
}
@media (max-width: 1024px) {
    .brochures-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .brochures-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .brochures-grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------------
   Contact Page
   ------------------------------------------------------------------ */
.contact-section {
    padding: 60px 0 80px;
    background: #f8fafc;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-info-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}
.contact-info-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 32px;
    line-height: 1.6;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}
.contact-info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(55deg, #1a2faa 0%, #07ccec 85%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-icon svg {
    color: #fff;
}
.contact-info-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 4px;
}
.contact-info-item p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}
.contact-info-item a {
    color: #1a2faa;
    text-decoration: none;
}
.contact-info-item a:hover {
    text-decoration: underline;
}
.contact-map {
    margin-top: 28px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.contact-form-wrapper {
    background: #fff;
    border-radius: 10px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.contact-form-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a2faa;
    margin: 0 0 28px;
}
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-form-field {
    margin-bottom: 18px;
}
.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    font-size: 14px;
    font-family: inherit;
    color: #1a1a2e;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.contact-form-field input:focus,
.contact-form-field textarea:focus {
    outline: none;
    border-color: #1a2faa;
    box-shadow: 0 0 0 3px rgba(26,47,170,0.1);
    background: #fff;
}
.contact-form-field textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-form-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(55deg, #1a2faa 0%, #07ccec 85%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.contact-form-btn:hover {
    background: linear-gradient(55deg, #12207a 0%, #06b3d4 85%);
    transform: translateY(-1px);
}
.contact-form-success {
    text-align: center;
    padding: 40px 20px;
}
.contact-form-success h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin: 16px 0 8px;
}
.contact-form-success p {
    color: #64748b;
    font-size: 15px;
}
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CATEGORY PAGES — Mobile-first polish (main + subcategory, all languages)
   ========================================================================== */
@media (max-width: 992px) {
    .text-image-grid,
    .text-image-grid.image-left,
    .text-image-grid.image-right {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .text-image-grid.image-left .text-image-text { order: 1; }
    .text-image-grid.image-left .text-image-media { order: 2; }
}

@media (max-width: 768px) {
    /* Banner: shorter, tighter title + breadcrumb */
    .page-banner { min-height: 150px; }
    .page-banner-content { padding: 26px 0; max-width: 100%; }
    .page-banner-content h1,
    .page-banner-content .banner-h1 { font-size: 1.5rem; margin-bottom: 8px; }
    .page-breadcrumb { font-size: 0.82rem; gap: 6px; }

    /* Uniform, compact section rhythm */
    .page-section,
    .section-products { padding: 12px 0; }
    .page-banner + .page-section,
    .banner-tagline + .page-section { padding-top: 20px; }
    .section-heading { margin-bottom: 12px; }
    .section-full-image { margin: 16px 0; }

    /* Text + image: readable text, contained image */
    .text-image-grid { gap: 12px; }
    .text-image-text .section-heading { font-size: 1.3rem; margin-bottom: 10px; }
    .text-image-media { border-radius: 8px; box-shadow: none; }
    .text-image-media img { border-radius: 8px; }

    /* Sub-category chips styled in the subcategory-tagline block above */

    /* Product cards: single column, image not taller than needed */
    .product-grid,
    .alt-grid { grid-template-columns: 1fr; gap: 20px; max-width: 100%; }
    .alt-card .card-carousel { height: 210px; }
    .alt-card .card-carousel img { height: 210px; }
    .alt-card-body { padding: 14px 14px 16px; }
    .alt-card-title { font-size: 1rem; margin-bottom: 10px; }
    .cta-button-wrap { margin-top: 16px; margin-bottom: 8px; }
}

@media (max-width: 380px) {
    .page-banner-content h1,
    .page-banner-content .banner-h1 { font-size: 1.25rem; }
    .alt-card .card-carousel,
    .alt-card .card-carousel img { height: 180px; }
    .card-details { padding: 16px 14px 18px; }
    .card-title { font-size: 1rem; margin-bottom: 10px; }
    .card-specs li { font-size: 0.84rem; }
    .subcategory-tagline-inner a { font-size: 0.85rem; padding: 5px 10px; }
}

/* Fluid card image height on mid screens (keeps design, prevents overflow gaps) */
@media (max-width: 480px) {
    .product-card .card-carousel { min-height: 220px; }
    .product-card .carousel-slide img { max-height: 320px; }
}


/* Brand ® renders as the plain unicode character — no superscript styling (user request). */

/* ---------------------------------------------------------------------------
   Page banner text colour — Admin option (White / Blue), same idea as the
   home hero. Applied via data-text-color on every banner content wrapper.
   --------------------------------------------------------------------------- */
.page-banner-content[data-text-color="white"] h1,
.page-banner-content[data-text-color="white"] .banner-h1 {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.page-banner-content[data-text-color="white"] .page-breadcrumb,
.page-banner-content[data-text-color="white"] .page-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 0 18px rgba(0, 0, 0, 0.35);
}

.page-banner-content[data-text-color="white"] .page-breadcrumb .sep,
.page-banner-content[data-text-color="white"] .page-breadcrumb span[aria-hidden] {
    color: rgba(255, 255, 255, 0.55);
}

.page-banner-content[data-text-color="blue"] h1,
.page-banner-content[data-text-color="blue"] .banner-h1 {
    color: #2b3990;
    text-shadow: none;
}

.page-banner-content[data-text-color="blue"] .page-breadcrumb,
.page-banner-content[data-text-color="blue"] .page-breadcrumb a {
    color: #2b3990;
    text-shadow: none;
}

.page-banner-content[data-text-color="blue"] .page-breadcrumb .sep,
.page-banner-content[data-text-color="blue"] .page-breadcrumb span[aria-hidden] {
    color: rgba(43, 57, 144, 0.55);
}

.page-banner-subheading {
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1.15rem, 2.5vw, 1.9rem);
    font-weight: 700;
    margin: 0 0 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.category-banner .page-banner-content .page-banner-subheading {
    color: #2b3990;
    text-shadow: none;
}

/* Special case: building-infrastructure flooring section - image equals text height */
@media (min-width: 993px) {
    .fill-media .text-image-grid { align-items: stretch; }
    .fill-media .text-image-media { position: relative; height: auto; }
    .fill-media .text-image-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
}

/* Tighter bottom spacing for building-infrastructure flooring section only */
.fill-media { padding-bottom: 0; }
.fill-media + .page-section { padding-top: 8px; }
