/*
Theme Name: Biolab System
Author: OpenAI Codex
Description: Custom WordPress theme conversion for Biolab System based on the provided static website.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: biolab-system
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1e293b;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ----- Full-page loader (logo + dots) ----- */
.site-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f8fafc 0%, #eef6ff 55%, #ffffff 100%);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-loader--hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.site-loader-logo {
    width: 108px;
    height: 108px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(1, 112, 201, 0.22);
    border: 2px solid rgba(255, 255, 255, 0.95);
}

.site-loader-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.site-loader-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0170C9;
    opacity: 0.35;
    animation: site-loader-dot-bounce 0.95s ease-in-out infinite;
}

.site-loader-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.site-loader-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes site-loader-dot-bounce {

    0%,
    70%,
    100% {
        transform: translateY(0);
        opacity: 0.35;
    }

    35% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-loader-dots span {
        animation: none;
        opacity: 0.75;
    }
}

h1,
h2,
h3,
h4,
h5,
.logo,
.nav-link,
.cta-btn {
    font-family: 'Poppins', sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 36px;
}

:root {
    --header-height: 96px;
    --primary: #0170C9;
    --primary-dark: #0154a0;
    --primary-soft: rgba(1, 112, 201, 0.08);
    --white: #ffffff;
    --gray-light: #f9fafc;
    --gray-bg: #f2f5f9;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --border-light: #e9eef3;
    --shadow-elegant: 0 20px 35px rgba(0, 0, 0, 0.03), 0 8px 18px rgba(1, 112, 201, 0.05);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --transition: all 0.3s ease;
}

/* ----- Professional Header ----- */
header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(1, 112, 201, 0.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
}

.nav-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
}

.logo-text {
    font-weight: 700;
    font-size: 1.6rem;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary);
    font-weight: 800;
}

.nav-menu {
    display: flex;
    gap: 38px;
    align-items: center;
    justify-self: center;
}

/* Mobile menu button (hidden by default) */
.mobile-menu-button {
    display: none;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-menu-button .bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    margin: 3px 0;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Sidebar and overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 350;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: -24px 0 48px rgba(15, 23, 42, 0.12);
    transition: right 0.32s ease;
    z-index: 400;
    padding: 28px 20px;
    overflow-y: auto;
}

.mobile-sidebar.open {
    right: 0;
}

.mobile-sidebar .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mobile-sidebar .nav-link {
    display: block;
    padding: 8px 0;
    color: var(--text-dark);
    font-weight: 600;
}

/* Mobile-specific adjustments */
@media (max-width: 900px) {
    .mobile-menu-button {
        display: inline-flex;
    }

    .nav-menu {
        display: none;
    }

    .logo-text {
        display: none;
    }

    /* make header a simple flex row on mobile so we can control order */
    .nav-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
    }

    /* hide phone text but keep icon */
    .header-contact {
        padding: 6px 10px;
        max-width: 160px;
        justify-self: end;
    }

    .header-contact i {
        font-size: 1.05rem;
        display: inline-block;
        vertical-align: middle;
    }

    .header-contact .phone-text {
        display: none;
    }

    /* place items in desired order: logo (1), phone (2), menu (3) */
    .logo-area {
        order: 1;
        margin-right: auto;
    }

    .header-contact {
        order: 2;
        margin-right: 6px;
    }

    .mobile-menu-button {
        order: 3;
    }

    /* standard 3-line hamburger: transparent background, visible bars, accessible hit area */
    .mobile-menu-button {
        width: 44px;
        height: 44px;
        background: transparent;
        border-radius: 4px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 8px;
        border: none;
        position: static;
        /* ensure it participates in flex layout */
    }

    .mobile-menu-button .bar {
        width: 20px;
        height: 2px;
        background: var(--primary);
        display: block;
        margin: 3px 0;
    }

    header {
        padding: 12px 0;
    }

    /* tighten phone pill width so hamburger fits */
    .header-contact {
        max-width: 120px;
        padding: 6px 8px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .mobile-sidebar,
    .mobile-overlay {
        transition: none !important;
    }
}

.nav-link {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--primary);
    border-radius: 4px;
}

.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown>.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-item-dropdown>.nav-link .nav-caret {
    font-size: 0.65rem;
    opacity: 0.7;
}

.nav-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 260px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 0 0 1px var(--border-light);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s, transform 0.2s ease;
    z-index: 200;
}

.nav-item-dropdown:hover .nav-dropdown-panel,
.nav-item-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-panel a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.nav-dropdown-panel a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.header-contact {
    background: var(--primary-soft);
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.header-contact:hover,
.header-contact:focus {
    text-decoration: none;
}

/* ----- Hero Slider: viewport minus header, crossfade slides ----- */
.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    overflow: hidden;
    background: #000;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 0s linear 1s;
    z-index: 0;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease-in-out, visibility 0s linear 0s;
    z-index: 1;
    pointer-events: auto;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 50%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.slide-tag {
    background: rgba(1, 112, 201, 0.9);
    backdrop-filter: blur(4px);
    display: inline-block;
    padding: 10px 28px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.slide h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.slide p {
    font-size: 1.25rem;
    opacity: 0.92;
    margin-bottom: 0;
    font-weight: 400;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    color: rgba(255, 255, 255, 0.9);
    font-size: 2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: hero-bounce 2s ease-in-out infinite;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-scroll-hint span {
    font-size: 0.7rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}

.hero-scroll-hint:hover {
    color: white;
}

@keyframes hero-bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.slide-btn {
    background: white;
    color: #0f172a;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 40px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.25s;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    font-size: 1rem;
}

.slide-btn i {
    color: var(--primary);
}

.slide-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.slide-btn:hover i {
    color: white;
}

.slider-nav {
    position: absolute;
    bottom: 96px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.nav-dot.active {
    background: white;
    width: 34px;
    border-radius: 20px;
}

.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-btn:hover {
    background: white;
    color: var(--primary);
}

.prev {
    left: 32px;
}

.next {
    right: 32px;
}

/* Sections general */
.section-padding {
    padding: 90px 0;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 18px;
}

/* ===== WHO WE ARE - WELL BALANCED REDESIGN ===== */
.about-professional {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    scroll-margin-top: calc(var(--header-height) + 12px);
}

.about-professional::before {
    /* Left decorative panel */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 36%;
    height: 100%;
    background-image: url("images/Left.jpg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: left center;
    opacity: 0.42;
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
    animation: panelFloatLeft 20s ease-in-out infinite;
}

.about-professional::after {
    /* Right decorative panel */
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 36%;
    height: 100%;
    background-image: url("images/Right.jpg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right center;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
    animation: panelFloatRight 20s ease-in-out infinite;
}

@keyframes panelFloatLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(14px, 8px, 0) rotate(-0.15deg);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes panelFloatRight {
    0% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-14px, 8px, 0) rotate(0.15deg);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .about-professional::before,
    .about-professional::after {
        animation: none !important;
        will-change: auto;
    }
}

.about-professional .container {
    position: relative;
    z-index: 1;
}

.about-shell {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 249, 255, 0.98) 100%);
    border: 1px solid rgba(1, 112, 201, 0.08);
    border-radius: 34px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.07);
    padding: 52px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
    gap: 72px;
    align-items: center;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 540px;
}

.about-image-main {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 32px 60px rgba(15, 23, 42, 0.16);
    display: block;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 20px -20px -20px 20px;
    border-radius: 34px;
    border: 1px solid rgba(1, 112, 201, 0.12);
    z-index: -1;
}

.about-image-badge {
    position: absolute;
    right: -18px;
    bottom: 26px;
    width: min(300px, calc(100% - 36px));
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.about-badge-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0170C9;
    margin-bottom: 10px;
}

.about-image-badge strong {
    font-size: 1.05rem;
    color: #0f172a;
    display: block;
    line-height: 1.55;
}

.about-info {
    max-width: 620px;
}

.about-label {
    color: #0170C9;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: block;
}

.about-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 22px;
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.about-copy {
    display: grid;
    gap: 18px;
    margin-bottom: 34px;
}

.about-description {
    color: #475569;
    font-size: 1.03rem;
    line-height: 1.82;
    margin-bottom: 0;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.about-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(1, 112, 201, 0.1);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.about-highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(1, 112, 201, 0.14) 0%, rgba(1, 112, 201, 0.05) 100%);
    color: #0170C9;
    font-size: 1.1rem;
}

.about-highlight h3 {
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 6px;
}

.about-highlight p {
    color: #64748b;
    font-size: 0.93rem;
    line-height: 1.65;
}

.pillars {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pillar-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pillar-icon-box {
    background: #f0f7ff;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0170C9;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pillar-content h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #0f172a;
}

.pillar-content p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== WHY BIOLAB SYSTEM - BLUE BACKGROUND ===== */
.why-section {
    background: #0170C9;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.why-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.why-container {
    position: relative;
    z-index: 2;
}

.why-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    color: white;
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.why-header h2 {
    color: white;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.why-header .why-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.why-card {
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 38px 28px;
    text-align: center;
    transition: all 0.35s ease;
    color: white;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-10px);
    box-shadow: 0 28px 45px rgba(0, 0, 0, 0.25);
}

.why-icon-circle {
    background: white;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: #0170C9;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.why-card:hover .why-icon-circle {
    transform: scale(1.07);
}

.why-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.why-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* ===== PRODUCT CATEGORIES GRID WITH IMAGES ===== */
.product-section {
    background: #ffffff;
}

.product-header {
    text-align: center;
    margin-bottom: 56px;
}

.product-label {
    color: #0170C9;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 14px;
    display: block;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    border: 1px solid #edf2f9;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 45px rgba(1, 112, 201, 0.1);
    border-color: rgba(1, 112, 201, 0.3);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 26px 24px 28px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.product-info p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.product-arrow {
    margin-top: 14px;
    color: #0170C9;
    font-size: 1.1rem;
    transition: 0.2s;
}

.product-card:hover .product-arrow {
    transform: translateX(4px);
}

.cta-primary {
    background: #0170C9;
    color: white;
    padding: 14px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    border: none;
}

.cta-primary:hover {
    background: #0159a0;
}

/* ===== STATS COUNTER SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, #0b1e33 0%, #0e2d4d 50%, #0170C9 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    top: -150px;
    right: -100px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 10px 0;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== ICON-BASED PRODUCT CARDS ===== */
.product-card-icon {
    background: white;
    border-radius: 24px;
    padding: 40px 28px 32px;
    text-align: center;
    text-decoration: none;
    border: 1px solid #edf2f9;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card-icon:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 50px rgba(1, 112, 201, 0.12);
    border-color: rgba(1, 112, 201, 0.25);
}

.product-card-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0170C9, #0154a0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    box-shadow: 0 12px 28px rgba(1, 112, 201, 0.3);
    transition: all 0.3s ease;
}

.product-card-icon:hover .product-card-icon-circle {
    transform: scale(1.08);
    box-shadow: 0 16px 35px rgba(1, 112, 201, 0.4);
}

.product-card-icon h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-card-icon p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.product-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    margin-top: auto;
}

.product-card-icon:hover .product-card-link {
    gap: 12px;
}

.product-card-link i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.product-card-icon:hover .product-card-link i {
    transform: translateX(3px);
}

/* ===== TRUSTED BY SECTION ===== */
.trusted-section {
    background: #f4f7fb;
    padding: 80px 0;
    border-top: 1px solid #e8eef5;
    border-bottom: 1px solid #e8eef5;
}

.trusted-header {
    text-align: center;
    margin-bottom: 50px;
}

.trusted-label {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 14px;
    display: block;
}

.trusted-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.trusted-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.trusted-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.trusted-item {
    background: white;
    border-radius: 20px;
    padding: 32px 20px;
    text-align: center;
    border: 1px solid #edf2f9;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.trusted-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(1, 112, 201, 0.1);
    border-color: rgba(1, 112, 201, 0.2);
}

.trusted-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 14px;
    display: block;
}

.trusted-item span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE FOR NEW SECTIONS ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .trusted-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .trusted-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-shell {
        padding: 40px 32px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .trusted-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== INNER PAGES ===== */
.page-hero {
    background: linear-gradient(130deg, #f4f8ff 0%, #e6f1ff 55%, #f7fbff 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero-min {
    background: url("images/science-instruments-laboratory-room-science-research-concept-scaled-1-2048x1366.jpg") center/cover no-repeat;
    padding: 60px 0 60px;
    border-bottom: 1px solid #e8eef5;
    position: relative;
    color: #ffffff;
}

.page-hero-min::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(1, 112, 201, 0.90);
    z-index: 0;
}

.page-hero-min .page-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.page-hero-min h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
}

.page-hero-min p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(1, 112, 201, 0.08);
    top: -120px;
    left: -80px;
}

.page-hero::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(1, 112, 201, 0.12);
    bottom: -120px;
    right: -60px;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 560px;
    line-height: 1.7;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 40px;
    background: rgba(1, 112, 201, 0.12);
    color: #0154a0;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.cta-outline {
    border: 1px solid #0170C9;
    color: #0170C9;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.cta-outline:hover {
    background: #0170C9;
    color: white;
}

.page-section {
    padding: 80px 0;
    background: #ffffff;
}

.page-section.alt {
    background: #f6f8fb;
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    align-items: center;
}

.page-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-elegant);
}

/* About page cards spacing tweak */
.card-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid #edf2f9;
    box-shadow: 0 12px 28px rgba(1, 112, 201, 0.08);
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.list-check {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}

.list-check li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #475569;
}

.list-check i {
    color: #0170C9;
    margin-top: 4px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.card-grid .info-card {
    height: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: start;
}

.contact-card {
    background: #0170C9;
    border-radius: 24px;
    padding: 36px 32px 32px;
    color: #e2e8f0;
}

.contact-card h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.45rem;
    letter-spacing: -0.02em;
}

.contact-card-intro {
    margin: 0 0 32px;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.92);
    font-size: 1rem;
    max-width: 34em;
}

.contact-details-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-card .footer-contact-item {
    color: #e2e8f0;
    margin-bottom: 0;
    gap: 16px;
    padding: 20px 0;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-card .footer-contact-item:first-child {
    padding-top: 8px;
}

.contact-card .footer-contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-card .footer-contact-item i {
    margin-top: 3px;
    width: 1.25rem;
    flex-shrink: 0;
    text-align: center;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
}

.contact-card .footer-contact-item span {
    line-height: 1.6;
    font-size: 0.98rem;
}

.contact-form {
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #edf2f9;
    box-shadow: 0 18px 35px rgba(1, 112, 201, 0.08);
}

.contact-form label {
    font-weight: 600;
    color: #0f172a;
    display: block;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid #dbe4ef;
    background: #f8fafc;
    margin-bottom: 18px;
    font-family: 'Inter', sans-serif;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

/* ===== REDESIGNED CONTACT PAGE ===== */

/* Contact Hero */
.contact-hero {
    background: linear-gradient(135deg, #0b1e33 0%, #0e2d4d 40%, #0170C9 100%);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    top: -150px;
    right: -100px;
}

.contact-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    bottom: -120px;
    left: -80px;
}

.contact-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: white;
    padding: 10px 26px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.8px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.2;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Contact Info Cards */
.contact-cards-section {
    padding: 50px 0 10px;
    margin-top: 0;
    position: relative;
    z-index: 5;
    margin-bottom: 60px;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #edf2f9;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(1, 112, 201, 0.12);
    border-color: rgba(1, 112, 201, 0.2);
}

.contact-info-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0170C9, #0154a0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(1, 112, 201, 0.25);
}

.contact-info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* Main Contact Section */
.contact-main-section {
    padding: 0 0 90px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Contact Form Card */
.contact-form-card {
    background: white;
    border-radius: 24px;
    padding: 44px 40px;
    border: 1px solid #edf2f9;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.05);
}

.contact-form-header {
    margin-bottom: 32px;
}

.contact-form-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form-modern .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-modern .form-group {
    margin-bottom: 22px;
}

.contact-form-modern label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-form-modern label .required {
    color: #ef4444;
}

.contact-form-modern input,
.contact-form-modern textarea,
.contact-form-modern select {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.contact-form-modern input:focus,
.contact-form-modern textarea:focus,
.contact-form-modern select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(1, 112, 201, 0.08);
    background: white;
}

.contact-form-modern input::placeholder,
.contact-form-modern textarea::placeholder {
    color: #94a3b8;
}

.contact-form-modern textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0170C9, #0154a0);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 40px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(1, 112, 201, 0.3);
    margin-top: 6px;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(1, 112, 201, 0.35);
}

.contact-submit-btn i {
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.contact-submit-btn:hover i {
    transform: translateX(3px);
}

/* Sidebar Cards */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-map-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #edf2f9;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.contact-map-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-map-card h3 i {
    color: var(--primary);
}

.map-placeholder {
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-bg);
}

.contact-why-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #edf2f9;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.contact-why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 22px;
}

.contact-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-why-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-why-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-why-list li strong {
    font-size: 0.95rem;
    color: var(--text-dark);
    display: block;
    margin-bottom: 2px;
}

.contact-why-list li p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.contact-social-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #edf2f9;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.contact-social-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.contact-social-links {
    display: flex;
    gap: 12px;
}

.contact-social-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gray-bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--border-light);
}

.contact-social-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(1, 112, 201, 0.25);
}

/* Contact Responsive */
@media (max-width: 1024px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 28px 24px;
    }

    .contact-form-modern .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-hero {
        padding: 60px 0;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-cards-section {
        margin-top: -30px;
    }
}

/* ===== ENHANCED FOOTER ===== */

.footer {
    background: #0b1e33;
    color: #e2e8f0;
    padding: 0;
    position: relative;
}

.footer-cta {
    background: #0f2742;
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-cta-label {
    color: #79b7ff;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 6px;
}

.footer-cta h3 {
    color: white;
    font-size: 1.65rem;
    margin-bottom: 6px;
    line-height: 1.25;
}

.footer-cta p {
    color: #cbd5f0;
    margin: 0;
    max-width: 36rem;
    line-height: 1.5;
}

.footer-cta-btn {
    background: #0170C9;
    color: white;
    padding: 14px 34px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    border: none;
}

.footer-cta-btn:hover {
    background: #0159a0;
}

.footer-top {
    padding: 44px 36px 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.3fr;
    gap: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #0170C9;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-col ul li a i {
    font-size: 0.7rem;
    color: #0170C9;
}

.footer-about p {
    color: #cbd5e1;
    margin-bottom: 22px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-about .footer-brand-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.footer-social a {
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
    font-size: 1.1rem;
    text-decoration: none;
}

.footer-social a:hover {
    background: #0170C9;
    color: white;
    transform: translateY(-3px);
    text-decoration: none;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    color: #cbd5e1;
}

.footer-contact-item i {
    color: #0170C9;
    margin-top: 4px;
}

.footer-newsletter p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    outline: none;
}

.newsletter-form button {
    background: #0170C9;
    border: none;
    color: white;
    padding: 0 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.newsletter-form button:hover {
    background: #0159a0;
}

.footer-bottom {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 28px;
}

.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: white;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-shell {
        padding: 34px 24px;
    }

    .about-info {
        max-width: 100%;
    }

    .about-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-image-wrapper::after {
        inset: 16px -14px -14px 16px;
    }

    .about-image-badge {
        right: 18px;
        bottom: 18px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 2.3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-heading {
        font-size: 2rem;
    }

    .about-image-main {
        height: 430px;
    }
}

@media (max-width: 560px) {
    .about-shell {
        padding: 28px 18px;
        border-radius: 24px;
    }

    .about-image-main {
        height: 360px;
        border-radius: 24px;
    }

    .about-image-wrapper::after {
        display: none;
    }

    .about-image-badge {
        position: static;
        width: 100%;
        margin-top: 16px;
    }

    .about-heading {
        font-size: 1.8rem;
    }

    .about-description {
        font-size: 0.98rem;
    }
}

/* Mobile footer adjustments */
@media (max-width: 768px) {
    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-cta-btn {
        width: 100%;
        align-self: stretch;
        justify-content: center;
    }

    .footer-top {
        padding: 28px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-col h4 {
        margin-bottom: 12px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input {
        border-radius: 12px;
    }

    .newsletter-form button {
        width: 100%;
        border-radius: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .footer-bottom-links {
        order: 1;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .footer-bottom p {
        order: 2;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact-item {
        align-items: center;
    }
}

/* ===== PRODUCT CARD LINK WRAPPER ===== */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.hero-breadcrumb {
    margin-bottom: 8px;
}

.hero-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.hero-breadcrumb a:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.detail-highlights {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.detail-highlight-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(1, 112, 201, 0.12);
}

.detail-highlight-item i {
    font-size: 1rem;
}

/* Product Table */
.product-table-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 48px;
}

.table-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 28px 32px 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.table-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.table-filters .table-search {
    min-width: 220px;
    flex: 1 1 200px;
}

.table-filters .table-search-wide {
    min-width: 280px;
    flex: 1 1 320px;
    max-width: 480px;
}

.table-header-bar .section-title {
    margin-bottom: 0;
    font-size: 1.6rem;
}

.table-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-bg);
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    min-width: 260px;
}

.table-search i {
    color: #94a3b8;
    font-size: 0.9rem;
}

.table-search input {
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    width: 100%;
}

.table-responsive {
    overflow-x: auto;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.product-table thead {
    background: #f1f5f9;
}

.product-table th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    white-space: nowrap;
    border-bottom: 2px solid var(--border-light);
}

.product-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-muted);
    vertical-align: middle;
}

.product-table td strong {
    color: var(--text-dark);
    font-weight: 600;
}

.product-table tbody tr {
    transition: background 0.15s;
}

.product-table tbody tr:hover {
    background: #f8faff;
}

.product-table tbody tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-instock {
    background: #ecfdf5;
    color: #059669;
}

.status-order {
    background: #fef3c7;
    color: #b45309;
}

.table-note {
    padding: 16px 32px 20px;
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #f1f5f9;
}

.table-note i {
    color: var(--primary);
}

@media (max-width: 768px) {
    .detail-highlights {
        flex-direction: column;
    }

    .table-header-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .table-search {
        min-width: 100%;
    }

    .table-filters .table-search-wide {
        max-width: none;
    }

    .product-table th,
    .product-table td {
        padding: 12px 14px;
        font-size: 0.82rem;
    }
}

/* Small-screen product-detail improvements: stack hero, compress headers, table -> card list */
@media (max-width: 480px) {
    .page-hero-min {
        padding: 18px 0;
    }

    .page-hero-min .page-hero-content {
        gap: 8px;
        text-align: left;
        align-items: flex-start;
    }

    .page-hero-min h1 {
        font-size: 1.4rem;
        margin-top: 6px;
    }

    .table-header-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
    }

    .table-search {
        min-width: 100%;
    }

    .product-table {
        border: none;
    }

    .product-table thead {
        display: none;
    }

    .product-table tbody tr {
        display: block;
        background: white;
        border-radius: 12px;
        padding: 12px 14px;
        margin-bottom: 12px;
        box-shadow: 0 8px 22px rgba(2, 6, 23, 0.06);
        border: 1px solid #eef2f6;
    }

    .product-table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: none;
    }

    .product-table td::before {
        color: #64748b;
        font-weight: 700;
        margin-right: 8px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .product-table td:nth-child(1)::before {
        content: '#';
    }

    .product-table td:nth-child(2)::before {
        content: 'Product';
    }

    .product-table td:nth-child(3)::before {
        content: 'Model';
    }

    .product-table td:nth-child(4)::before {
        content: 'Application';
    }

    .product-table td span {
        color: #0f172a;
        text-align: right;
        display: inline-block;
        max-width: 68%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Keep search and filters usable */
    .table-filters {
        width: 100%;
    }

    /* reduce footer spacing on very small screens */
    .footer-cta h3 {
        font-size: 1.2rem;
    }
}

/* Ensure buttons have no visible border or default focus outline; keep subtle focus ring for accessibility */
button,
.cta-primary,
.footer-cta-btn,
.contact-submit-btn,
.newsletter-form button {
    border: none !important;
    outline: none !important;
}

.cta-primary:focus,
.footer-cta-btn:focus,
.contact-submit-btn:focus,
.newsletter-form button:focus {
    box-shadow: 0 0 0 4px rgba(1, 112, 201, 0.08);
}

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

.site-main {
    min-height: 50vh;
}

.contact-form-status {
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 600;
}

.contact-form-status.is-success {
    color: #0f5132;
    background: #d1fae5;
}

.contact-form-status.is-error {
    color: #7f1d1d;
    background: #fee2e2;
}
